[INFO] cloning repository https://github.com/DobbiKov/oxford_dictionary_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DobbiKov/oxford_dictionary_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Foxford_dictionary_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Foxford_dictionary_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b41cb034d370f38fd1835dc70a3edf30751d234 [INFO] building DobbiKov/oxford_dictionary_bot against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Foxford_dictionary_bot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DobbiKov/oxford_dictionary_bot [INFO] finished tweaking git repo https://github.com/DobbiKov/oxford_dictionary_bot [INFO] tweaked toml for git repo https://github.com/DobbiKov/oxford_dictionary_bot written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DobbiKov/oxford_dictionary_bot 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/DobbiKov/oxford_dictionary_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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c7f2c5f1484b7000ed10991204cb4605f8bf19e0955a4eb121adea16683d7c7c [INFO] running `Command { std: "docker" "start" "-a" "c7f2c5f1484b7000ed10991204cb4605f8bf19e0955a4eb121adea16683d7c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7f2c5f1484b7000ed10991204cb4605f8bf19e0955a4eb121adea16683d7c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f2c5f1484b7000ed10991204cb4605f8bf19e0955a4eb121adea16683d7c7c", kill_on_drop: false }` [INFO] [stdout] c7f2c5f1484b7000ed10991204cb4605f8bf19e0955a4eb121adea16683d7c7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d703c98122c8ec7d046837531a582403c2cd1459da22efda3acbead5b3f9b3db [INFO] running `Command { std: "docker" "start" "-a" "d703c98122c8ec7d046837531a582403c2cd1459da22efda3acbead5b3f9b3db", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling zip v2.6.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling ego-tree v0.10.0 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling scraper v0.23.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling loggit v0.1.4 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Compiling teloxide-macros v0.9.0 [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 oxford_dictionary_lib v0.1.0 (https://github.com/DobbiKov/oxford-dictionary-lib.git#11b21c88) [INFO] [stderr] Compiling teloxide v0.15.0 [INFO] [stderr] Compiling oxford_dictionary_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `InlineKeyboardButton`, `InlineKeyboardMarkup`, `RequestError`, `User`, and `adaptors::DefaultParseMode` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | adaptors::DefaultParseMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, KeyboardRemove, ReplyMarkup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | True, User, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | }, [INFO] [stdout] 11 | RequestError, [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 variable: `e` [INFO] [stdout] --> src/main.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `teloxide::types::message::getters::::from`: use `.from` field instead [INFO] [stdout] --> src/main.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(user) = u.from() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HandlerResult` is never used [INFO] [stdout] --> src/main.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type HandlerResult = anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | bot.send_message(msg.chat_id().unwrap(), msg_to_send).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = bot.send_message(msg.chat_id().unwrap(), msg_to_send).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | / bot.send_message(msg.chat_id().unwrap(), txt_to_send) [INFO] [stdout] 85 | | .reply_markup(KeyboardRemove { [INFO] [stdout] 86 | | remove_keyboard: True, [INFO] [stdout] 87 | | selective: false, [INFO] [stdout] 88 | | }) [INFO] [stdout] 89 | | .await; [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = bot.send_message(msg.chat_id().unwrap(), txt_to_send) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `JsonRequest` that must be used [INFO] [stdout] --> src/main.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | bot.send_message(msg.chat_id().unwrap(), "No variants found for your word!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: Requests are lazy and do nothing unless sent [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = bot.send_message(msg.chat_id().unwrap(), "No variants found for your word!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | / bot.send_message(msg.chat_id().unwrap(), "Unexpected error!") [INFO] [stdout] 97 | | .await; [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = bot.send_message(msg.chat_id().unwrap(), "Unexpected error!") [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 49s [INFO] running `Command { std: "docker" "inspect" "d703c98122c8ec7d046837531a582403c2cd1459da22efda3acbead5b3f9b3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d703c98122c8ec7d046837531a582403c2cd1459da22efda3acbead5b3f9b3db", kill_on_drop: false }` [INFO] [stdout] d703c98122c8ec7d046837531a582403c2cd1459da22efda3acbead5b3f9b3db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6cdf3eea61113a6c7b19f17c05e8af9d20c85d805d5df76037098ce2649f2f97 [INFO] running `Command { std: "docker" "start" "-a" "6cdf3eea61113a6c7b19f17c05e8af9d20c85d805d5df76037098ce2649f2f97", kill_on_drop: false }` [INFO] [stderr] Compiling oxford_dictionary_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `InlineKeyboardButton`, `InlineKeyboardMarkup`, `RequestError`, `User`, and `adaptors::DefaultParseMode` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | adaptors::DefaultParseMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, KeyboardRemove, ReplyMarkup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | True, User, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | }, [INFO] [stdout] 11 | RequestError, [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 variable: `e` [INFO] [stdout] --> src/main.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `teloxide::types::message::getters::::from`: use `.from` field instead [INFO] [stdout] --> src/main.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(user) = u.from() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HandlerResult` is never used [INFO] [stdout] --> src/main.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type HandlerResult = anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | bot.send_message(msg.chat_id().unwrap(), msg_to_send).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = bot.send_message(msg.chat_id().unwrap(), msg_to_send).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | / bot.send_message(msg.chat_id().unwrap(), txt_to_send) [INFO] [stdout] 85 | | .reply_markup(KeyboardRemove { [INFO] [stdout] 86 | | remove_keyboard: True, [INFO] [stdout] 87 | | selective: false, [INFO] [stdout] 88 | | }) [INFO] [stdout] 89 | | .await; [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = bot.send_message(msg.chat_id().unwrap(), txt_to_send) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `JsonRequest` that must be used [INFO] [stdout] --> src/main.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | bot.send_message(msg.chat_id().unwrap(), "No variants found for your word!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: Requests are lazy and do nothing unless sent [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = bot.send_message(msg.chat_id().unwrap(), "No variants found for your word!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | / bot.send_message(msg.chat_id().unwrap(), "Unexpected error!") [INFO] [stdout] 97 | | .await; [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = bot.send_message(msg.chat_id().unwrap(), "Unexpected error!") [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "6cdf3eea61113a6c7b19f17c05e8af9d20c85d805d5df76037098ce2649f2f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cdf3eea61113a6c7b19f17c05e8af9d20c85d805d5df76037098ce2649f2f97", kill_on_drop: false }` [INFO] [stdout] 6cdf3eea61113a6c7b19f17c05e8af9d20c85d805d5df76037098ce2649f2f97