[INFO] cloning repository https://github.com/emhagman/httpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emhagman/httpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femhagman%2Fhttpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femhagman%2Fhttpserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59405a37c7b753c61ca3c9834fe5ee2cc40e432c [INFO] checking emhagman/httpserver against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femhagman%2Fhttpserver" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emhagman/httpserver on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emhagman/httpserver [INFO] finished tweaking git repo https://github.com/emhagman/httpserver [INFO] tweaked toml for git repo https://github.com/emhagman/httpserver written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/emhagman/httpserver 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 635bc47aea5ed808026d2ff488446c903cf8ffaab590257b43d54e919b26788b [INFO] running `Command { std: "docker" "start" "-a" "635bc47aea5ed808026d2ff488446c903cf8ffaab590257b43d54e919b26788b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "635bc47aea5ed808026d2ff488446c903cf8ffaab590257b43d54e919b26788b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "635bc47aea5ed808026d2ff488446c903cf8ffaab590257b43d54e919b26788b", kill_on_drop: false }` [INFO] [stdout] 635bc47aea5ed808026d2ff488446c903cf8ffaab590257b43d54e919b26788b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10b67817e1a9248558b4d02851196ca45536754dee0c0617de339ccc7c43903d [INFO] running `Command { std: "docker" "start" "-a" "10b67817e1a9248558b4d02851196ca45536754dee0c0617de339ccc7c43903d", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking httpserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `HEAD`, `DELETE`, and `PATCH` are never constructed [INFO] [stdout] --> src/server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum HttpMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpMethod` 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: using `.clone()` on a double reference, which returns `&dyn for<'a, 'b> Fn(&'a HttpRequest<'b>) -> String + std::marker::Sync` instead of cloning the inner type [INFO] [stdout] --> src/server.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | func_ref_guard.get(&route).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HEAD`, `DELETE`, and `PATCH` are never constructed [INFO] [stdout] --> src/server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum HttpMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpMethod` 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: using `.clone()` on a double reference, which returns `&dyn for<'a, 'b> Fn(&'a HttpRequest<'b>) -> String + std::marker::Sync` instead of cloning the inner type [INFO] [stdout] --> src/server.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | func_ref_guard.get(&route).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/routes.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn fourohfor(req: &HttpRequest) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | server.get("/my-path", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | server.get("/sleep", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | server.post("/home", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ANY`, `HEAD`, `DELETE`, and `PATCH` are never constructed [INFO] [stdout] --> src/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum HttpMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | ANY, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpMethod` 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: method `any` is never used [INFO] [stdout] --> src/server.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> HttpServer<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn any(&mut self, path: &'static str, f: RouteRef) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&dyn for<'a, 'b> Fn(&'a HttpRequest<'b>) -> String + std::marker::Sync` instead of cloning the inner type [INFO] [stdout] --> src/server.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | func_ref_guard.get(&route).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/routes.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn fourohfor(req: &HttpRequest) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | server.get("/my-path", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | server.get("/sleep", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | server.post("/home", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ANY`, `HEAD`, `DELETE`, and `PATCH` are never constructed [INFO] [stdout] --> src/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum HttpMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | ANY, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpMethod` 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: method `any` is never used [INFO] [stdout] --> src/server.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> HttpServer<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn any(&mut self, path: &'static str, f: RouteRef) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&dyn for<'a, 'b> Fn(&'a HttpRequest<'b>) -> String + std::marker::Sync` instead of cloning the inner type [INFO] [stdout] --> src/server.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | func_ref_guard.get(&route).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.53s [INFO] running `Command { std: "docker" "inspect" "10b67817e1a9248558b4d02851196ca45536754dee0c0617de339ccc7c43903d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b67817e1a9248558b4d02851196ca45536754dee0c0617de339ccc7c43903d", kill_on_drop: false }` [INFO] [stdout] 10b67817e1a9248558b4d02851196ca45536754dee0c0617de339ccc7c43903d [INFO] checking emhagman/httpserver against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femhagman%2Fhttpserver" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emhagman/httpserver on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emhagman/httpserver [INFO] finished tweaking git repo https://github.com/emhagman/httpserver [INFO] tweaked toml for git repo https://github.com/emhagman/httpserver written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/emhagman/httpserver 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 538fdacfff918c3f18bb188baf5bcebc25d82ead938b45644837a0059104a53c [INFO] running `Command { std: "docker" "start" "-a" "538fdacfff918c3f18bb188baf5bcebc25d82ead938b45644837a0059104a53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "538fdacfff918c3f18bb188baf5bcebc25d82ead938b45644837a0059104a53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538fdacfff918c3f18bb188baf5bcebc25d82ead938b45644837a0059104a53c", kill_on_drop: false }` [INFO] [stdout] 538fdacfff918c3f18bb188baf5bcebc25d82ead938b45644837a0059104a53c [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ebfd142786fe79c5c58c118cf052c7b323e31a303a417cc1a0dd57bb50904d7 [INFO] running `Command { std: "docker" "start" "-a" "3ebfd142786fe79c5c58c118cf052c7b323e31a303a417cc1a0dd57bb50904d7", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking httpserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `HEAD`, `DELETE`, and `PATCH` are never constructed [INFO] [stdout] --> src/server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum HttpMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpMethod` 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: using `.clone()` on a double reference, which returns `&dyn for<'a, 'b> Fn(&'a HttpRequest<'b>) -> String + std::marker::Sync` instead of cloning the inner type [INFO] [stdout] --> src/server.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | func_ref_guard.get(&route).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HEAD`, `DELETE`, and `PATCH` are never constructed [INFO] [stdout] --> src/server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum HttpMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpMethod` 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: using `.clone()` on a double reference, which returns `&dyn for<'a, 'b> Fn(&'a HttpRequest<'b>) -> String + std::marker::Sync` instead of cloning the inner type [INFO] [stdout] --> src/server.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | func_ref_guard.get(&route).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/routes.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn fourohfor(req: &HttpRequest) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | server.get("/my-path", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | server.get("/sleep", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | server.post("/home", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ANY`, `HEAD`, `DELETE`, and `PATCH` are never constructed [INFO] [stdout] --> src/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum HttpMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | ANY, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpMethod` 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: method `any` is never used [INFO] [stdout] --> src/server.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> HttpServer<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn any(&mut self, path: &'static str, f: RouteRef) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&dyn for<'a, 'b> Fn(&'a HttpRequest<'b>) -> String + std::marker::Sync` instead of cloning the inner type [INFO] [stdout] --> src/server.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | func_ref_guard.get(&route).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/routes.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn fourohfor(req: &HttpRequest) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | server.get("/my-path", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | server.get("/sleep", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | server.post("/home", &|req| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ANY`, `HEAD`, `DELETE`, and `PATCH` are never constructed [INFO] [stdout] --> src/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum HttpMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | ANY, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpMethod` 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: method `any` is never used [INFO] [stdout] --> src/server.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> HttpServer<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn any(&mut self, path: &'static str, f: RouteRef) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&dyn for<'a, 'b> Fn(&'a HttpRequest<'b>) -> String + std::marker::Sync` instead of cloning the inner type [INFO] [stdout] --> src/server.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | func_ref_guard.get(&route).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.40s [INFO] running `Command { std: "docker" "inspect" "3ebfd142786fe79c5c58c118cf052c7b323e31a303a417cc1a0dd57bb50904d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebfd142786fe79c5c58c118cf052c7b323e31a303a417cc1a0dd57bb50904d7", kill_on_drop: false }` [INFO] [stdout] 3ebfd142786fe79c5c58c118cf052c7b323e31a303a417cc1a0dd57bb50904d7