[INFO] cloning repository https://github.com/Johnny1110/dummy_rust_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/Johnny1110/dummy_rust_http_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnny1110%2Fdummy_rust_http_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnny1110%2Fdummy_rust_http_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea6a6edc1d8d943c5814216fcf3f645c23955d2b [INFO] checking Johnny1110/dummy_rust_http_server against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnny1110%2Fdummy_rust_http_server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Johnny1110/dummy_rust_http_server on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Johnny1110/dummy_rust_http_server [INFO] finished tweaking git repo https://github.com/Johnny1110/dummy_rust_http_server [INFO] tweaked toml for git repo https://github.com/Johnny1110/dummy_rust_http_server written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Johnny1110/dummy_rust_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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92214b7cc0ab41fa4c4fc3431faaa366591f491c219830fd5cb9f30fa99905d3 [INFO] running `Command { std: "docker" "start" "-a" "92214b7cc0ab41fa4c4fc3431faaa366591f491c219830fd5cb9f30fa99905d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92214b7cc0ab41fa4c4fc3431faaa366591f491c219830fd5cb9f30fa99905d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92214b7cc0ab41fa4c4fc3431faaa366591f491c219830fd5cb9f30fa99905d3", kill_on_drop: false }` [INFO] [stdout] 92214b7cc0ab41fa4c4fc3431faaa366591f491c219830fd5cb9f30fa99905d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 806f5c30a91fa1636f7ba2bb09e9f736ca9de70a235abca69dddfed9004f869e [INFO] running `Command { std: "docker" "start" "-a" "806f5c30a91fa1636f7ba2bb09e9f736ca9de70a235abca69dddfed9004f869e", kill_on_drop: false }` [INFO] [stderr] Checking dummy_rust_http_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::str` [INFO] [stdout] --> src/cp/thread_pool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::str` [INFO] [stdout] --> src/cp/thread_pool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `host`, `headers`, and `body` are never read [INFO] [stdout] --> src/common/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub 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: associated function `BadRequest` is never used [INFO] [stdout] --> src/common/common.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl HttpResponse { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn BadRequest() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Ok` should have a snake case name [INFO] [stdout] --> src/common/common.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn Ok(body: String) -> Self { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ok` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NotFound` should have a snake case name [INFO] [stdout] --> src/common/common.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn NotFound() -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `not_found` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `BadRequest` should have a snake case name [INFO] [stdout] --> src/common/common.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn BadRequest() -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `bad_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `host`, `headers`, and `body` are never read [INFO] [stdout] --> src/common/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub 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: associated function `BadRequest` is never used [INFO] [stdout] --> src/common/common.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl HttpResponse { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn BadRequest() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Ok` should have a snake case name [INFO] [stdout] --> src/common/common.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn Ok(body: String) -> Self { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ok` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NotFound` should have a snake case name [INFO] [stdout] --> src/common/common.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn NotFound() -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `not_found` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `BadRequest` should have a snake case name [INFO] [stdout] --> src/common/common.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn BadRequest() -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `bad_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "806f5c30a91fa1636f7ba2bb09e9f736ca9de70a235abca69dddfed9004f869e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806f5c30a91fa1636f7ba2bb09e9f736ca9de70a235abca69dddfed9004f869e", kill_on_drop: false }` [INFO] [stdout] 806f5c30a91fa1636f7ba2bb09e9f736ca9de70a235abca69dddfed9004f869e