[INFO] cloning repository https://github.com/MaksKuchuk/bot-nutritionist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaksKuchuk/bot-nutritionist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaksKuchuk%2Fbot-nutritionist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaksKuchuk%2Fbot-nutritionist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f36f0e1adc9009f980cb2fc6b30cbe0ab54b1eb4 [INFO] checking MaksKuchuk/bot-nutritionist/f36f0e1adc9009f980cb2fc6b30cbe0ab54b1eb4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaksKuchuk%2Fbot-nutritionist" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaksKuchuk/bot-nutritionist on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaksKuchuk/bot-nutritionist [INFO] finished tweaking git repo https://github.com/MaksKuchuk/bot-nutritionist [INFO] tweaked toml for git repo https://github.com/MaksKuchuk/bot-nutritionist written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MaksKuchuk/bot-nutritionist 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cef5eeda43ff6ff9ef2be7548e95f781e27509a9a5ba471864957c75a5286cf5 [INFO] running `Command { std: "docker" "start" "-a" "cef5eeda43ff6ff9ef2be7548e95f781e27509a9a5ba471864957c75a5286cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cef5eeda43ff6ff9ef2be7548e95f781e27509a9a5ba471864957c75a5286cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cef5eeda43ff6ff9ef2be7548e95f781e27509a9a5ba471864957c75a5286cf5", kill_on_drop: false }` [INFO] [stdout] cef5eeda43ff6ff9ef2be7548e95f781e27509a9a5ba471864957c75a5286cf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38754cbaa106101aa7ce195a522116fd5a878fc355a20a9eacf85fe570508259 [INFO] running `Command { std: "docker" "start" "-a" "38754cbaa106101aa7ce195a522116fd5a878fc355a20a9eacf85fe570508259", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling diesel_derives v2.1.3 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking diesel v2.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.25 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking bot-nutritionist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/main.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | use diesel::{r2d2::ConnectionManager, Connection}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_diets_by_userid` [INFO] [stdout] --> src/main_functions/notifications.rs:7:71 [INFO] [stdout] | [INFO] [stdout] 7 | create_update_userdiet, get_choosen_diet, get_diet_by_id, get_diets_by_userid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::UserDiets` [INFO] [stdout] --> src/model/usecases.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::UserDiets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::zip` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::zip; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user` [INFO] [stdout] --> src/utils.rs:16:65 [INFO] [stdout] | [INFO] [stdout] 16 | usecases::{create_update_user, get_random_example_diet, get_user}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/main.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | use diesel::{r2d2::ConnectionManager, Connection}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_diets_by_userid` [INFO] [stdout] --> src/main_functions/notifications.rs:7:71 [INFO] [stdout] | [INFO] [stdout] 7 | create_update_userdiet, get_choosen_diet, get_diet_by_id, get_diets_by_userid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::UserDiets` [INFO] [stdout] --> src/model/usecases.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::UserDiets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::zip` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::zip; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user` [INFO] [stdout] --> src/utils.rs:16:65 [INFO] [stdout] | [INFO] [stdout] 16 | usecases::{create_update_user, get_random_example_diet, get_user}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sst` is never read [INFO] [stdout] --> src/main_functions/pfc.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let mut sst = String::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sst` is never read [INFO] [stdout] --> src/main_functions/pfc.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let mut sst = String::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/diet.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn diet_example(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/diet.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn diet_example(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/notifications.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | dialogue: MyDialogue, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn pfcfood_meat(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/notifications.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | dialogue: MyDialogue, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn pfcfood_fish(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn pfcfood_milk(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn pfcfood_bread(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn pfcfood_cereal_pasta(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | dialogue: MyDialogue, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | pub async fn pfcfood_juice(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn pfcfood_meat(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn pfcfood_fish(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn pfcfood_milk(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn pfcfood_bread(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn pfcfood_cereal_pasta(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | dialogue: MyDialogue, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/main_functions/pfcfood.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | pub async fn pfcfood_juice(bot: Bot, dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/utils.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 254 | pub async fn test_func1(bot: Bot, _dialogue: MyDialogue, msg: Message) -> HandlerResult { [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/utils.rs:254:58 [INFO] [stdout] | [INFO] [stdout] 254 | pub async fn test_func1(bot: Bot, _dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/utils.rs:285:25 [INFO] [stdout] | [INFO] [stdout] 285 | pub async fn test_func3(bot: Bot, _dialogue: MyDialogue, msg: Message) -> HandlerResult { [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/utils.rs:285:58 [INFO] [stdout] | [INFO] [stdout] 285 | pub async fn test_func3(bot: Bot, _dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/utils.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 254 | pub async fn test_func1(bot: Bot, _dialogue: MyDialogue, msg: Message) -> HandlerResult { [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/utils.rs:254:58 [INFO] [stdout] | [INFO] [stdout] 254 | pub async fn test_func1(bot: Bot, _dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bot` [INFO] [stdout] --> src/utils.rs:285:25 [INFO] [stdout] | [INFO] [stdout] 285 | pub async fn test_func3(bot: Bot, _dialogue: MyDialogue, msg: Message) -> HandlerResult { [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/utils.rs:285:58 [INFO] [stdout] | [INFO] [stdout] 285 | pub async fn test_func3(bot: Bot, _dialogue: MyDialogue, msg: Message) -> HandlerResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> src/utils.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let weight = v[1].parse::().unwrap() / 100f64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 106 | let command_handler = teloxide::filter_command::() [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let message_handler = Update::filter_message() [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let callback_query_handler = Update::filter_callback_query(); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | [INFO] [stdout] 170 | / dialogue::enter::, State, _>() [INFO] [stdout] 171 | | .branch(message_handler) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ChoosenDiets` should have a snake case name [INFO] [stdout] --> src/schema.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ChoosenDiets (userid) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `choosen_diets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DietExamples` should have a snake case name [INFO] [stdout] --> src/schema.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | DietExamples (id) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `diet_examples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Foods` should have a snake case name [INFO] [stdout] --> src/schema.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Foods (id) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `foods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NotificationsTime` should have a snake case name [INFO] [stdout] --> src/schema.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | NotificationsTime (id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `notifications_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UserDiets` should have a snake case name [INFO] [stdout] --> src/schema.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | UserDiets (id) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_diets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Users` should have a snake case name [INFO] [stdout] --> src/schema.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Users (id) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> src/utils.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let weight = v[1].parse::().unwrap() / 100f64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bot-nutritionist` (bin "bot-nutritionist" test) due to 2 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 106 | let command_handler = teloxide::filter_command::() [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let message_handler = Update::filter_message() [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let callback_query_handler = Update::filter_callback_query(); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | [INFO] [stdout] 170 | / dialogue::enter::, State, _>() [INFO] [stdout] 171 | | .branch(message_handler) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ChoosenDiets` should have a snake case name [INFO] [stdout] --> src/schema.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ChoosenDiets (userid) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `choosen_diets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DietExamples` should have a snake case name [INFO] [stdout] --> src/schema.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | DietExamples (id) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `diet_examples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Foods` should have a snake case name [INFO] [stdout] --> src/schema.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Foods (id) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `foods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NotificationsTime` should have a snake case name [INFO] [stdout] --> src/schema.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | NotificationsTime (id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `notifications_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UserDiets` should have a snake case name [INFO] [stdout] --> src/schema.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | UserDiets (id) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_diets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Users` should have a snake case name [INFO] [stdout] --> src/schema.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Users (id) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bot-nutritionist` (bin "bot-nutritionist") due to 2 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "38754cbaa106101aa7ce195a522116fd5a878fc355a20a9eacf85fe570508259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38754cbaa106101aa7ce195a522116fd5a878fc355a20a9eacf85fe570508259", kill_on_drop: false }` [INFO] [stdout] 38754cbaa106101aa7ce195a522116fd5a878fc355a20a9eacf85fe570508259