[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 master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDobbiKov%2Foxford_dictionary_bot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DobbiKov/oxford_dictionary_bot on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/DobbiKov/oxford-dictionary-lib.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded match_token v0.1.0 [INFO] [stderr] Downloaded teloxide v0.15.0 [INFO] [stderr] Downloaded zstd-safe v7.2.4 [INFO] [stderr] Downloaded loggit v0.1.4 [INFO] [stderr] Downloaded zopfli v0.8.2 [INFO] [stderr] Downloaded markup5ever v0.14.1 [INFO] [stderr] Downloaded html5ever v0.29.1 [INFO] [stderr] Downloaded cc v1.2.20 [INFO] [stderr] Downloaded h2 v0.4.9 [INFO] [stderr] Downloaded scraper v0.23.1 [INFO] [stderr] Downloaded teloxide-macros v0.9.0 [INFO] [stderr] Downloaded rustls v0.23.26 [INFO] [stderr] Downloaded teloxide-core v0.11.2 [INFO] [stderr] Downloaded zip v2.6.1 [INFO] [stderr] Downloaded zstd-sys v2.0.15+zstd.1.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a04c999e22240ee5d70985020b004ebd0dcc2838f14522d1715d08210d88e5a4 [INFO] running `Command { std: "docker" "start" "-a" "a04c999e22240ee5d70985020b004ebd0dcc2838f14522d1715d08210d88e5a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a04c999e22240ee5d70985020b004ebd0dcc2838f14522d1715d08210d88e5a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a04c999e22240ee5d70985020b004ebd0dcc2838f14522d1715d08210d88e5a4", kill_on_drop: false }` [INFO] [stdout] a04c999e22240ee5d70985020b004ebd0dcc2838f14522d1715d08210d88e5a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fafec4978c4565144c92173475c9a32b63da7f4ff79a7bb44bb4ba421dda0aad [INFO] running `Command { std: "docker" "start" "-a" "fafec4978c4565144c92173475c9a32b63da7f4ff79a7bb44bb4ba421dda0aad", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling zip v2.6.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling scraper v0.23.1 [INFO] [stderr] Compiling teloxide-macros v0.9.0 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling teloxide-core v0.11.2 [INFO] [stderr] Compiling loggit v0.1.4 [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 14s [INFO] running `Command { std: "docker" "inspect" "fafec4978c4565144c92173475c9a32b63da7f4ff79a7bb44bb4ba421dda0aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fafec4978c4565144c92173475c9a32b63da7f4ff79a7bb44bb4ba421dda0aad", kill_on_drop: false }` [INFO] [stdout] fafec4978c4565144c92173475c9a32b63da7f4ff79a7bb44bb4ba421dda0aad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f3b593231d4921268ffb284061cbac6ddeb8bbe929566c2f6884c27832814f9 [INFO] running `Command { std: "docker" "start" "-a" "8f3b593231d4921268ffb284061cbac6ddeb8bbe929566c2f6884c27832814f9", 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.02s [INFO] running `Command { std: "docker" "inspect" "8f3b593231d4921268ffb284061cbac6ddeb8bbe929566c2f6884c27832814f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3b593231d4921268ffb284061cbac6ddeb8bbe929566c2f6884c27832814f9", kill_on_drop: false }` [INFO] [stdout] 8f3b593231d4921268ffb284061cbac6ddeb8bbe929566c2f6884c27832814f9