[INFO] cloning repository https://github.com/ahwuoc/logingamenro_withrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ahwuoc/logingamenro_withrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahwuoc%2Flogingamenro_withrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahwuoc%2Flogingamenro_withrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33ab264292f437c3bb160ec9b953bb60de1d4418 [INFO] checking ahwuoc/logingamenro_withrust against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahwuoc%2Flogingamenro_withrust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ahwuoc/logingamenro_withrust [INFO] finished tweaking git repo https://github.com/ahwuoc/logingamenro_withrust [INFO] tweaked toml for git repo https://github.com/ahwuoc/logingamenro_withrust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ahwuoc/logingamenro_withrust on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ahwuoc/logingamenro_withrust 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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae86622ff01205d87a3464f8e7117066ee7a962a0e9a82f9cfc9cb1d6d81ff56 [INFO] running `Command { std: "docker" "start" "-a" "ae86622ff01205d87a3464f8e7117066ee7a962a0e9a82f9cfc9cb1d6d81ff56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae86622ff01205d87a3464f8e7117066ee7a962a0e9a82f9cfc9cb1d6d81ff56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae86622ff01205d87a3464f8e7117066ee7a962a0e9a82f9cfc9cb1d6d81ff56", kill_on_drop: false }` [INFO] [stdout] ae86622ff01205d87a3464f8e7117066ee7a962a0e9a82f9cfc9cb1d6d81ff56 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed5cf81d98cc4be69b066319dde70df1dab8140bfe82c0702a4bc1643bd0c7cc [INFO] running `Command { std: "docker" "start" "-a" "ed5cf81d98cc4be69b066319dde70df1dab8140bfe82c0702a4bc1643bd0c7cc", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rsa v0.9.9 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking login_server_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io/session.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut data = if is_encrypted { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io/session.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut data = if is_encrypted { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 52 | / loop { [INFO] [stdout] 53 | | match listener.accept().await { [INFO] [stdout] 54 | | Ok((stream, addr)) => { [INFO] [stdout] 55 | | info!("Client {} connected !", &addr); [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 79 | [INFO] [stdout] 80 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 52 | / loop { [INFO] [stdout] 53 | | match listener.accept().await { [INFO] [stdout] 54 | | Ok((stream, addr)) => { [INFO] [stdout] 55 | | info!("Client {} connected !", &addr); [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 79 | [INFO] [stdout] 80 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/io/session.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | let (raw_cmd, raw_size_bytes, size, raw_data) = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/io/session.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | let (raw_cmd, raw_size_bytes, size, raw_data) = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISCONNECT` is never used [INFO] [stdout] --> src/command.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DISCONNECT: i8 = 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVER_MESSAGE` is never used [INFO] [stdout] --> src/command.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub const SERVER_MESSAGE: i8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPDATE_TIME_LOGOUT` is never used [INFO] [stdout] --> src/command.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub const UPDATE_TIME_LOGOUT: i8 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/db/mod.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DbManager { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_long` and `read_bool` are never used [INFO] [stdout] --> src/io/message.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Message { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn read_long(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn read_bool(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `server_message` and `update_time_logout` are never used [INFO] [stdout] --> src/io/service.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl Service { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn server_message(session: &mut Session, client_id: i32, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn update_time_logout(session: &mut Session, user_id: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `session_name`, and `server_id` are never read [INFO] [stdout] --> src/io/session.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub session_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | server_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_key_sent` is never used [INFO] [stdout] --> src/io/session.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Session { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn is_key_sent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `client_id` are never read [INFO] [stdout] --> src/model/user_manager.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UserInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub client_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISCONNECT` is never used [INFO] [stdout] --> src/command.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DISCONNECT: i8 = 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVER_MESSAGE` is never used [INFO] [stdout] --> src/command.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub const SERVER_MESSAGE: i8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPDATE_TIME_LOGOUT` is never used [INFO] [stdout] --> src/command.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub const UPDATE_TIME_LOGOUT: i8 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/db/mod.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DbManager { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_long` and `read_bool` are never used [INFO] [stdout] --> src/io/message.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Message { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn read_long(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn read_bool(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `server_message` and `update_time_logout` are never used [INFO] [stdout] --> src/io/service.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl Service { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn server_message(session: &mut Session, client_id: i32, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn update_time_logout(session: &mut Session, user_id: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `session_name`, and `server_id` are never read [INFO] [stdout] --> src/io/session.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub session_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | server_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_key_sent` is never used [INFO] [stdout] --> src/io/session.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Session { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn is_key_sent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `client_id` are never read [INFO] [stdout] --> src/model/user_manager.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UserInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub client_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.92s [INFO] running `Command { std: "docker" "inspect" "ed5cf81d98cc4be69b066319dde70df1dab8140bfe82c0702a4bc1643bd0c7cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed5cf81d98cc4be69b066319dde70df1dab8140bfe82c0702a4bc1643bd0c7cc", kill_on_drop: false }` [INFO] [stdout] ed5cf81d98cc4be69b066319dde70df1dab8140bfe82c0702a4bc1643bd0c7cc