[INFO] cloning repository https://github.com/rewin123/wordreminder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rewin123/wordreminder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frewin123%2Fwordreminder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frewin123%2Fwordreminder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba10315c6fc8b9a01abd0f750532032e8f7c9ce4 [INFO] checking rewin123/wordreminder/ba10315c6fc8b9a01abd0f750532032e8f7c9ce4 against master#3f28fe133475ec5faf3413b556bf3cfb0d51336c for pr-112365-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frewin123%2Fwordreminder" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rewin123/wordreminder on toolchain 3f28fe133475ec5faf3413b556bf3cfb0d51336c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rewin123/wordreminder [INFO] finished tweaking git repo https://github.com/rewin123/wordreminder [INFO] tweaked toml for git repo https://github.com/rewin123/wordreminder written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rewin123/wordreminder 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" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vecrem v0.1.0 [INFO] [stderr] Downloaded teloxide-macros v0.6.3 [INFO] [stderr] Downloaded teloxide v0.10.1 [INFO] [stderr] Downloaded teloxide-core v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40e89803620beae07810914dbf61e5fc99ebbc069b002db4671835e331e7a150 [INFO] running `Command { std: "docker" "start" "-a" "40e89803620beae07810914dbf61e5fc99ebbc069b002db4671835e331e7a150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40e89803620beae07810914dbf61e5fc99ebbc069b002db4671835e331e7a150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e89803620beae07810914dbf61e5fc99ebbc069b002db4671835e331e7a150", kill_on_drop: false }` [INFO] [stdout] 40e89803620beae07810914dbf61e5fc99ebbc069b002db4671835e331e7a150 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7002998ecdec615b21619109367659433a66c2ad05f971454d77af4f905d4638 [INFO] running `Command { std: "docker" "start" "-a" "7002998ecdec615b21619109367659433a66c2ad05f971454d77af4f905d4638", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling dotenvy v0.15.1 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking rustls-pemfile v1.0.1 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Compiling futures-executor v0.3.23 [INFO] [stderr] Checking vecrem v0.1.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking webpki-roots v0.22.4 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking distance v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling teloxide-macros v0.6.3 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking time v0.3.13 [INFO] [stderr] Checking simplelog v0.12.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.6.1 [INFO] [stderr] Checking axum-core v0.2.7 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Compiling sqlx-core v0.6.1 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ron v0.8.0 [INFO] [stderr] Compiling sqlx-macros v0.6.1 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking redis v0.21.5 [INFO] [stderr] Checking sqlx v0.6.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking axum v0.5.15 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking teloxide-core v0.7.0 [INFO] [stderr] Checking teloxide v0.10.1 [INFO] [stderr] Checking wordreminder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ron::ser` [INFO] [stdout] --> src/bot_functions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ron::ser; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InlineQueryResultArticle`, `InputMessageContentText`, `InputMessageContent`, `self` [INFO] [stdout] --> src/bot_functions.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | utils::command::{BotCommands, self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | InlineKeyboardButton, InlineKeyboardMarkup, InlineQueryResultArticle, InputMessageContent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | InputMessageContentText, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::*` [INFO] [stdout] --> src/bot_functions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ron::ser` [INFO] [stdout] --> src/bot_functions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ron::ser; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InlineQueryResultArticle`, `InputMessageContentText`, `InputMessageContent`, `self` [INFO] [stdout] --> src/bot_functions.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | utils::command::{BotCommands, self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | InlineKeyboardButton, InlineKeyboardMarkup, InlineQueryResultArticle, InputMessageContent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | InputMessageContentText, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::*` [INFO] [stdout] --> src/bot_functions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bot_functions.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 127 | ... let mut msg = format!("Тест закончился!\ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bot_functions.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 127 | ... let mut msg = format!("Тест закончился!\ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bot_functions.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | ... let mut msg = format!("{} из {}.\n Веротность угадать ответ: {}%\n Выбери перевод слова: {} \n... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bot_functions.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | ... let mut msg = format!("{} из {}.\n Веротность угадать ответ: {}%\n Выбери перевод слова: {} \n... [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/user.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use teloxide::{prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/user.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use teloxide::{prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/word.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | for idx in 0..count { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/word.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | for idx in 0..count { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/user.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..dur { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/user.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..dur { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `answers` is never read [INFO] [stdout] --> src/bot_functions.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut answers = vec![]; [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 `answers` is never read [INFO] [stdout] --> src/bot_functions.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut answers = vec![]; [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: function `sigmoid` is never used [INFO] [stdout] --> src/word.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn sigmoid(val : f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PlayerELO` should have an upper case name [INFO] [stdout] --> src/word.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PlayerELO : f32 = 1000.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `PLAYER_ELO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EloK` should have an upper case name [INFO] [stdout] --> src/word.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const EloK : f32 = 128.0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ELO_K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `P` should have a snake case name [INFO] [stdout] --> src/word.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn P(&self) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sigmoid` is never used [INFO] [stdout] --> src/word.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn sigmoid(val : f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PlayerELO` should have an upper case name [INFO] [stdout] --> src/word.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PlayerELO : f32 = 1000.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `PLAYER_ELO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EloK` should have an upper case name [INFO] [stdout] --> src/word.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const EloK : f32 = 128.0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ELO_K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `P` should have a snake case name [INFO] [stdout] --> src/word.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn P(&self) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/userdb.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | std::fs::create_dir(self.dir_path.as_str()); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = std::fs::create_dir(self.dir_path.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | bot.send_message(message.chat.id, "Перевод слова:").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] 29 | let _ = bot.send_message(message.chat.id, "Перевод слова:").await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | bot.send_message(message.chat.id, "Отлично, слово добавлено в словарик").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] 37 | let _ = bot.send_message(message.chat.id, "Отлично, слово добавлено в словарик").await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | / bot.send_message( [INFO] [stdout] 41 | | message.chat.id, [INFO] [stdout] 42 | | format!("Отлично, слово {}:{} заменено на {}:{}", [INFO] [stdout] 43 | | user.words[idx].ru_name, [INFO] [stdout] 44 | | user.words[idx].eng_name, [INFO] [stdout] 45 | | word.ru_name, [INFO] [stdout] 46 | | word.eng_name)).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] 40 | let _ = bot.send_message( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | ... bot.send_message(q.message.clone().unwrap().chat.id, msg).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] 133 | let _ = bot.send_message(q.message.clone().unwrap().chat.id, msg).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | / bot.send_message( [INFO] [stdout] 206 | | message.chat.id, [INFO] [stdout] 207 | | msg [INFO] [stdout] 208 | | ).reply_markup(keyboard) [INFO] [stdout] 209 | | .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] 205 | let _ = bot.send_message( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | bot.send_message(message.chat.id, "Русский перевод слова:").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] 227 | let _ = bot.send_message(message.chat.id, "Русский перевод слова:").await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/userdb.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | std::fs::create_dir(self.dir_path.as_str()); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = std::fs::create_dir(self.dir_path.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | bot.send_message(message.chat.id, "Перевод слова:").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] 29 | let _ = bot.send_message(message.chat.id, "Перевод слова:").await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | bot.send_message(message.chat.id, "Отлично, слово добавлено в словарик").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] 37 | let _ = bot.send_message(message.chat.id, "Отлично, слово добавлено в словарик").await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | / bot.send_message( [INFO] [stdout] 41 | | message.chat.id, [INFO] [stdout] 42 | | format!("Отлично, слово {}:{} заменено на {}:{}", [INFO] [stdout] 43 | | user.words[idx].ru_name, [INFO] [stdout] 44 | | user.words[idx].eng_name, [INFO] [stdout] 45 | | word.ru_name, [INFO] [stdout] 46 | | word.eng_name)).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] 40 | let _ = bot.send_message( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | ... bot.send_message(q.message.clone().unwrap().chat.id, msg).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] 133 | let _ = bot.send_message(q.message.clone().unwrap().chat.id, msg).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | / bot.send_message( [INFO] [stdout] 206 | | message.chat.id, [INFO] [stdout] 207 | | msg [INFO] [stdout] 208 | | ).reply_markup(keyboard) [INFO] [stdout] 209 | | .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] 205 | let _ = bot.send_message( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bot_functions.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | bot.send_message(message.chat.id, "Русский перевод слова:").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] 227 | let _ = bot.send_message(message.chat.id, "Русский перевод слова:").await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::prelude::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use teloxide::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::prelude::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use teloxide::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / TermLogger::init( [INFO] [stdout] 10 | | LevelFilter::Info, [INFO] [stdout] 11 | | Config::default(), [INFO] [stdout] 12 | | TerminalMode::Mixed, [INFO] [stdout] 13 | | ColorChoice::Auto [INFO] [stdout] 14 | | ); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 9 | let _ = TermLogger::init( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / TermLogger::init( [INFO] [stdout] 10 | | LevelFilter::Info, [INFO] [stdout] 11 | | Config::default(), [INFO] [stdout] 12 | | TerminalMode::Mixed, [INFO] [stdout] 13 | | ColorChoice::Auto [INFO] [stdout] 14 | | ); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 9 | let _ = TermLogger::init( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.49s [INFO] running `Command { std: "docker" "inspect" "7002998ecdec615b21619109367659433a66c2ad05f971454d77af4f905d4638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7002998ecdec615b21619109367659433a66c2ad05f971454d77af4f905d4638", kill_on_drop: false }` [INFO] [stdout] 7002998ecdec615b21619109367659433a66c2ad05f971454d77af4f905d4638