[INFO] cloning repository https://github.com/hacksafely/HTTP_SERVER
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hacksafely/HTTP_SERVER" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacksafely%2FHTTP_SERVER", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacksafely%2FHTTP_SERVER'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 72aaa2caf783145a04ca85d74582a7e232cc0735
[INFO] checking hacksafely/HTTP_SERVER against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacksafely%2FHTTP_SERVER" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hacksafely/HTTP_SERVER
[INFO] finished tweaking git repo https://github.com/hacksafely/HTTP_SERVER
[INFO] tweaked toml for git repo https://github.com/hacksafely/HTTP_SERVER written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hacksafely/HTTP_SERVER on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hacksafely/HTTP_SERVER 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3be5ad3d351266470143ec573f7767ed01a351e69f3777e0c05611751398366a
[INFO] running `Command { std: "docker" "start" "3be5ad3d351266470143ec573f7767ed01a351e69f3777e0c05611751398366a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3be5ad3d351266470143ec573f7767ed01a351e69f3777e0c05611751398366a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3be5ad3d351266470143ec573f7767ed01a351e69f3777e0c05611751398366a" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3be5ad3d351266470143ec573f7767ed01a351e69f3777e0c05611751398366a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3be5ad3d351266470143ec573f7767ed01a351e69f3777e0c05611751398366a" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking HTTP_SERVER v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/server.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/server.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/server.rs:64:24
[INFO] [stdout]    |
[INFO] [stdout] 64 |                     Ok(request) => {},
[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: `e`
[INFO] [stdout]   --> src/server.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Err(e) => println!("Failed to parse"),
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/http/method.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read
[INFO] [stdout]   --> src/http/request.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  8 |     path: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  9 |     query_string: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     method: Method,
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `HTTP_SERVER` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `http_server`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/server.rs:64:24
[INFO] [stdout]    |
[INFO] [stdout] 64 |                     Ok(request) => {},
[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: `e`
[INFO] [stdout]   --> src/server.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Err(e) => println!("Failed to parse"),
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/http/method.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read
[INFO] [stdout]   --> src/http/request.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  8 |     path: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  9 |     query_string: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     method: Method,
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `get`
[INFO] [stdout]  --> src/main.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let get = Method::GET;
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `GET`
[INFO] [stdout]   |
[INFO] [stdout] 5 -     let get = Method::GET;
[INFO] [stdout] 5 +     let HTTP_SERVER::http::Method::GET = Method::GET;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let _get = Method::GET;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delete`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let delete = Method::DELETE;
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `DELETE`
[INFO] [stdout]   |
[INFO] [stdout] 6 -     let delete = Method::DELETE;
[INFO] [stdout] 6 +     let HTTP_SERVER::http::Method::DELETE = Method::DELETE;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let _delete = Method::DELETE;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]  --> src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let post = Method::POST;
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `POST`
[INFO] [stdout]   |
[INFO] [stdout] 7 -     let post = Method::POST;
[INFO] [stdout] 7 +     let HTTP_SERVER::http::Method::POST = Method::POST;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let _post = Method::POST;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `put`
[INFO] [stdout]  --> src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let put = Method::PUT;
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `PUT`
[INFO] [stdout]   |
[INFO] [stdout] 8 -     let put = Method::PUT;
[INFO] [stdout] 8 +     let HTTP_SERVER::http::Method::PUT = Method::PUT;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let _put = Method::PUT;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `get`
[INFO] [stdout]  --> src/main.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let get = Method::GET;
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `GET`
[INFO] [stdout]   |
[INFO] [stdout] 5 -     let get = Method::GET;
[INFO] [stdout] 5 +     let HTTP_SERVER::http::Method::GET = Method::GET;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let _get = Method::GET;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delete`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let delete = Method::DELETE;
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `DELETE`
[INFO] [stdout]   |
[INFO] [stdout] 6 -     let delete = Method::DELETE;
[INFO] [stdout] 6 +     let HTTP_SERVER::http::Method::DELETE = Method::DELETE;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let _delete = Method::DELETE;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]  --> src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let post = Method::POST;
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `POST`
[INFO] [stdout]   |
[INFO] [stdout] 7 -     let post = Method::POST;
[INFO] [stdout] 7 +     let HTTP_SERVER::http::Method::POST = Method::POST;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let _post = Method::POST;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `put`
[INFO] [stdout]  --> src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let put = Method::PUT;
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `PUT`
[INFO] [stdout]   |
[INFO] [stdout] 8 -     let put = Method::PUT;
[INFO] [stdout] 8 +     let HTTP_SERVER::http::Method::PUT = Method::PUT;
[INFO] [stdout]   |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let _put = Method::PUT;
[INFO] [stdout]   |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "3be5ad3d351266470143ec573f7767ed01a351e69f3777e0c05611751398366a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3be5ad3d351266470143ec573f7767ed01a351e69f3777e0c05611751398366a", kill_on_drop: false }`
[INFO] [stdout] 3be5ad3d351266470143ec573f7767ed01a351e69f3777e0c05611751398366a
