[INFO] fetching crate old-http 0.1.1-pre...
[INFO] documenting old-http-0.1.1-pre against nightly for pr-99919
[INFO] extracting crate old-http 0.1.1-pre into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate old-http 0.1.1-pre on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate old-http 0.1.1-pre
[INFO] finished tweaking crates.io crate old-http 0.1.1-pre
[INFO] tweaked toml for crates.io crate old-http 0.1.1-pre written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded url v0.2.38
[INFO] [stderr]   Downloaded openssl v0.2.18
[INFO] [stderr]   Downloaded openssl-sys v0.2.18
[INFO] [stderr]   Downloaded pnacl-build-helper v1.4.11
[INFO] [stderr]   Downloaded libressl-pnacl-sys v2.1.6
[INFO] [stderr]   Downloaded pkg-config v0.1.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 99cb6dd1e65d6923dc2cc7330365b72a5f85b53e2ae1d63e80fe3e7d7becf865
[INFO] running `Command { std: "docker" "start" "-a" "99cb6dd1e65d6923dc2cc7330365b72a5f85b53e2ae1d63e80fe3e7d7becf865", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "99cb6dd1e65d6923dc2cc7330365b72a5f85b53e2ae1d63e80fe3e7d7becf865", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99cb6dd1e65d6923dc2cc7330365b72a5f85b53e2ae1d63e80fe3e7d7becf865", kill_on_drop: false }`
[INFO] [stdout] 99cb6dd1e65d6923dc2cc7330365b72a5f85b53e2ae1d63e80fe3e7d7becf865
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c125cb9b202f6b15733b9b87939d34f9fdc0756c355085a0f2cf47881afe5b59
[INFO] running `Command { std: "docker" "start" "-a" "c125cb9b202f6b15733b9b87939d34f9fdc0756c355085a0f2cf47881afe5b59", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.1.7
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]    Compiling old-http v0.1.1-pre (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70:60
[INFO] [stdout]    |
[INFO] [stdout] 70 |             if options.statik && !is_system_lib(val, &dirs[]) {
[INFO] [stdout]    |                                                            ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::old_io::fs::PathExtensions;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::old_io::Command;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     os::getenv("HOST") == os::getenv("TARGET") ||
[INFO] [stdout]   |         ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 |     os::getenv("HOST") == os::getenv("TARGET") ||
[INFO] [stdout]   |                               ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         os::getenv("PKG_CONFIG_ALLOW_CROSS") == Some("1".to_string())
[INFO] [stdout]    |             ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     if os::getenv(format!("{}_NO_PKG_CONFIG", envify(name)).as_slice()).is_some() {
[INFO] [stdout]    |            ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 |             dirs.push(Path::new(val));
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82:25
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let statik = if os::getenv(format!("{}_STATIC", name).as_slice()).is_some() {
[INFO] [stdout]    |                         ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |     } else if os::getenv(format!("{}_DYNAMIC", name).as_slice()).is_some() {
[INFO] [stdout]    |                   ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:86:19
[INFO] [stdout]    |
[INFO] [stdout] 86 |     } else if os::getenv("PKG_CONFIG_ALL_STATIC").is_some() {
[INFO] [stdout]    |                   ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |     } else if os::getenv("PKG_CONFIG_ALL_DYNAMIC").is_some() {
[INFO] [stdout]    |                   ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101:38
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn is_system_lib(name: &str, dirs: &[Path]) -> bool {
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   | use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let root = Path::new("/usr");
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   | use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{`
[INFO] [stdout]   --> codegen/main.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     spawn(proc() {
[INFO] [stdout]    |                 -^ expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: missing `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon
[INFO] [stdout]   --> codegen/branchify.rs:63:23
[INFO] [stdout]    |
[INFO] [stdout] 63 |   macro_rules! branchify(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 64 | |     (case sensitive, $($key:expr => $value:ident),*) => (
[INFO] [stdout] 65 | |         ::branchify::branchify(&[$(($key, stringify!($value))),*], true)
[INFO] [stdout] 66 | |     );
[INFO] [stdout] ...  |
[INFO] [stdout] 69 | |     );
[INFO] [stdout] 70 | | )
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout] help: change the delimiters to curly braces
[INFO] [stdout]    |
[INFO] [stdout] 63 ~ macro_rules! branchify{
[INFO] [stdout] 64 |     (case sensitive, $($key:expr => $value:ident),*) => (
[INFO] [stdout]  ...
[INFO] [stdout] 69 |     );
[INFO] [stdout] 70 + }
[INFO] [stdout]    |
[INFO] [stdout] help: add a semicolon
[INFO] [stdout]    |
[INFO] [stdout] 70 | );
[INFO] [stdout]    |  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon
[INFO] [stdout]    --> codegen/branchify.rs:96:24
[INFO] [stdout]     |
[INFO] [stdout] 96  |           macro_rules! w (
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 97  | |             ($s:expr) => {
[INFO] [stdout] 98  | |                 try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout] 99  | |             }
[INFO] [stdout] 100 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout] help: change the delimiters to curly braces
[INFO] [stdout]     |
[INFO] [stdout] 96  ~         macro_rules! w {
[INFO] [stdout] 97  |             ($s:expr) => {
[INFO] [stdout] 98  |                 try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout] 99  |             }
[INFO] [stdout] 100 ~         }
[INFO] [stdout]     |
[INFO] [stdout] help: add a semicolon
[INFO] [stdout]     |
[INFO] [stdout] 100 |         );
[INFO] [stdout]     |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon
[INFO] [stdout]    --> codegen/branchify.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 |       macro_rules! w (
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 122 | |         ($s:expr) => {
[INFO] [stdout] 123 | |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout] 124 | |         }
[INFO] [stdout] 125 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout] help: change the delimiters to curly braces
[INFO] [stdout]     |
[INFO] [stdout] 121 ~     macro_rules! w {
[INFO] [stdout] 122 |         ($s:expr) => {
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout] 124 |         }
[INFO] [stdout] 125 ~     }
[INFO] [stdout]     |
[INFO] [stdout] help: add a semicolon
[INFO] [stdout]     |
[INFO] [stdout] 125 |     );
[INFO] [stdout]     |      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> codegen/status.rs:45:49
[INFO] [stdout]    |
[INFO] [stdout] 45 |         s.push_str(self.reason_padding_spaces()[]);
[INFO] [stdout]    |                                                 ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> codegen/status.rs:60:18
[INFO] [stdout]    |
[INFO] [stdout] 60 |     for c in msg[].chars() {
[INFO] [stdout]    |                  ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23:61
[INFO] [stdout]    |
[INFO] [stdout] 23 |     if os::getenv(format!("{}_NO_PKG_CONFIG", envify(name)).as_slice()).is_some() {
[INFO] [stdout]    |                                                             ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]    --> codegen/branchify.rs:105:47
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 try!(r(writer, b, next_prefix[], indent + 1, read_call, end, max_len, valid, unknown));
[INFO] [stdout]     |                                               ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]    --> codegen/branchify.rs:111:106
[INFO] [stdout]     |
[INFO] [stdout] 111 | ...                   unknown.replace("{}", format!("String::from_str(\"{}\")", next_prefix)[]))),
[INFO] [stdout]     |                                                                                              ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::Truncate`
[INFO] [stdout]  --> codegen/main.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{File, Truncate, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^^^^ no `Truncate` in `io`
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult`
[INFO] [stdout]  --> codegen/branchify.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::IoResult;
[INFO] [stdout]   |     ^^^^^^^^^--------
[INFO] [stdout]   |     |        |
[INFO] [stdout]   |     |        help: a similar name exists in the module: `Result`
[INFO] [stdout]   |     no `IoResult` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult`
[INFO] [stdout]   --> codegen/status.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::io::IoResult;
[INFO] [stdout]    |     ^^^^^^^^^--------
[INFO] [stdout]    |     |        |
[INFO] [stdout]    |     |        help: a similar name exists in the module: `Result`
[INFO] [stdout]    |     no `IoResult` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult`
[INFO] [stdout]  --> codegen/read_method.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::IoResult;
[INFO] [stdout]   |     ^^^^^^^^^--------
[INFO] [stdout]   |     |        |
[INFO] [stdout]   |     |        help: a similar name exists in the module: `Result`
[INFO] [stdout]   |     no `IoResult` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]  --> codegen/branchify.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[deriving(Clone)]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82:59
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let statik = if os::getenv(format!("{}_STATIC", name).as_slice()).is_some() {
[INFO] [stdout]    |                                                           ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84:54
[INFO] [stdout]    |
[INFO] [stdout] 84 |     } else if os::getenv(format!("{}_DYNAMIC", name).as_slice()).is_some() {
[INFO] [stdout]    |                                                      ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ToUppercase`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:57
[INFO] [stdout]    |
[INFO] [stdout] 97 |     name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c})
[INFO] [stdout]    |                                                       - ^^ --- char
[INFO] [stdout]    |                                                       |
[INFO] [stdout]    |                                                       ToUppercase
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope
[INFO] [stdout]   --> codegen/branchify.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |         writer: &mut Writer,
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> codegen/branchify.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |         indent: uint,
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope
[INFO] [stdout]   --> codegen/branchify.rs:93:23
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn r(writer: &mut Writer, branch: &ParseBranch, prefix: &str, indent: uint, read_call: &str,
[INFO] [stdout]    |                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> codegen/branchify.rs:93:75
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn r(writer: &mut Writer, branch: &ParseBranch, prefix: &str, indent: uint, read_call: &str,
[INFO] [stdout]    |                                                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> codegen/status.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 |     code: uint,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> codegen/status.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn status_c(code: uint, reason: &'static str, comment: &'static str) -> HeadingOrStatus {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> codegen/status.rs:34:19
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn status_n(code: uint, reason: &'static str) -> HeadingOrStatus {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> codegen/status.rs:74:27
[INFO] [stdout]    |
[INFO] [stdout] 74 | static mut longest_ident: uint = 0;
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> codegen/status.rs:75:28
[INFO] [stdout]    |
[INFO] [stdout] 75 | static mut longest_reason: uint = 0;
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> codegen/status.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn generate(output_dir: Path) -> IoResult<()> {
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]  --> codegen/read_method.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn generate(output_dir: Path) -> IoResult<()> {
[INFO] [stdout]   |                             ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope
[INFO] [stdout]   --> codegen/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     spawn(proc() {
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::thread::spawn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `proc` in this scope
[INFO] [stdout]   --> codegen/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     spawn(proc() {
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> codegen/main.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let output_dir = Path::new(os::getenv("OUT_DIR").unwrap());
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> codegen/main.rs:12:40
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let output_dir = Path::new(os::getenv("OUT_DIR").unwrap());
[INFO] [stdout]    |                                        ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> codegen/main.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let output_dir = Path::new(os::getenv("OUT_DIR").unwrap());
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> codegen/main.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let output_dir = Path::new(os::getenv("OUT_DIR").unwrap());
[INFO] [stdout]    |                                    ^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> codegen/main.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box<Writer + 'static> {
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope
[INFO] [stdout]   --> codegen/main.rs:20:64
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box<Writer + 'static> {
[INFO] [stdout]    |                                                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box<Write + 'static> {
[INFO] [stdout]    |                                                                ~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn get_writer<Writer>(mut output_dir: Path, filename: &str) -> Box<Writer + 'static> {
[INFO] [stdout]    |                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found trait `Write`
[INFO] [stdout]   --> codegen/main.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 |     match File::open_mode(&output_dir, Truncate, Write) {
[INFO] [stdout]    |                                                  ^^^^^ not a value
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::net::Shutdown::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope
[INFO] [stdout]   --> codegen/main.rs:23:41
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Ok(writer) => box writer as Box<Writer>,
[INFO] [stdout]    |                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Ok(writer) => box writer as Box<Write>,
[INFO] [stdout]    |                                         ~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn get_writer<Writer>(mut output_dir: Path, filename: &str) -> Box<Writer + 'static> {
[INFO] [stdout]    |                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead
[INFO] [stdout]   --> codegen/main.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Ok(writer) => box writer as Box<Writer>,
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[INFO] [stdout]    = help: add `#![feature(box_syntax)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 35 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `old-http` due to 36 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:76
[INFO] [stdout]    |
[INFO] [stdout] 97 |     name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c})
[INFO] [stdout]    |                                                                 ---        ^ expected `char`, found struct `ToUppercase`
[INFO] [stdout]    |                                                                 |
[INFO] [stdout]    |                                                                 expected because of this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pkg-config` due to 20 previous errors
[INFO] running `Command { std: "docker" "inspect" "c125cb9b202f6b15733b9b87939d34f9fdc0756c355085a0f2cf47881afe5b59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c125cb9b202f6b15733b9b87939d34f9fdc0756c355085a0f2cf47881afe5b59", kill_on_drop: false }`
[INFO] [stdout] c125cb9b202f6b15733b9b87939d34f9fdc0756c355085a0f2cf47881afe5b59
