[INFO] cloning repository https://github.com/jiangzihan/template_actix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiangzihan/template_actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiangzihan%2Ftemplate_actix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiangzihan%2Ftemplate_actix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 30fbce6fe34a5069d64e974741be318ee4a2ade3
[INFO] building jiangzihan/template_actix against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiangzihan%2Ftemplate_actix" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jiangzihan/template_actix
[INFO] finished tweaking git repo https://github.com/jiangzihan/template_actix
[INFO] tweaked toml for git repo https://github.com/jiangzihan/template_actix written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jiangzihan/template_actix on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jiangzihan/template_actix 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded actix-ws v0.3.0
[INFO] [stderr]   Downloaded actix-session v0.10.1
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 958f3f3f87a3484e0a046a89f4474139061e71b1683eaa50b02b89cb2b5cb5ae
[INFO] running `Command { std: "docker" "start" "-a" "958f3f3f87a3484e0a046a89f4474139061e71b1683eaa50b02b89cb2b5cb5ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "958f3f3f87a3484e0a046a89f4474139061e71b1683eaa50b02b89cb2b5cb5ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "958f3f3f87a3484e0a046a89f4474139061e71b1683eaa50b02b89cb2b5cb5ae", kill_on_drop: false }`
[INFO] [stdout] 958f3f3f87a3484e0a046a89f4474139061e71b1683eaa50b02b89cb2b5cb5ae
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7f770f68eb25cee3aa55bfa3d3d7133c2a9cf2ae8db8ba6b6b51225c6efda536
[INFO] running `Command { std: "docker" "start" "-a" "7f770f68eb25cee3aa55bfa3d3d7133c2a9cf2ae8db8ba6b6b51225c6efda536", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling once_cell v1.20.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling base64 v0.20.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cc v1.1.22
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling webpki v0.22.4
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling actix-server v2.5.0
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling actix-tls v3.4.0
[INFO] [stderr]    Compiling actix-http v3.9.0
[INFO] [stderr]    Compiling actix-web v4.9.0
[INFO] [stderr]    Compiling actix-cors v0.7.0
[INFO] [stderr]    Compiling actix-ws v0.3.0
[INFO] [stderr]    Compiling actix-session v0.10.1
[INFO] [stderr]    Compiling template_actix v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/endpoint.rs:1:63
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{cookie::Key, dev, http::{header, StatusCode}, web, App, HttpServer, Result};
[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: `StatusCode`
[INFO] [stdout]  --> src/endpoint/metrics.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::http::{header, StatusCode};
[INFO] [stdout]   |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/endpoint/ws.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 |     cfg.route("/ws", web::get().to(echo));;
[INFO] [stdout]   |                                           ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpRequest`, `HttpResponse`, `HttpServer`, `Responder`, `Result`, `get`, `post`, and `web`
[INFO] [stdout]  --> src/controller/core.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{get, post, web, App, HttpRequest, HttpResponse, HttpServer, Responder, Result};
[INFO] [stdout]   |                 ^^^  ^^^^  ^^^  ^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/controller/core.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/endpoint/metrics.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub async fn index(request: HttpRequest) -> impl Responder {
[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: `hdr`
[INFO] [stdout]   --> src/endpoint/metrics.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     if let Some(hdr) = req.headers().get(header::CONTENT_TYPE) {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_hdr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/endpoint/metrics.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | async fn handler(req: HttpRequest) -> HttpResponse {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ok` is never constructed
[INFO] [stdout]  --> src/errcode/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum ErrorCodes {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 7 |     Ok = 10000,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ErrorCodes` 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 1m 02s
[INFO] running `Command { std: "docker" "inspect" "7f770f68eb25cee3aa55bfa3d3d7133c2a9cf2ae8db8ba6b6b51225c6efda536", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f770f68eb25cee3aa55bfa3d3d7133c2a9cf2ae8db8ba6b6b51225c6efda536", kill_on_drop: false }`
[INFO] [stdout] 7f770f68eb25cee3aa55bfa3d3d7133c2a9cf2ae8db8ba6b6b51225c6efda536
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17aabb2cc6c027240e21bdcb358b7c3f513b96091691d81b4e85c01a40c67abc
[INFO] running `Command { std: "docker" "start" "-a" "17aabb2cc6c027240e21bdcb358b7c3f513b96091691d81b4e85c01a40c67abc", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/endpoint.rs:1:63
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{cookie::Key, dev, http::{header, StatusCode}, web, App, HttpServer, Result};
[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: `StatusCode`
[INFO] [stdout]  --> src/endpoint/metrics.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::http::{header, StatusCode};
[INFO] [stdout]   |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/endpoint/ws.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 |     cfg.route("/ws", web::get().to(echo));;
[INFO] [stdout]   |                                           ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpRequest`, `HttpResponse`, `HttpServer`, `Responder`, `Result`, `get`, `post`, and `web`
[INFO] [stdout]  --> src/controller/core.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{get, post, web, App, HttpRequest, HttpResponse, HttpServer, Responder, Result};
[INFO] [stdout]   |                 ^^^  ^^^^  ^^^  ^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/controller/core.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/endpoint/metrics.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub async fn index(request: HttpRequest) -> impl Responder {
[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: `hdr`
[INFO] [stdout]   --> src/endpoint/metrics.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     if let Some(hdr) = req.headers().get(header::CONTENT_TYPE) {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_hdr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/endpoint/metrics.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | async fn handler(req: HttpRequest) -> HttpResponse {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ok` is never constructed
[INFO] [stdout]  --> src/errcode/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum ErrorCodes {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 7 |     Ok = 10000,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ErrorCodes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling template_actix v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/endpoint.rs:1:63
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{cookie::Key, dev, http::{header, StatusCode}, web, App, HttpServer, Result};
[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: `StatusCode`
[INFO] [stdout]  --> src/endpoint/metrics.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::http::{header, StatusCode};
[INFO] [stdout]   |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StatusCode` and `self`
[INFO] [stdout]   --> src/endpoint/metrics.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 47 |         http::{self, header::ContentType, StatusCode},
[INFO] [stdout]    |                ^^^^                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]   --> src/endpoint/metrics.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use serde_json::Value;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/endpoint/ws.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 |     cfg.route("/ws", web::get().to(echo));;
[INFO] [stdout]   |                                           ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpRequest`, `HttpResponse`, `HttpServer`, `Responder`, `Result`, `get`, `post`, and `web`
[INFO] [stdout]  --> src/controller/core.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{get, post, web, App, HttpRequest, HttpResponse, HttpServer, Responder, Result};
[INFO] [stdout]   |                 ^^^  ^^^^  ^^^  ^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/controller/core.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hdr`
[INFO] [stdout]  --> tests/test_check.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     if let Some(hdr) = req.headers().get(header::CONTENT_TYPE) {
[INFO] [stdout]   |                 ^^^ help: if this is intentional, prefix it with an underscore: `_hdr`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpMessage`
[INFO] [stdout]  --> tests/test_check.rs:1:50
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{test, HttpRequest, HttpResponse, HttpMessage};
[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/endpoint/metrics.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub async fn index(request: HttpRequest) -> impl Responder {
[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: `hdr`
[INFO] [stdout]   --> src/endpoint/metrics.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     if let Some(hdr) = req.headers().get(header::CONTENT_TYPE) {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_hdr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ok` is never constructed
[INFO] [stdout]  --> src/errcode/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum ErrorCodes {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 7 |     Ok = 10000,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ErrorCodes` 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.89s
[INFO] running `Command { std: "docker" "inspect" "17aabb2cc6c027240e21bdcb358b7c3f513b96091691d81b4e85c01a40c67abc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17aabb2cc6c027240e21bdcb358b7c3f513b96091691d81b4e85c01a40c67abc", kill_on_drop: false }`
[INFO] [stdout] 17aabb2cc6c027240e21bdcb358b7c3f513b96091691d81b4e85c01a40c67abc
