[INFO] cloning repository https://github.com/Skyman2413/SlotBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skyman2413/SlotBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyman2413%2FSlotBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyman2413%2FSlotBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41b6a36e30062b5589cfafa50fa5b3e227f93d04 [INFO] building Skyman2413/SlotBot against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyman2413%2FSlotBot" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Skyman2413/SlotBot [INFO] finished tweaking git repo https://github.com/Skyman2413/SlotBot [INFO] tweaked toml for git repo https://github.com/Skyman2413/SlotBot written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Skyman2413/SlotBot on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Skyman2413/SlotBot 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d85aa1af8d23e8af781127df5aa80d0d8cc2abfd7ed448ad3a7270029666c17 [INFO] running `Command { std: "docker" "start" "-a" "6d85aa1af8d23e8af781127df5aa80d0d8cc2abfd7ed448ad3a7270029666c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d85aa1af8d23e8af781127df5aa80d0d8cc2abfd7ed448ad3a7270029666c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d85aa1af8d23e8af781127df5aa80d0d8cc2abfd7ed448ad3a7270029666c17", kill_on_drop: false }` [INFO] [stdout] 6d85aa1af8d23e8af781127df5aa80d0d8cc2abfd7ed448ad3a7270029666c17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9f6acc9e756cf67424af3ff59fa2348497edce2d80a8ae2f89f0cc8137b81a4 [INFO] running `Command { std: "docker" "start" "-a" "b9f6acc9e756cf67424af3ff59fa2348497edce2d80a8ae2f89f0cc8137b81a4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling teloxide-macros v0.9.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling dptree v0.3.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 smallvec v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [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 aquamarine v0.6.0 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling teloxide-core v0.11.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling teloxide v0.15.0 [INFO] [stderr] Compiling SlotBot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `commands::*` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use commands::*; [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: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::types::User` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use teloxide::types::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::utils::command::BotCommands` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use teloxide::utils::command::BotCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/lib.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/command_handlers/admin_commands_handlers.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_admin_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/command_handlers/admin_commands_handlers.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_admin_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/command_handlers/admin_commands_handlers.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_admin_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/command_handlers/client_commands_handlers.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_client_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/command_handlers/client_commands_handlers.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_client_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/command_handlers/client_commands_handlers.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_client_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/command_handlers/worker_commands_handlers.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_worker_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/command_handlers/worker_commands_handlers.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_worker_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/command_handlers/worker_commands_handlers.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_worker_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/admin_repository.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_has_permission(&self, user_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/client_repository.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_has_permission(&self, user_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/worker_repository.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_has_permission(&self, user_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/admin_repository.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AdminRepository { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 6 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdminRepository` has a derived impl for the trait `Clone`, 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] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/client_repository.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ClientRepository { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/user_repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UserRepository { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/worker_repository.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WorkerRepository { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `SlotBot` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `slot_bot` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "b9f6acc9e756cf67424af3ff59fa2348497edce2d80a8ae2f89f0cc8137b81a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9f6acc9e756cf67424af3ff59fa2348497edce2d80a8ae2f89f0cc8137b81a4", kill_on_drop: false }` [INFO] [stdout] b9f6acc9e756cf67424af3ff59fa2348497edce2d80a8ae2f89f0cc8137b81a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3862026fa1c92e6608e718c85beb292e7442b2050dc726a757a142e0d194559 [INFO] running `Command { std: "docker" "start" "-a" "e3862026fa1c92e6608e718c85beb292e7442b2050dc726a757a142e0d194559", kill_on_drop: false }` [INFO] [stderr] Compiling SlotBot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `commands::*` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use commands::*; [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: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::types::User` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use teloxide::types::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::utils::command::BotCommands` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use teloxide::utils::command::BotCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/lib.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/command_handlers/admin_commands_handlers.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_admin_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/command_handlers/admin_commands_handlers.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_admin_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/command_handlers/admin_commands_handlers.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_admin_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/command_handlers/client_commands_handlers.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_client_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/command_handlers/client_commands_handlers.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_client_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/command_handlers/client_commands_handlers.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_client_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/command_handlers/worker_commands_handlers.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_worker_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/command_handlers/worker_commands_handlers.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_worker_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/command_handlers/worker_commands_handlers.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_worker_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/admin_repository.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_has_permission(&self, user_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/client_repository.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_has_permission(&self, user_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/worker_repository.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_has_permission(&self, user_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/admin_repository.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AdminRepository { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 6 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdminRepository` has a derived impl for the trait `Clone`, 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] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/client_repository.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ClientRepository { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/user_repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UserRepository { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/worker_repository.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WorkerRepository { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `SlotBot` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `slot_bot` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `commands::*` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use commands::*; [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: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::types::User` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use teloxide::types::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::utils::command::BotCommands` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use teloxide::utils::command::BotCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/lib.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/command_handlers/admin_commands_handlers.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_admin_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/command_handlers/admin_commands_handlers.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_admin_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/command_handlers/admin_commands_handlers.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_admin_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/command_handlers/client_commands_handlers.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_client_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/command_handlers/client_commands_handlers.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_client_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/command_handlers/client_commands_handlers.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_client_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/command_handlers/worker_commands_handlers.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_worker_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/command_handlers/worker_commands_handlers.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_worker_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/command_handlers/worker_commands_handlers.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn answer_worker_command(bot: Bot, msg: Message, cmd: BaseCommand) -> ResponseResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/admin_repository.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_has_permission(&self, user_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/client_repository.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_has_permission(&self, user_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/worker_repository.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_has_permission(&self, user_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/admin_repository.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AdminRepository { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 6 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdminRepository` has a derived impl for the trait `Clone`, 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] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/client_repository.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ClientRepository { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/user_repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UserRepository { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/repositories/worker_repository.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WorkerRepository { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.59s [INFO] running `Command { std: "docker" "inspect" "e3862026fa1c92e6608e718c85beb292e7442b2050dc726a757a142e0d194559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3862026fa1c92e6608e718c85beb292e7442b2050dc726a757a142e0d194559", kill_on_drop: false }` [INFO] [stdout] e3862026fa1c92e6608e718c85beb292e7442b2050dc726a757a142e0d194559