[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#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [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 c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecf9c2b9edd1492300505dbb2ba8b1051329a8210205fbce360ffb0ef1852b2a [INFO] running `Command { std: "docker" "start" "-a" "ecf9c2b9edd1492300505dbb2ba8b1051329a8210205fbce360ffb0ef1852b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecf9c2b9edd1492300505dbb2ba8b1051329a8210205fbce360ffb0ef1852b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf9c2b9edd1492300505dbb2ba8b1051329a8210205fbce360ffb0ef1852b2a", kill_on_drop: false }` [INFO] [stdout] ecf9c2b9edd1492300505dbb2ba8b1051329a8210205fbce360ffb0ef1852b2a [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f06bec2e37066220d125c87e242b3b443f6f953931ea1451c28cc627222bb2eb [INFO] running `Command { std: "docker" "start" "-a" "f06bec2e37066220d125c87e242b3b443f6f953931ea1451c28cc627222bb2eb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling sea-orm-macros v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling sea-query v0.32.4 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 27s [INFO] running `Command { std: "docker" "inspect" "f06bec2e37066220d125c87e242b3b443f6f953931ea1451c28cc627222bb2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06bec2e37066220d125c87e242b3b443f6f953931ea1451c28cc627222bb2eb", kill_on_drop: false }` [INFO] [stdout] f06bec2e37066220d125c87e242b3b443f6f953931ea1451c28cc627222bb2eb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bf3f3633769276f7b0ba9035c6ecc282914b948119db3ed73aa1a182988600d [INFO] running `Command { std: "docker" "start" "-a" "5bf3f3633769276f7b0ba9035c6ecc282914b948119db3ed73aa1a182988600d", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 6.79s [INFO] running `Command { std: "docker" "inspect" "5bf3f3633769276f7b0ba9035c6ecc282914b948119db3ed73aa1a182988600d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf3f3633769276f7b0ba9035c6ecc282914b948119db3ed73aa1a182988600d", kill_on_drop: false }` [INFO] [stdout] 5bf3f3633769276f7b0ba9035c6ecc282914b948119db3ed73aa1a182988600d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 55e2621874598a4adc2b2554798f1797d5b348c5d170f56245daa6cd826f2f68 [INFO] running `Command { std: "docker" "start" "-a" "55e2621874598a4adc2b2554798f1797d5b348c5d170f56245daa6cd826f2f68", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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" -p backend --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [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" "55e2621874598a4adc2b2554798f1797d5b348c5d170f56245daa6cd826f2f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55e2621874598a4adc2b2554798f1797d5b348c5d170f56245daa6cd826f2f68", kill_on_drop: false }` [INFO] [stdout] 55e2621874598a4adc2b2554798f1797d5b348c5d170f56245daa6cd826f2f68