[INFO] cloning repository https://github.com/vkobinski/simple-http-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vkobinski/simple-http-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvkobinski%2Fsimple-http-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvkobinski%2Fsimple-http-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0dcd0063d99e692a3c2978b9c4428f75a7439c3f [INFO] checking vkobinski/simple-http-rust against master#0c478fdfe138a8b09744798c85fe2be657768b00 for pr-139419 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvkobinski%2Fsimple-http-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vkobinski/simple-http-rust on toolchain 0c478fdfe138a8b09744798c85fe2be657768b00 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vkobinski/simple-http-rust [INFO] finished tweaking git repo https://github.com/vkobinski/simple-http-rust [INFO] tweaked toml for git repo https://github.com/vkobinski/simple-http-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vkobinski/simple-http-rust 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" "+0c478fdfe138a8b09744798c85fe2be657768b00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8568dc4f0a454daaea579149b6f282ea7f940400a8f137cacad082c08f1f861a [INFO] running `Command { std: "docker" "start" "-a" "8568dc4f0a454daaea579149b6f282ea7f940400a8f137cacad082c08f1f861a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8568dc4f0a454daaea579149b6f282ea7f940400a8f137cacad082c08f1f861a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8568dc4f0a454daaea579149b6f282ea7f940400a8f137cacad082c08f1f861a", kill_on_drop: false }` [INFO] [stdout] 8568dc4f0a454daaea579149b6f282ea7f940400a8f137cacad082c08f1f861a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c59bb183e3ec150ffb373e27ed0ee9d027de38b9efc4bee8273f0d2ff1b9633d [INFO] running `Command { std: "docker" "start" "-a" "c59bb183e3ec150ffb373e27ed0ee9d027de38b9efc4bee8273f0d2ff1b9633d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking sql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use http::{response::IntoResponse, routes::{Method, Routes}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use http::{response::IntoResponse, routes::{Method, Routes}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AnyRoute` is more private than the item `Routes::routes` [INFO] [stdout] --> src/http/routes.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub routes : Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Routes::routes` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `AnyRoute` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/http/routes.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | trait AnyRoute { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `INTERNAL_SERVER_ERROR` is never used [INFO] [stdout] --> src/http/response.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 71 | impl StatusCode { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub const INTERNAL_SERVER_ERROR: StatusCode = StatusCode { code: 500, message: "Internal Server Error" }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotProcess` is never constructed [INFO] [stdout] --> src/http/routes.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum RouteError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 83 | CouldNotProcess [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpServer` is never constructed [INFO] [stdout] --> src/http/client.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct HttpServer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AnyRoute` is more private than the item `Routes::routes` [INFO] [stdout] --> src/http/routes.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub routes : Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Routes::routes` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `AnyRoute` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/http/routes.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | trait AnyRoute { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `INTERNAL_SERVER_ERROR` is never used [INFO] [stdout] --> src/http/response.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 71 | impl StatusCode { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub const INTERNAL_SERVER_ERROR: StatusCode = StatusCode { code: 500, message: "Internal Server Error" }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotProcess` is never constructed [INFO] [stdout] --> src/http/routes.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum RouteError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 83 | CouldNotProcess [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpServer` is never constructed [INFO] [stdout] --> src/http/client.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct HttpServer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.67s [INFO] running `Command { std: "docker" "inspect" "c59bb183e3ec150ffb373e27ed0ee9d027de38b9efc4bee8273f0d2ff1b9633d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c59bb183e3ec150ffb373e27ed0ee9d027de38b9efc4bee8273f0d2ff1b9633d", kill_on_drop: false }` [INFO] [stdout] c59bb183e3ec150ffb373e27ed0ee9d027de38b9efc4bee8273f0d2ff1b9633d