[INFO] cloning repository https://github.com/dhairyajoshi/httped
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhairyajoshi/httped" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhairyajoshi%2Fhttped", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhairyajoshi%2Fhttped'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b2fc5bd85dbe6215c55275943a87925554cdbdd
[INFO] checking dhairyajoshi/httped against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhairyajoshi%2Fhttped" "/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/dhairyajoshi/httped
[INFO] finished tweaking git repo https://github.com/dhairyajoshi/httped
[INFO] tweaked toml for git repo https://github.com/dhairyajoshi/httped written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dhairyajoshi/httped on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dhairyajoshi/httped 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.110
[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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7dbf34b2c833309e51ec59cae940e58305be0aec08d7fe4e5c486835712273c9
[INFO] running `Command { std: "docker" "start" "-a" "7dbf34b2c833309e51ec59cae940e58305be0aec08d7fe4e5c486835712273c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7dbf34b2c833309e51ec59cae940e58305be0aec08d7fe4e5c486835712273c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7dbf34b2c833309e51ec59cae940e58305be0aec08d7fe4e5c486835712273c9", kill_on_drop: false }`
[INFO] [stdout] 7dbf34b2c833309e51ec59cae940e58305be0aec08d7fe4e5c486835712273c9
[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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1294a754bac2415d2463f57f77e9b3ef13bb0bf58df2efc79142859e020392d1
[INFO] running `Command { std: "docker" "start" "-a" "1294a754bac2415d2463f57f77e9b3ef13bb0bf58df2efc79142859e020392d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking httped v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/middlewares/middleware.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn auth_middleware(request: &mut Request) -> MiddlewareResponse {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/middlewares/middleware.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn auth_middleware(request: &mut Request) -> MiddlewareResponse {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `headers` and `state` are never read
[INFO] [stdout]   --> src/http/request.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  8 |     pub headers: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]  9 |     pub body: Body,
[INFO] [stdout] 10 |     pub state: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/http/response.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Text(String),
[INFO] [stdout]   |     ---- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Body` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 -     Text(String),
[INFO] [stdout] 4 +     Text(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Response` is never constructed
[INFO] [stdout]   --> src/http/server.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum MiddlewareResponse {
[INFO] [stdout]    |          ------------------ variant in this enum
[INFO] [stdout] 13 |     Next(),
[INFO] [stdout] 14 |     Response(Response),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]   --> src/middlewares/middleware.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn auth_middleware(request: &mut Request) -> MiddlewareResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `headers` and `state` are never read
[INFO] [stdout]   --> src/http/request.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  8 |     pub headers: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]  9 |     pub body: Body,
[INFO] [stdout] 10 |     pub state: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/http/response.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Text(String),
[INFO] [stdout]   |     ---- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Body` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 -     Text(String),
[INFO] [stdout] 4 +     Text(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Response` is never constructed
[INFO] [stdout]   --> src/http/server.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum MiddlewareResponse {
[INFO] [stdout]    |          ------------------ variant in this enum
[INFO] [stdout] 13 |     Next(),
[INFO] [stdout] 14 |     Response(Response),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]   --> src/middlewares/middleware.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn auth_middleware(request: &mut Request) -> MiddlewareResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.16s
[INFO] running `Command { std: "docker" "inspect" "1294a754bac2415d2463f57f77e9b3ef13bb0bf58df2efc79142859e020392d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1294a754bac2415d2463f57f77e9b3ef13bb0bf58df2efc79142859e020392d1", kill_on_drop: false }`
[INFO] [stdout] 1294a754bac2415d2463f57f77e9b3ef13bb0bf58df2efc79142859e020392d1
