[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#2cbf9c3ff35600794d69a7dc7ab399810a067910 for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahwuoc%2Flogingamenro_withrust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ahwuoc/logingamenro_withrust on toolchain 2cbf9c3ff35600794d69a7dc7ab399810a067910
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "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" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f46073a5c889423c19a7268b99cf8f6f6cf3bdb95bd35a91c53592d886773303
[INFO] running `Command { std: "docker" "start" "f46073a5c889423c19a7268b99cf8f6f6cf3bdb95bd35a91c53592d886773303", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f46073a5c889423c19a7268b99cf8f6f6cf3bdb95bd35a91c53592d886773303" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f46073a5c889423c19a7268b99cf8f6f6cf3bdb95bd35a91c53592d886773303", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f46073a5c889423c19a7268b99cf8f6f6cf3bdb95bd35a91c53592d886773303" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking rsa v0.9.9
[INFO] [stderr]     Checking winnow v0.7.13
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking anyhow v1.0.100
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 async-stream v0.3.6
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]    Compiling zerovec v0.11.5
[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]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling 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]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking tokio-test v0.4.4
[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: 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: 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: 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<i64> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn read_bool(&mut self) -> Result<bool> {
[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: 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<i64> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn read_bool(&mut self) -> Result<bool> {
[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 1m 16s
[INFO] running `Command { std: "docker" "inspect" "f46073a5c889423c19a7268b99cf8f6f6cf3bdb95bd35a91c53592d886773303", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f46073a5c889423c19a7268b99cf8f6f6cf3bdb95bd35a91c53592d886773303", kill_on_drop: false }`
[INFO] [stdout] f46073a5c889423c19a7268b99cf8f6f6cf3bdb95bd35a91c53592d886773303
