[INFO] cloning repository https://github.com/zezelo/rs-zezelo-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zezelo/rs-zezelo-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzezelo%2Frs-zezelo-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzezelo%2Frs-zezelo-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 186b376cfcecfdc59531c0d78af902841262f63c [INFO] testing zezelo/rs-zezelo-bot against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzezelo%2Frs-zezelo-bot" "/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/zezelo/rs-zezelo-bot [INFO] finished tweaking git repo https://github.com/zezelo/rs-zezelo-bot [INFO] tweaked toml for git repo https://github.com/zezelo/rs-zezelo-bot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zezelo/rs-zezelo-bot on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zezelo/rs-zezelo-bot 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c33c56fd2c0fd05d8f8a5423ca2e26b613d96642fc4b7d11d55fefa1688a7331 [INFO] running `Command { std: "docker" "start" "-a" "c33c56fd2c0fd05d8f8a5423ca2e26b613d96642fc4b7d11d55fefa1688a7331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c33c56fd2c0fd05d8f8a5423ca2e26b613d96642fc4b7d11d55fefa1688a7331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c33c56fd2c0fd05d8f8a5423ca2e26b613d96642fc4b7d11d55fefa1688a7331", kill_on_drop: false }` [INFO] [stdout] c33c56fd2c0fd05d8f8a5423ca2e26b613d96642fc4b7d11d55fefa1688a7331 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d7d7ae5e4c8d535d10ac70a98e140115a07031ec3edc1e4bd1c49f7bae404df [INFO] running `Command { std: "docker" "start" "-a" "1d7d7ae5e4c8d535d10ac70a98e140115a07031ec3edc1e4bd1c49f7bae404df", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling sea-orm-macros v1.1.10 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sea-query v0.32.4 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.5 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-orm v1.1.10 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/core/structs/environment.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/commands/history.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | if (size == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (size == 0) { [INFO] [stdout] 84 + if size == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::enums::discord` [INFO] [stdout] --> src/core/enums/prelude.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::enums::discord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infrastructure/interaction.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut state = &mut self.state.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/infrastructure/interaction.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Handler { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 18 | pub state: Arc>>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_state` and `remove` are never used [INFO] [stdout] --> src/infrastructure/interaction.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 21 | impl Handler { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 22 | async fn add_state(&mut self, custom_id: String, value: Box) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | async fn remove(&mut self, key: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TCommonRepository` is never used [INFO] [stdout] --> src/core/traits/common_repository.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait TCommonRepository {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "1d7d7ae5e4c8d535d10ac70a98e140115a07031ec3edc1e4bd1c49f7bae404df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d7d7ae5e4c8d535d10ac70a98e140115a07031ec3edc1e4bd1c49f7bae404df", kill_on_drop: false }` [INFO] [stdout] 1d7d7ae5e4c8d535d10ac70a98e140115a07031ec3edc1e4bd1c49f7bae404df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b32bb5d74ce221cf4f3169d3759ebba1af8daefeb30a213df86a56e8543b79b [INFO] running `Command { std: "docker" "start" "-a" "7b32bb5d74ce221cf4f3169d3759ebba1af8daefeb30a213df86a56e8543b79b", kill_on_drop: false }` [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/core/structs/environment.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/commands/history.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | if (size == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (size == 0) { [INFO] [stdout] 84 + if size == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::enums::discord` [INFO] [stdout] --> src/core/enums/prelude.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::enums::discord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infrastructure/interaction.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut state = &mut self.state.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/infrastructure/interaction.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Handler { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 18 | pub state: Arc>>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_state` and `remove` are never used [INFO] [stdout] --> src/infrastructure/interaction.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 21 | impl Handler { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 22 | async fn add_state(&mut self, custom_id: String, value: Box) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | async fn remove(&mut self, key: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TCommonRepository` is never used [INFO] [stdout] --> src/core/traits/common_repository.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait TCommonRepository {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "7b32bb5d74ce221cf4f3169d3759ebba1af8daefeb30a213df86a56e8543b79b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b32bb5d74ce221cf4f3169d3759ebba1af8daefeb30a213df86a56e8543b79b", kill_on_drop: false }` [INFO] [stdout] 7b32bb5d74ce221cf4f3169d3759ebba1af8daefeb30a213df86a56e8543b79b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b934e65d4b9e7436b9f81e2919042196904a4dfe73e6b121907b2d314c9c69b [INFO] running `Command { std: "docker" "start" "-a" "8b934e65d4b9e7436b9f81e2919042196904a4dfe73e6b121907b2d314c9c69b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/core/structs/environment.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/core/commands/history.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | if (size == 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 84 - if (size == 0) { [INFO] [stderr] 84 + if size == 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::core::enums::discord` [INFO] [stderr] --> src/core/enums/prelude.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::core::enums::discord; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/infrastructure/interaction.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let mut state = &mut self.state.lock().await; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `state` is never read [INFO] [stderr] --> src/infrastructure/interaction.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Handler { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 18 | pub state: Arc>>>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `add_state` and `remove` are never used [INFO] [stderr] --> src/infrastructure/interaction.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 21 | impl Handler { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] 22 | async fn add_state(&mut self, custom_id: String, value: Box) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | async fn remove(&mut self, key: String) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `TCommonRepository` is never used [INFO] [stderr] --> src/core/traits/common_repository.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait TCommonRepository {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `backend` (bin "backend" test) generated 7 warnings (run `cargo fix --bin "backend" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/backend-d7558c4ba8a1bf77) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b934e65d4b9e7436b9f81e2919042196904a4dfe73e6b121907b2d314c9c69b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b934e65d4b9e7436b9f81e2919042196904a4dfe73e6b121907b2d314c9c69b", kill_on_drop: false }` [INFO] [stdout] 8b934e65d4b9e7436b9f81e2919042196904a4dfe73e6b121907b2d314c9c69b