[INFO] cloning repository https://github.com/JasonYANG170/http
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JasonYANG170/http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasonYANG170%2Fhttp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasonYANG170%2Fhttp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 93dce95c5d32d6503e3103fde82e9a2816169fc2
[INFO] checking JasonYANG170/http against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasonYANG170%2Fhttp" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JasonYANG170/http
[INFO] finished tweaking git repo https://github.com/JasonYANG170/http
[INFO] tweaked toml for git repo https://github.com/JasonYANG170/http written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JasonYANG170/http on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JasonYANG170/http already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef661782801247f4111d6b519aea7ec70f6578ba7d88ef98a553ccc22c48f6e8
[INFO] running `Command { std: "docker" "start" "-a" "ef661782801247f4111d6b519aea7ec70f6578ba7d88ef98a553ccc22c48f6e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef661782801247f4111d6b519aea7ec70f6578ba7d88ef98a553ccc22c48f6e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef661782801247f4111d6b519aea7ec70f6578ba7d88ef98a553ccc22c48f6e8", kill_on_drop: false }`
[INFO] [stdout] ef661782801247f4111d6b519aea7ec70f6578ba7d88ef98a553ccc22c48f6e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2dad2b01469b178073ee7551cc665a1d8abfbe87379c7864bc71c590a6584c38
[INFO] running `Command { std: "docker" "start" "-a" "2dad2b01469b178073ee7551cc665a1d8abfbe87379c7864bc71c590a6584c38", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking http v0.1.0 (/opt/rustwide/workdir/http)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> http/src/request.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut method = Method::UNINITIALIZED;
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> http/src/request.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut version = Version::V1_1;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> http/src/request.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut resource = Resource::Path("".to_string());
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> http/src/request.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut method = Method::UNINITIALIZED;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> http/src/request.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut version = Version::V1_1;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> http/src/request.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut resource = Resource::Path("".to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> http/src/request.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut first = first.unwrap();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> http/src/request.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut method = Method::UNINITIALIZED;
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> http/src/request.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut version = Version::V1_1;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> http/src/request.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut resource = Resource::Path("".to_string());
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> http/src/request.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut method = Method::UNINITIALIZED;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Url` is never constructed
[INFO] [stdout]   --> http/src/request.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Url {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> http/src/request.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut version = Version::V1_1;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> http/src/request.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut resource = Resource::Path("".to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `protocol`, `address`, `port`, and `path` are never read
[INFO] [stdout]   --> http/src/request.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Url {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 56 |     protocol: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 57 |     address: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 58 |     port: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 59 |     path: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `version`, `resource`, `headers`, and `body` are never read
[INFO] [stdout]   --> http/src/request.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 65 |     method: Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 66 |     version: Version,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 67 |     resource: Resource,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     headers: HashMap<String,String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 69 |     body: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> http/src/request.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut first = first.unwrap();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Url` is never constructed
[INFO] [stdout]   --> http/src/request.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Url {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `protocol`, `address`, `port`, and `path` are never read
[INFO] [stdout]   --> http/src/request.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Url {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 56 |     protocol: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 57 |     address: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 58 |     port: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 59 |     path: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `version`, `resource`, `headers`, and `body` are never read
[INFO] [stdout]   --> http/src/request.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 65 |     method: Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 66 |     version: Version,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 67 |     resource: Resource,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     headers: HashMap<String,String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 69 |     body: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> http/src/response.rs:59:2
[INFO] [stdout]    |
[INFO] [stdout] 59 |     write!(stream,"{}",response);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let _ = write!(stream,"{}",response);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `http` (lib test) due to 1 previous error; 10 warnings emitted
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> http/src/response.rs:59:2
[INFO] [stdout]    |
[INFO] [stdout] 59 |     write!(stream,"{}",response);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let _ = write!(stream,"{}",response);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `http` (lib) due to 1 previous error; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2dad2b01469b178073ee7551cc665a1d8abfbe87379c7864bc71c590a6584c38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2dad2b01469b178073ee7551cc665a1d8abfbe87379c7864bc71c590a6584c38", kill_on_drop: false }`
[INFO] [stdout] 2dad2b01469b178073ee7551cc665a1d8abfbe87379c7864bc71c590a6584c38
