[INFO] fetching crate old-http 0.1.1-pre...
[INFO] checking old-http-0.1.1-pre against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate old-http 0.1.1-pre into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate old-http 0.1.1-pre on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 29 packages to latest compatible versions
[INFO] [stderr]       Adding openssl v0.2.18 (latest: v0.10.64)
[INFO] [stderr]       Adding openssl-sys v0.2.18 (latest: v0.9.102)
[INFO] [stderr]       Adding pkg-config v0.1.7 (latest: v0.3.30)
[INFO] [stderr]       Adding rand v0.3.23 (latest: v0.8.5)
[INFO] [stderr]       Adding rand v0.4.6 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_core v0.3.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_core v0.4.2 (latest: v0.6.4)
[INFO] [stderr]       Adding rdrand v0.4.0 (latest: v0.8.3)
[INFO] [stderr]       Adding remove_dir_all v0.5.3 (latest: v0.8.2)
[INFO] [stderr]       Adding same-file v0.1.3 (latest: v1.0.6)
[INFO] [stderr]       Adding time v0.1.45 (latest: v0.3.36)
[INFO] [stderr]       Adding url v0.2.38 (latest: v2.5.0)
[INFO] [stderr]       Adding uuid v0.1.18 (latest: v1.8.0)
[INFO] [stderr]       Adding walkdir v1.0.7 (latest: v2.5.0)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding winapi v0.2.8 (latest: v0.3.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid v0.1.18
[INFO] [stderr]   Downloaded url v0.2.38
[INFO] [stderr]   Downloaded openssl-sys v0.2.18
[INFO] [stderr]   Downloaded openssl v0.2.18
[INFO] [stderr]   Downloaded pkg-config v0.1.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 261d9b2d4b67df4cd2b391f0b5259fd1a22029307dcbbb049efa7a69afd06d8a
[INFO] running `Command { std: "docker" "start" "-a" "261d9b2d4b67df4cd2b391f0b5259fd1a22029307dcbbb049efa7a69afd06d8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "261d9b2d4b67df4cd2b391f0b5259fd1a22029307dcbbb049efa7a69afd06d8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "261d9b2d4b67df4cd2b391f0b5259fd1a22029307dcbbb049efa7a69afd06d8a", kill_on_drop: false }`
[INFO] [stdout] 261d9b2d4b67df4cd2b391f0b5259fd1a22029307dcbbb049efa7a69afd06d8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ba9df2c3022e823d9e082b70e0111e345c876ee36d34e833b3d1e8a30431fa7
[INFO] running `Command { std: "docker" "start" "-a" "9ba9df2c3022e823d9e082b70e0111e345c876ee36d34e833b3d1e8a30431fa7", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.1.7
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]    Compiling old-http v0.1.1-pre (/opt/rustwide/workdir)
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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: 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[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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: `box_syntax` has been removed
[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] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Ok(writer) => Box::new(writer) as Box<Writer>,
[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: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] warning: `#[macro_escape]` is a deprecated synonym for `#[macro_use]`
[INFO] [stdout]  --> codegen/branchify.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![macro_escape]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: try an outer attribute: `#[macro_use]`
[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[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/pkg-config-0.1.7/src/lib.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 |             dirs.push(Path::new(val));
[INFO] [stdout]    |                       ^^^^ use of undeclared type `Path`
[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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/pkg-config-0.1.7/src/lib.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let root = Path::new("/usr");
[INFO] [stdout]     |                ^^^^ use of undeclared type `Path`
[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[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]   = help: consider importing this struct instead:
[INFO] [stdout]           std::fs::File
[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[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[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]    |                          ^^^^ use of undeclared type `Path`
[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]    |                      ^^^^ use of undeclared type `Path`
[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]    |                                                                ^^^^^^ help: a trait with a similar name exists: `Write`
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/io/mod.rs:1538:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Write` defined here
[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]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/io/mod.rs:1538:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Write` defined here
[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] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> codegen/branchify.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     w!(format!("let (s, next_byte) = match {} {{", read_call));
[INFO] [stdout]     |     ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     w!(format!("    Ok(b) if {} => (\"\", b),", valid));
[INFO] [stdout]     |     --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     w!(       ("    Ok(_) => return Err(::std::io::IoError { kind: ::std::io::OtherIoError, desc: \"bad value\", detail: None }),"));
[INFO] [stdout]     |     -------------------------------------------------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     w!(       ("    Err(err) => return Err(err),"));
[INFO] [stdout]     |     ----------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     w!(       ("};"));
[INFO] [stdout]     |     ----------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     w!(       ("// OK, that didn't pan out. Let's read the rest and see what we get."));
[INFO] [stdout]     |     ----------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     w!(       ("let mut s = String::from_str(s);"));
[INFO] [stdout]     |     ----------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     w!(       ("s.push(next_byte as char);"));
[INFO] [stdout]     |     ----------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     w!(       ("loop {"));
[INFO] [stdout]     |     --------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     w!(format!("    match {} {{", read_call));
[INFO] [stdout]     |     ----------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     w!(format!("        Ok(b) if b == {} => return Ok({}),", end, unknown.replace("{}", "s")));
[INFO] [stdout]     |     ------------------------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     w!(format!("        Ok(b) if {} => {{", valid));
[INFO] [stdout]     |     ----------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     w!(format!("            if s.len() == {} {{", max_len));
[INFO] [stdout]     |     ------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     w!(       ("                // Too long; bad request"));
[INFO] [stdout]     |     ------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     w!(       ("                return Err(::std::io::IoError { kind: ::std::io::OtherIoError, desc: \"too long, bad request\", detail: None });"...
[INFO] [stdout]     |     ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     w!(       ("            }"));
[INFO] [stdout]     |     ---------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     w!(       ("            s.push(b as char);"));
[INFO] [stdout]     |     --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     w!(       ("        },"));
[INFO] [stdout]     |     ------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     w!(       ("        Ok(_) => return Err(::std::io::IoError { kind: ::std::io::OtherIoError, desc: \"bad value\", detail: None }),"));
[INFO] [stdout]     |     ------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     w!(       ("        Err(err) => return Err(err),"));
[INFO] [stdout]     |     --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     w!(       ("    }"));
[INFO] [stdout]     |     -------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |             ^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     w!(       ("}"));
[INFO] [stdout]     |     ---------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout] 98  |                 try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |             w!(format!("Ok(b'{}') => match {} {{", c as char, read_call));
[INFO] [stdout]     |             ------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout] 98  |                 try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |             w!(format!("    Ok(b) if {} => (\"{}\", b),", valid, next_prefix));
[INFO] [stdout]     |             ------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout] 98  |                 try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |             w!("    Ok(_) => return Err(::std::io::IoError { kind: ::std::io::OtherIoError, desc: \"bad value\", detail: None }),");
[INFO] [stdout]     |             ----------------------------------------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout] 98  |                 try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |             w!("    Err(err) => return Err(err),");
[INFO] [stdout]     |             -------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout] 98  |                 try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |             w!("},");
[INFO] [stdout]     |             -------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 try!(r(writer, b, next_prefix[], indent + 1, read_call, end, max_len, valid, unknown));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout] 98  |                 try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |                     w!(format!("    Ok(b' ') => return Ok({}),", *result)),
[INFO] [stdout]     |                     ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout] 98  |                   try!(write!(writer, "{}{}\n", indentstr, $s))
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |                   None => w!(format!("    Ok(b' ') => return Ok({}),",
[INFO] [stdout]     |  _________________________-
[INFO] [stdout] 111 | |                                   unknown.replace("{}", format!("String::from_str(\"{}\")", next_prefix)[]))),
[INFO] [stdout]     | |_____________________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/branchify.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         try!(r(writer, b, "", indent + 1, read_call, end, max_len, valid, unknown));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ascii::AsciiExt`
[INFO] [stdout]   --> codegen/status.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::ascii::AsciiExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     try!(out.write("// This file is automatically generated file is used as http::status.
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:185:5
[INFO] [stdout]     |
[INFO] [stdout] 185 |     try!(out.write("
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 202 |     try!(out.write("
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 |     try!(out.write("
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:238:5
[INFO] [stdout]     |
[INFO] [stdout] 238 |     try!(out.write("
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:177:33
[INFO] [stdout]     |
[INFO] [stdout] 177 |             Heading(heading) => try!(write!(out, "\n    // {}\n", heading)),
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 None => try!(write!(out, "    {},\n", status.ident())),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:180:34
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 Some(comment) => try!(write!(out, "    {},  // {}\n", status.ident(), comment)),
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:197:33
[INFO] [stdout]     |
[INFO] [stdout] 197 |             Heading(heading) => try!(write!(out, "\n            // {}\n", heading)),
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:198:31
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Status(status) => try!(write!(out, "            {} => {},\n",
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:213:33
[INFO] [stdout]     |
[INFO] [stdout] 213 |             Heading(heading) => try!(write!(out, "\n            // {}\n", heading)),
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:214:31
[INFO] [stdout]     |
[INFO] [stdout] 214 |             Status(status) => try!(write!(out, "            {} => String::from_str(\"{}\"),\n",
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:230:33
[INFO] [stdout]     |
[INFO] [stdout] 230 |             Heading(heading) => try!(write!(out, "\n            // {}\n", heading)),
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:231:31
[INFO] [stdout]     |
[INFO] [stdout] 231 |             Status(status) => try!(write!(out, "            ({}, \"{}\"){} => {},\n",
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:288:33
[INFO] [stdout]     |
[INFO] [stdout] 288 |             Heading(heading) => try!(write!(out, "\n            // {}\n", heading)),
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> codegen/status.rs:293:21
[INFO] [stdout]     |
[INFO] [stdout] 293 |                     try!(write!(out, "            {} => {},\n", status.code, status.ident()));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]  --> codegen/read_method.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     try!(writer.write(b"\
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> codegen/read_method.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     try!(generate_branchified_method(
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]   --> codegen/status.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::ascii::AsciiExt;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> codegen/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(macro_rules, slicing_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> codegen/main.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(macro_rules, slicing_syntax)]
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[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]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn get_writer(mut output_dir: Path, filename: &str) -> Box<dyn Writer + 'static> {
[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: aborting due to 35 previous errors; 56 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[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/index.crates.io-6f17d22bba15001f/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] [stderr] error: could not compile `old-http` (build script) due to 36 previous errors; 56 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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/index.crates.io-6f17d22bba15001f/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[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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 `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` (lib) due to 20 previous errors
[INFO] running `Command { std: "docker" "inspect" "9ba9df2c3022e823d9e082b70e0111e345c876ee36d34e833b3d1e8a30431fa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ba9df2c3022e823d9e082b70e0111e345c876ee36d34e833b3d1e8a30431fa7", kill_on_drop: false }`
[INFO] [stdout] 9ba9df2c3022e823d9e082b70e0111e345c876ee36d34e833b3d1e8a30431fa7
