[INFO] cloning repository https://github.com/majidzahedi/simple-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/majidzahedi/simple-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajidzahedi%2Fsimple-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajidzahedi%2Fsimple-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bfc61d9bf7a7dd453a9cc753c221285017ac335 [INFO] checking majidzahedi/simple-http-server against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajidzahedi%2Fsimple-http-server" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/majidzahedi/simple-http-server [INFO] finished tweaking git repo https://github.com/majidzahedi/simple-http-server [INFO] tweaked toml for git repo https://github.com/majidzahedi/simple-http-server written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/majidzahedi/simple-http-server on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/majidzahedi/simple-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a96303d4a8608ef86f7a42577ceb1c5c8d30426ca1a40ae15a68aee993f193e [INFO] running `Command { std: "docker" "start" "-a" "6a96303d4a8608ef86f7a42577ceb1c5c8d30426ca1a40ae15a68aee993f193e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a96303d4a8608ef86f7a42577ceb1c5c8d30426ca1a40ae15a68aee993f193e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a96303d4a8608ef86f7a42577ceb1c5c8d30426ca1a40ae15a68aee993f193e", kill_on_drop: false }` [INFO] [stdout] 6a96303d4a8608ef86f7a42577ceb1c5c8d30426ca1a40ae15a68aee993f193e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6b36eccf35bfd2deece975a787584718cc81c7e4854f21866445459f6f1fec8 [INFO] running `Command { std: "docker" "start" "-a" "a6b36eccf35bfd2deece975a787584718cc81c7e4854f21866445459f6f1fec8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tcp-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `body` is never read [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut body = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `body` is never read [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut body = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method`, `version`, `headers`, and `body` are never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | path: String, [INFO] [stdout] 14 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 54 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 81 | _id: usize, [INFO] [stdout] 82 | thread: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method`, `version`, `headers`, and `body` are never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | path: String, [INFO] [stdout] 14 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 54 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 81 | _id: usize, [INFO] [stdout] 82 | thread: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "a6b36eccf35bfd2deece975a787584718cc81c7e4854f21866445459f6f1fec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b36eccf35bfd2deece975a787584718cc81c7e4854f21866445459f6f1fec8", kill_on_drop: false }` [INFO] [stdout] a6b36eccf35bfd2deece975a787584718cc81c7e4854f21866445459f6f1fec8