[INFO] cloning repository https://github.com/eatradish/ailurus-spy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eatradish/ailurus-spy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featradish%2Failurus-spy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featradish%2Failurus-spy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5c30dfcbe12602c8ee956a4a061a7ef3c5dee71 [INFO] checking eatradish/ailurus-spy/b5c30dfcbe12602c8ee956a4a061a7ef3c5dee71 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featradish%2Failurus-spy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eatradish/ailurus-spy on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eatradish/ailurus-spy [INFO] finished tweaking git repo https://github.com/eatradish/ailurus-spy [INFO] tweaked toml for git repo https://github.com/eatradish/ailurus-spy written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eatradish/ailurus-spy 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37c697ccf35188c20dca17ba90ac14756df7938bd53046885c1ed93cf32306e3 [INFO] running `Command { std: "docker" "start" "-a" "37c697ccf35188c20dca17ba90ac14756df7938bd53046885c1ed93cf32306e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37c697ccf35188c20dca17ba90ac14756df7938bd53046885c1ed93cf32306e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37c697ccf35188c20dca17ba90ac14756df7938bd53046885c1ed93cf32306e3", kill_on_drop: false }` [INFO] [stdout] 37c697ccf35188c20dca17ba90ac14756df7938bd53046885c1ed93cf32306e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36d450c1f1d2b9904c2c8b497505a3644bb081baaf020ebadfaa0ed9cc2447f2 [INFO] running `Command { std: "docker" "start" "-a" "36d450c1f1d2b9904c2c8b497505a3644bb081baaf020ebadfaa0ed9cc2447f2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking psl-types v2.0.10 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling io-lifetimes v0.7.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling rustix v0.35.6 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking publicsuffix v2.1.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking uuid v1.3.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking dashmap v5.3.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tracing-subscriber v0.3.14 [INFO] [stderr] Checking ctrlc v3.2.2 [INFO] [stderr] Checking fd-lock v3.0.6 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking fancy-regex v0.10.0 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling aquamarine v0.1.11 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking flume v0.10.13 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking string_cache v0.8.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookie_store v0.16.1 [INFO] [stderr] Checking xml5ever v0.17.0 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking html2text v0.4.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking redis v0.21.5 [INFO] [stderr] Checking teloxide-core v0.9.0 [INFO] [stderr] Checking reqwest_cookie_store v0.3.0 [INFO] [stderr] Checking teloxide v0.12.0 [INFO] [stderr] Checking ailurus-spy v0.2.3-alpha.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ailurus_spy` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/checker.rs [INFO] [stderr] * src/main.rs [INFO] [stderr] * src/sender.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>` [INFO] [stderr] --> src/sender.rs:97:78 [INFO] [stderr] | [INFO] [stderr] 97 | if let Err(e) = send_photo!(bot, chat_id, photo, i.msg) { Err(e) => { [INFO] [stderr] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stderr] | [INFO] [stderr] help: you might have meant to write a "greater than or equal to" comparison [INFO] [stderr] | [INFO] [stderr] 97 | if let Err(e) = send_photo!(bot, chat_id, photo, i.msg) { Err(e) >= { [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sender.rs:22:34 [INFO] [stderr] | [INFO] [stderr] 22 | ($bot:ident, $chat_id:ident, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sender.rs:30:48 [INFO] [stderr] | [INFO] [stderr] 30 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sender.rs:36:48 [INFO] [stderr] | [INFO] [stderr] 36 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/main.rs:17:6 [INFO] [stderr] | [INFO] [stderr] 17 | ($e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/main.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | ($f:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: macro expansion ends with an incomplete expression: expected expression [INFO] [stderr] --> src/sender.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | match [INFO] [stderr] | -----^ expected expression [INFO] [stderr] | | [INFO] [stderr] | while parsing this `match` expression [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/main.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | bot: Option<&'a AutoSend>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/main.rs:148:28 [INFO] [stderr] | [INFO] [stderr] 148 | fn init_tgbot() -> (Option>, Option) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/checker.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use teloxide::{adaptors::AutoSend, Bot}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/checker.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | bot: Option<&AutoSend>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/checker.rs:99:18 [INFO] [stderr] | [INFO] [stderr] 99 | bot: Option<&AutoSend>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/checker.rs:141:18 [INFO] [stderr] | [INFO] [stderr] 141 | bot: Option<&AutoSend>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/checker.rs:234:18 [INFO] [stderr] | [INFO] [stderr] 234 | bot: Option<&AutoSend>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/sender.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | adaptors::AutoSend, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/sender.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | bot: &AutoSend, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/sender.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | bot: &AutoSend, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/sender.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | bot: &AutoSend, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/checker.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / pub async fn check_dynamic_update( [INFO] [stderr] 15 | | con: &MultiplexedConnection, [INFO] [stderr] 16 | | uid: u64, [INFO] [stderr] 17 | | client: &Client, [INFO] [stderr] 18 | | bot: Option<&AutoSend>, [INFO] [stderr] 19 | | telegram_chat_id: Option, [INFO] [stderr] 20 | | ) -> Result<()> { [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/checker.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | con.set( [INFO] [stderr] | ^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sender.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | ($bot:ident, $chat_id:ident, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 22 | ($bot:ident, $chat_id:ident, $msg:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/checker.rs:95:1 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sender.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sender.rs:42:53 [INFO] [stdout] | [INFO] [stdout] 42 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 42 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 95 | / pub async fn check_live_status( [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ($e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 17 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 96 | | con: &MultiplexedConnection, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ($f:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($f:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 97 | | room_id: u64, [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | bot: Option<&'a AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 98 | | client: &Client, [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | fn init_tgbot() -> (Option>, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 99 | | bot: Option<&AutoSend>, [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use teloxide::{adaptors::AutoSend, Bot}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 100 | | telegram_chat_id: Option, [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 101 | | ) -> Result<()> { [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | |_______________^ [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | adaptors::AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: specify the types explicitly [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/checker.rs:110:13 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/checker.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pub async fn check_dynamic_update( [INFO] [stdout] 15 | | con: &MultiplexedConnection, [INFO] [stdout] 16 | | uid: u64, [INFO] [stdout] 17 | | client: &Client, [INFO] [stdout] 18 | | bot: Option<&AutoSend>, [INFO] [stdout] 19 | | telegram_chat_id: Option, [INFO] [stdout] 20 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/checker.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | con.set( [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/checker.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / pub async fn check_live_status( [INFO] [stdout] 96 | | con: &MultiplexedConnection, [INFO] [stdout] 97 | | room_id: u64, [INFO] [stdout] 98 | | client: &Client, [INFO] [stdout] 99 | | bot: Option<&AutoSend>, [INFO] [stdout] 100 | | telegram_chat_id: Option, [INFO] [stdout] 101 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/checker.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | con.set(&key, ls == 1).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 110 | con.set(&key, ls == 1).await?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/checker.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | / pub async fn check_weibo( [INFO] [stderr] 140 | | con: &MultiplexedConnection, [INFO] [stderr] 141 | | bot: Option<&AutoSend>, [INFO] [stderr] 142 | | weibo: &WeiboClient, [INFO] [stderr] ... | [INFO] [stderr] 145 | | telegram_chat_id: Option, [INFO] [stderr] 146 | | ) -> Result<()> { [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/checker.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | con.set(&key_container_id, container_id).await?; [INFO] [stderr] | ^^^ [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/checker.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / pub async fn check_weibo( [INFO] [stdout] 140 | | con: &MultiplexedConnection, [INFO] [stdout] 141 | | bot: Option<&AutoSend>, [INFO] [stdout] 142 | | weibo: &WeiboClient, [INFO] [stdout] ... | [INFO] [stdout] 145 | | telegram_chat_id: Option, [INFO] [stdout] 146 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/checker.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | con.set(&key_container_id, container_id).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated method `teloxide::prelude::RequesterExt::auto_send`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | (Some(Bot::from_env().auto_send()), Some(v)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated method `teloxide::prelude::RequesterExt::auto_send`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] warning: field `uid` is never read [INFO] [stdout] --> src/dynamic.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct BiliDynamicResult { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 75 | pub user: Option, [INFO] [stdout] 76 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BiliDynamicResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/main.rs:151:35 [INFO] [stdout] warning: field `uid` is never read [INFO] [stdout] --> src/live.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct LiveStatusResult { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 48 | pub room_id: u64, [INFO] [stdout] 49 | pub uid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveStatusResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 151 | (Some(Bot::from_env().auto_send()), Some(v)) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 15 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if let Ok(client) = redis::Client::open("redis://127.0.0.1/") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match redis::Client::open("redis://127.0.0.1/") { Ok(client) => { [INFO] [stdout] 168 | break client; [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | error!("Connect failed! Please check your redis server is opened?") [INFO] [stdout] 171 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | if let Err(e) = i { [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 232 ~ match i { Err(e) => { [INFO] [stdout] 233 | error!("{}", e); [INFO] [stdout] 234 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/checker.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | if let Ok(t) = v { [INFO] [stdout] | ^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/checker.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 40 ~ match v { Ok(t) => { [INFO] [stdout] 41 | for i in &dynamic { [INFO] [stdout] ... [INFO] [stdout] 87 | } [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | error!("{}", v.unwrap_err()); [INFO] [stdout] 90 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let user = if let Some(u) = c.user.and_then(|x| x.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | } else if let Some(u) = c_user_clone.and_then(|x| x.uname) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 88 ~ let user = match c.user.and_then(|x| x.name) { Some(u) => { [INFO] [stdout] 89 | Some(u) [INFO] [stdout] 90 ~ } _ => if let Some(u) = c_user_clone.and_then(|x| x.uname) { [INFO] [stdout] 91 | Some(u) [INFO] [stdout] 92 | } else { [INFO] [stdout] 93 | desc.user_profile.map(|x| x.info.uname) [INFO] [stdout] 94 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let description = if let Some(desc) = c.item.and_then(|x| x.description) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | } else if let Some(content) = item_clone.and_then(|x| x.content) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 102 ~ let description = match c.item.and_then(|x| x.description) { Some(desc) => { [INFO] [stdout] 103 | Some(desc) [INFO] [stdout] 104 ~ } _ => if let Some(content) = item_clone.and_then(|x| x.content) { [INFO] [stdout] 105 | if let Some(origin_desc) = c [INFO] [stdout] ... [INFO] [stdout] 144 | }) [INFO] [stdout] 145 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(origin_desc) = c [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ____________________________________| [INFO] [stdout] 106 | || .origin_dese [INFO] [stdout] 107 | || .clone() [INFO] [stdout] | ||____________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 108 | | .and_then(|x| x.item.and_then(|x| x.description)) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 115 | } else if let Some(origin_title) = c.origin_dese.clone().and_then(|x| x.title) { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | } else if let Some(origin_title) = c.origin_dese.clone().and_then(|x| x.title) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match c [INFO] [stdout] 106 | .origin_dese [INFO] [stdout] 107 | .clone() [INFO] [stdout] 108 | .and_then(|x| x.item.and_then(|x| x.description)) [INFO] [stdout] 109 ~ { Some(origin_desc) => { [INFO] [stdout] 110 | if let Some(origin_user) = c.origin_user.map(|x| x.info.uname) { [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] 115 ~ } _ => { match c.origin_dese.clone().and_then(|x| x.title) { Some(origin_title) => { [INFO] [stdout] 116 | Some(format!( [INFO] [stdout] ... [INFO] [stdout] 127 | )) [INFO] [stdout] 128 ~ } _ => { [INFO] [stdout] 129 | Some(content) [INFO] [stdout] 130 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(origin_user) = c.origin_user.map(|x| x.info.uname) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match c.origin_user.map(|x| x.info.uname) { Some(origin_user) => { [INFO] [stdout] 111 | Some(format!("{} // {}: {}", content, origin_user, origin_desc)) [INFO] [stdout] 112 ~ } _ => { [INFO] [stdout] 113 | Some(format!("{} // {}", content, origin_desc)) [INFO] [stdout] 114 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(link) = c.origin_dese.clone().and_then(|x| x.short_link_v2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 121 | format!("({})", link) [INFO] [stdout] 122 | } else if let Some(link) = c.origin_dese.clone().and_then(|x| x.short_link) { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | } else if let Some(link) = c.origin_dese.clone().and_then(|x| x.short_link) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 120 ~ match c.origin_dese.clone().and_then(|x| x.short_link_v2) { Some(link) => { [INFO] [stdout] 121 | format!("({})", link) [INFO] [stdout] 122 ~ } _ => { match c.origin_dese.clone().and_then(|x| x.short_link) { Some(link) => { [INFO] [stdout] 123 | format!("({})", link) [INFO] [stdout] 124 ~ } _ => { [INFO] [stdout] 125 | "".to_string() [INFO] [stdout] 126 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | if let Some(url) = c.short_link_v2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 137 | url [INFO] [stdout] 138 | } else if let Some(url) = c.short_link { [INFO] [stdout] | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | } else if let Some(url) = c.short_link { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 136 ~ match c.short_link_v2 { Some(url) => { [INFO] [stdout] 137 | url [INFO] [stdout] 138 ~ } _ => { match c.short_link { Some(url) => { [INFO] [stdout] 139 | url [INFO] [stdout] 140 ~ } _ => { [INFO] [stdout] 141 | "".to_string() [INFO] [stdout] 142 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | } else if let Some(pic) = c.pic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 150 ~ } else { match c.pic { Some(pic) => { [INFO] [stdout] 151 | Some(vec![Picture { img_src: Some(pic) }]) [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | c.origin_dese.and_then(|x| x.item.and_then(|x| x.pictures)) [INFO] [stdout] 154 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | if let Ok(json) = json { [INFO] [stdout] | ^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 192 ~ match json { Ok(json) => { [INFO] [stdout] 193 | r.data.cards[i].card_dese = Some(json); [INFO] [stdout] 194 ~ } _ => { [INFO] [stdout] 195 | continue; [INFO] [stdout] 196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(origin) = &card_dese.origin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 198 ~ match &card_dese.origin { Some(origin) => { [INFO] [stdout] 199 | let s: CardInner = serde_json::from_str(origin)?; [INFO] [stdout] 200 | card_dese.origin_dese = Box::new(Some(s)); [INFO] [stdout] 201 | r.data.cards[i].card_dese = Some(card_dese); [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 31 | / $bot.send_photo( [INFO] [stdout] 32 | | Recipient::Id(ChatId($chat_id)), [INFO] [stdout] 33 | | InputFile::url(Url::parse($photo)?), [INFO] [stdout] 34 | | ) [INFO] [stdout] 35 | | .caption(&$msg) [INFO] [stdout] 36 | | .parse_mode(ParseMode::Html) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |______________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 103 | if let Err(e) = send_photo!(bot, chat_id, photo, i.msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/sender.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 31 ~ match [INFO] [stdout] 32 | }; [INFO] [stdout] ... [INFO] [stdout] 96 | if let Some(photo) = &i.photo { [INFO] [stdout] 97 ~ if let Err(e) = send_photo!(bot, chat_id, photo, i.msg) { Err(e) => { [INFO] [stdout] 98 | warn!( [INFO] [stdout] ... [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | if let Err(e) = send_bytes_photo(photo, client, &i.msg, chat_id, bot).await { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/sender.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match send_bytes_photo(photo, client, &i.msg, chat_id, bot).await { Err(e) => { [INFO] [stdout] 109 | warn!( [INFO] [stdout] ... [INFO] [stdout] 113 | send_msg!(bot, chat_id, i.msg); [INFO] [stdout] 114 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/weibo.rs:311:20 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(v) = regex.find(c.value())? { [INFO] [stdout] | ^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/weibo.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match regex.find(c.value())? { Some(v) => { [INFO] [stdout] 312 | match_cookie = Some(v.as_str()); [INFO] [stdout] 313 | break; [INFO] [stdout] 314 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/weibo.rs:363:39 [INFO] [stdout] | [INFO] [stdout] 363 | let (json, container_id) = if let Ok(resp) = resp { [INFO] [stdout] | ^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/weibo.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 363 ~ let (json, container_id) = match resp { Ok(resp) => { [INFO] [stdout] 364 | let json = resp.json::().await?; [INFO] [stdout] 365 | [INFO] [stdout] 366 | (json, container_id) [INFO] [stdout] 367 ~ } _ => { [INFO] [stdout] 368 | let (container_id, uid) = self.get_container_id(profile_url, None).await?; [INFO] [stdout] ... [INFO] [stdout] 373 | (json, container_id) [INFO] [stdout] 374 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ailurus_spy` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/checker.rs [INFO] [stderr] * src/main.rs [INFO] [stderr] * src/sender.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>` [INFO] [stderr] --> src/sender.rs:97:78 [INFO] [stderr] | [INFO] [stderr] 97 | if let Err(e) = send_photo!(bot, chat_id, photo, i.msg) { Err(e) => { [INFO] [stderr] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stderr] | [INFO] [stderr] help: you might have meant to write a "greater than or equal to" comparison [INFO] [stderr] | [INFO] [stderr] 97 | if let Err(e) = send_photo!(bot, chat_id, photo, i.msg) { Err(e) >= { [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sender.rs:22:34 [INFO] [stderr] | [INFO] [stderr] 22 | ($bot:ident, $chat_id:ident, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sender.rs:30:48 [INFO] [stderr] | [INFO] [stderr] 30 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sender.rs:36:48 [INFO] [stderr] | [INFO] [stderr] 36 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/main.rs:17:6 [INFO] [stderr] | [INFO] [stderr] 17 | ($e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/main.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | ($f:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: macro expansion ends with an incomplete expression: expected expression [INFO] [stderr] --> src/sender.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | match [INFO] [stderr] | -----^ expected expression [INFO] [stderr] | | [INFO] [stderr] | while parsing this `match` expression [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/main.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | bot: Option<&'a AutoSend>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/main.rs:148:28 [INFO] [stderr] | [INFO] [stderr] 148 | fn init_tgbot() -> (Option>, Option) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/checker.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use teloxide::{adaptors::AutoSend, Bot}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/checker.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | bot: Option<&AutoSend>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/checker.rs:99:18 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sender.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | ($bot:ident, $chat_id:ident, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 22 | ($bot:ident, $chat_id:ident, $msg:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sender.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 30 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 99 | bot: Option<&AutoSend>, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sender.rs:42:53 [INFO] [stdout] | [INFO] [stdout] 42 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 42 | ($bot:ident, $chat_id:ident, $photo:ident, $msg:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ($e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 17 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ($f:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($f:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | bot: Option<&'a AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/checker.rs:141:18 [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | fn init_tgbot() -> (Option>, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use teloxide::{adaptors::AutoSend, Bot}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 141 | bot: Option<&AutoSend>, [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/checker.rs:234:18 [INFO] [stderr] | [INFO] [stderr] 234 | bot: Option<&AutoSend>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/sender.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | adaptors::AutoSend, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/sender.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | bot: &AutoSend, [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | adaptors::AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/sender.rs:62:15 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/checker.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pub async fn check_dynamic_update( [INFO] [stdout] 15 | | con: &MultiplexedConnection, [INFO] [stdout] 16 | | uid: u64, [INFO] [stdout] 17 | | client: &Client, [INFO] [stdout] 18 | | bot: Option<&AutoSend>, [INFO] [stdout] 19 | | telegram_chat_id: Option, [INFO] [stdout] 20 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/checker.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | con.set( [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/checker.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / pub async fn check_live_status( [INFO] [stdout] 96 | | con: &MultiplexedConnection, [INFO] [stdout] 97 | | room_id: u64, [INFO] [stdout] 98 | | client: &Client, [INFO] [stdout] 99 | | bot: Option<&AutoSend>, [INFO] [stdout] 100 | | telegram_chat_id: Option, [INFO] [stdout] 101 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/checker.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | con.set(&key, ls == 1).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 62 | bot: &AutoSend, [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/checker.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / pub async fn check_weibo( [INFO] [stdout] 140 | | con: &MultiplexedConnection, [INFO] [stdout] 141 | | bot: Option<&AutoSend>, [INFO] [stdout] 142 | | weibo: &WeiboClient, [INFO] [stdout] ... | [INFO] [stdout] 145 | | telegram_chat_id: Option, [INFO] [stdout] 146 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/checker.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | con.set(&key_container_id, container_id).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] warning: use of deprecated method `teloxide::prelude::RequesterExt::auto_send`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | (Some(Bot::from_env().auto_send()), Some(v)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: field `uid` is never read [INFO] [stdout] --> src/dynamic.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct BiliDynamicResult { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 75 | pub user: Option, [INFO] [stdout] 76 | pub uid: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BiliDynamicResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] warning: field `uid` is never read [INFO] [stdout] --> src/live.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct LiveStatusResult { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 48 | pub room_id: u64, [INFO] [stdout] 49 | pub uid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveStatusResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/sender.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | bot: &AutoSend, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/checker.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / pub async fn check_dynamic_update( [INFO] [stderr] 15 | | con: &MultiplexedConnection, [INFO] [stderr] 16 | | uid: u64, [INFO] [stderr] 17 | | client: &Client, [INFO] [stderr] 18 | | bot: Option<&AutoSend>, [INFO] [stderr] 19 | | telegram_chat_id: Option, [INFO] [stderr] 20 | | ) -> Result<()> { [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/checker.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | con.set( [INFO] [stderr] | ^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/checker.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | / pub async fn check_live_status( [INFO] [stderr] 96 | | con: &MultiplexedConnection, [INFO] [stderr] 97 | | room_id: u64, [INFO] [stderr] 98 | | client: &Client, [INFO] [stderr] 99 | | bot: Option<&AutoSend>, [INFO] [stderr] 100 | | telegram_chat_id: Option, [INFO] [stderr] 101 | | ) -> Result<()> { [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/checker.rs:110:13 [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if let Ok(client) = redis::Client::open("redis://127.0.0.1/") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match redis::Client::open("redis://127.0.0.1/") { Ok(client) => { [INFO] [stdout] 168 | break client; [INFO] [stdout] 169 ~ } _ => { [INFO] [stdout] 170 | error!("Connect failed! Please check your redis server is opened?") [INFO] [stdout] 171 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 110 | con.set(&key, ls == 1).await?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/checker.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | / pub async fn check_weibo( [INFO] [stderr] 140 | | con: &MultiplexedConnection, [INFO] [stderr] 141 | | bot: Option<&AutoSend>, [INFO] [stderr] 142 | | weibo: &WeiboClient, [INFO] [stderr] ... | [INFO] [stderr] 145 | | telegram_chat_id: Option, [INFO] [stderr] 146 | | ) -> Result<()> { [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | if let Err(e) = i { [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 232 ~ match i { Err(e) => { [INFO] [stdout] 233 | error!("{}", e); [INFO] [stdout] 234 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/checker.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | con.set(&key_container_id, container_id).await?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `teloxide::prelude::RequesterExt::auto_send`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stderr] --> src/main.rs:151:35 [INFO] [stderr] | [INFO] [stderr] 151 | (Some(Bot::from_env().auto_send()), Some(v)) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 15 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/checker.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | if let Ok(t) = v { [INFO] [stdout] | ^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/checker.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 40 ~ match v { Ok(t) => { [INFO] [stdout] 41 | for i in &dynamic { [INFO] [stdout] ... [INFO] [stdout] 87 | } [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | error!("{}", v.unwrap_err()); [INFO] [stdout] 90 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let user = if let Some(u) = c.user.and_then(|x| x.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | } else if let Some(u) = c_user_clone.and_then(|x| x.uname) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 88 ~ let user = match c.user.and_then(|x| x.name) { Some(u) => { [INFO] [stdout] 89 | Some(u) [INFO] [stdout] 90 ~ } _ => if let Some(u) = c_user_clone.and_then(|x| x.uname) { [INFO] [stdout] 91 | Some(u) [INFO] [stdout] 92 | } else { [INFO] [stdout] 93 | desc.user_profile.map(|x| x.info.uname) [INFO] [stdout] 94 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let description = if let Some(desc) = c.item.and_then(|x| x.description) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | } else if let Some(content) = item_clone.and_then(|x| x.content) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 102 ~ let description = match c.item.and_then(|x| x.description) { Some(desc) => { [INFO] [stdout] 103 | Some(desc) [INFO] [stdout] 104 ~ } _ => if let Some(content) = item_clone.and_then(|x| x.content) { [INFO] [stdout] 105 | if let Some(origin_desc) = c [INFO] [stdout] ... [INFO] [stdout] 144 | }) [INFO] [stdout] 145 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(origin_desc) = c [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ____________________________________| [INFO] [stdout] 106 | || .origin_dese [INFO] [stdout] 107 | || .clone() [INFO] [stdout] | ||____________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 108 | | .and_then(|x| x.item.and_then(|x| x.description)) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 115 | } else if let Some(origin_title) = c.origin_dese.clone().and_then(|x| x.title) { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | } else if let Some(origin_title) = c.origin_dese.clone().and_then(|x| x.title) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match c [INFO] [stdout] 106 | .origin_dese [INFO] [stdout] 107 | .clone() [INFO] [stdout] 108 | .and_then(|x| x.item.and_then(|x| x.description)) [INFO] [stdout] 109 ~ { Some(origin_desc) => { [INFO] [stdout] 110 | if let Some(origin_user) = c.origin_user.map(|x| x.info.uname) { [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] 115 ~ } _ => { match c.origin_dese.clone().and_then(|x| x.title) { Some(origin_title) => { [INFO] [stdout] 116 | Some(format!( [INFO] [stdout] ... [INFO] [stdout] 127 | )) [INFO] [stdout] 128 ~ } _ => { [INFO] [stdout] 129 | Some(content) [INFO] [stdout] 130 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(origin_user) = c.origin_user.map(|x| x.info.uname) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match c.origin_user.map(|x| x.info.uname) { Some(origin_user) => { [INFO] [stdout] 111 | Some(format!("{} // {}: {}", content, origin_user, origin_desc)) [INFO] [stdout] 112 ~ } _ => { [INFO] [stdout] 113 | Some(format!("{} // {}", content, origin_desc)) [INFO] [stdout] 114 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(link) = c.origin_dese.clone().and_then(|x| x.short_link_v2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 121 | format!("({})", link) [INFO] [stdout] 122 | } else if let Some(link) = c.origin_dese.clone().and_then(|x| x.short_link) { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | } else if let Some(link) = c.origin_dese.clone().and_then(|x| x.short_link) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 120 ~ match c.origin_dese.clone().and_then(|x| x.short_link_v2) { Some(link) => { [INFO] [stdout] 121 | format!("({})", link) [INFO] [stdout] 122 ~ } _ => { match c.origin_dese.clone().and_then(|x| x.short_link) { Some(link) => { [INFO] [stdout] 123 | format!("({})", link) [INFO] [stdout] 124 ~ } _ => { [INFO] [stdout] 125 | "".to_string() [INFO] [stdout] 126 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | if let Some(url) = c.short_link_v2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 137 | url [INFO] [stdout] 138 | } else if let Some(url) = c.short_link { [INFO] [stdout] | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | } else if let Some(url) = c.short_link { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 136 ~ match c.short_link_v2 { Some(url) => { [INFO] [stdout] 137 | url [INFO] [stdout] 138 ~ } _ => { match c.short_link { Some(url) => { [INFO] [stdout] 139 | url [INFO] [stdout] 140 ~ } _ => { [INFO] [stdout] 141 | "".to_string() [INFO] [stdout] 142 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | } else if let Some(pic) = c.pic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 150 ~ } else { match c.pic { Some(pic) => { [INFO] [stdout] 151 | Some(vec![Picture { img_src: Some(pic) }]) [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | c.origin_dese.and_then(|x| x.item.and_then(|x| x.pictures)) [INFO] [stdout] 154 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | if let Ok(json) = json { [INFO] [stdout] | ^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 192 ~ match json { Ok(json) => { [INFO] [stdout] 193 | r.data.cards[i].card_dese = Some(json); [INFO] [stdout] 194 ~ } _ => { [INFO] [stdout] 195 | continue; [INFO] [stdout] 196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/dynamic.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(origin) = &card_dese.origin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/dynamic.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 198 ~ match &card_dese.origin { Some(origin) => { [INFO] [stdout] 199 | let s: CardInner = serde_json::from_str(origin)?; [INFO] [stdout] 200 | card_dese.origin_dese = Box::new(Some(s)); [INFO] [stdout] 201 | r.data.cards[i].card_dese = Some(card_dese); [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 31 | / $bot.send_photo( [INFO] [stdout] 32 | | Recipient::Id(ChatId($chat_id)), [INFO] [stdout] 33 | | InputFile::url(Url::parse($photo)?), [INFO] [stdout] 34 | | ) [INFO] [stdout] 35 | | .caption(&$msg) [INFO] [stdout] 36 | | .parse_mode(ParseMode::Html) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |______________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 103 | if let Err(e) = send_photo!(bot, chat_id, photo, i.msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/sender.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 31 ~ match [INFO] [stdout] 32 | }; [INFO] [stdout] ... [INFO] [stdout] 96 | if let Some(photo) = &i.photo { [INFO] [stdout] 97 ~ if let Err(e) = send_photo!(bot, chat_id, photo, i.msg) { Err(e) => { [INFO] [stdout] 98 | warn!( [INFO] [stdout] ... [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sender.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | if let Err(e) = send_bytes_photo(photo, client, &i.msg, chat_id, bot).await { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/sender.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match send_bytes_photo(photo, client, &i.msg, chat_id, bot).await { Err(e) => { [INFO] [stdout] 109 | warn!( [INFO] [stdout] ... [INFO] [stdout] 113 | send_msg!(bot, chat_id, i.msg); [INFO] [stdout] 114 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/weibo.rs:311:20 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(v) = regex.find(c.value())? { [INFO] [stdout] | ^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/weibo.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match regex.find(c.value())? { Some(v) => { [INFO] [stdout] 312 | match_cookie = Some(v.as_str()); [INFO] [stdout] 313 | break; [INFO] [stdout] 314 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/weibo.rs:363:39 [INFO] [stdout] | [INFO] [stdout] 363 | let (json, container_id) = if let Ok(resp) = resp { [INFO] [stdout] | ^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/weibo.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 363 ~ let (json, container_id) = match resp { Ok(resp) => { [INFO] [stdout] 364 | let json = resp.json::().await?; [INFO] [stdout] 365 | [INFO] [stdout] 366 | (json, container_id) [INFO] [stdout] 367 ~ } _ => { [INFO] [stdout] 368 | let (container_id, uid) = self.get_container_id(profile_url, None).await?; [INFO] [stdout] ... [INFO] [stdout] 373 | (json, container_id) [INFO] [stdout] 374 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.82s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ailurus-spy v0.2.3-alpha.0 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | bot: Option<&'a AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | fn init_tgbot() -> (Option>, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use teloxide::{adaptors::AutoSend, Bot}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | adaptors::AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | bot: Option<&'a AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | fn init_tgbot() -> (Option>, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use teloxide::{adaptors::AutoSend, Bot}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/checker.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | bot: Option<&AutoSend>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | adaptors::AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `teloxide::prelude::AutoSend`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/sender.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | bot: &AutoSend, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | con.set( [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | con.set( [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | con.set(&key2, i.dynamic_id).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | con.set(&key2, i.dynamic_id).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | con.set(&key, dynamic[0].timestamp).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | con.set(&key, dynamic[0].timestamp).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | con.set(&key, ls == 1).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | con.set(&key, ls == 1).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | con.set(key, true).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | con.set(key, true).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | con.set(key, true).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | con.set(key, true).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | con.set(key, false).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | con.set(key, false).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | con.set(&key_container_id, container_id).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | con.set(&key_container_id, container_id).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | con.set(&key, first_mblog.created_at.clone()).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | con.set(&key, first_mblog.created_at.clone()).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | con.set(&key, first_mblog.created_at.clone()).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | con.set(&key, first_mblog.created_at.clone()).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | con.set(&key, first_mblog.created_at.clone()).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/checker.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | con.set(&key, first_mblog.created_at.clone()).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 41 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.21.5/src/commands.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / implement_commands! { [INFO] [stdout] 297 | | 'a [INFO] [stdout] 298 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 311 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1979 | | } [INFO] [stdout] 1980 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `teloxide::prelude::RequesterExt::auto_send`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | (Some(Bot::from_env().auto_send()), Some(v)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `teloxide::prelude::RequesterExt::auto_send`: `AutoSend` is no longer required to `.await` requests and is now noop [INFO] [stdout] --> src/main.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | (Some(Bot::from_env().auto_send()), Some(v)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ailurus-spy` (bin "ailurus-spy" test) due to 12 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ailurus-spy` (bin "ailurus-spy") due to 12 previous errors; 12 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "36d450c1f1d2b9904c2c8b497505a3644bb081baaf020ebadfaa0ed9cc2447f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36d450c1f1d2b9904c2c8b497505a3644bb081baaf020ebadfaa0ed9cc2447f2", kill_on_drop: false }` [INFO] [stdout] 36d450c1f1d2b9904c2c8b497505a3644bb081baaf020ebadfaa0ed9cc2447f2