[INFO] cloning repository https://github.com/AdaptChat/harmony [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdaptChat/harmony" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdaptChat%2Fharmony", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdaptChat%2Fharmony'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 316178d996c06331b6cdaa3bc499716961d326f9 [INFO] checking AdaptChat/harmony/316178d996c06331b6cdaa3bc499716961d326f9 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdaptChat%2Fharmony" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdaptChat/harmony 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/AdaptChat/harmony [INFO] finished tweaking git repo https://github.com/AdaptChat/harmony [INFO] tweaked toml for git repo https://github.com/AdaptChat/harmony written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AdaptChat/harmony 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e0578ef0c33f8b14a163e43f77102371d2ac9476d69d52ca99eb0d7ef73d022 [INFO] running `Command { std: "docker" "start" "-a" "3e0578ef0c33f8b14a163e43f77102371d2ac9476d69d52ca99eb0d7ef73d022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e0578ef0c33f8b14a163e43f77102371d2ac9476d69d52ca99eb0d7ef73d022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0578ef0c33f8b14a163e43f77102371d2ac9476d69d52ca99eb0d7ef73d022", kill_on_drop: false }` [INFO] [stdout] 3e0578ef0c33f8b14a163e43f77102371d2ac9476d69d52ca99eb0d7ef73d022 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f5f1f4664f44ae74b3a774bb230503c10edb9478d5c3374dff77621b662ba44 [INFO] running `Command { std: "docker" "start" "-a" "7f5f1f4664f44ae74b3a774bb230503c10edb9478d5c3374dff77621b662ba44", 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 libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_bytes_ng v0.1.2 [INFO] [stderr] Checking halfbrown v0.2.5 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking amqp_serde v0.4.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking value-trait v0.8.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking simd-json v0.13.10 [INFO] [stderr] Compiling sqlx-core v0.8.0-alpha.0 (https://github.com/benluelo/sqlx.git?branch=fix-encode-decode-derives#e5cfa8e3) [INFO] [stderr] Compiling sqlx-postgres v0.8.0-alpha.0 (https://github.com/benluelo/sqlx.git?branch=fix-encode-decode-derives#e5cfa8e3) [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking deadpool-runtime v0.1.3 (https://github.com/jay3332/deadpool.git#a6fd8d82) [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking amqprs v1.6.2 [INFO] [stderr] Checking deadpool v0.10.0 (https://github.com/jay3332/deadpool.git#a6fd8d82) [INFO] [stderr] Checking deadpool v0.12.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0-alpha.0 (https://github.com/benluelo/sqlx.git?branch=fix-encode-decode-derives#e5cfa8e3) [INFO] [stderr] Compiling sqlx-macros v0.8.0-alpha.0 (https://github.com/benluelo/sqlx.git?branch=fix-encode-decode-derives#e5cfa8e3) [INFO] [stderr] Checking redis v0.25.4 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking sqlx v0.8.0-alpha.0 (https://github.com/benluelo/sqlx.git?branch=fix-encode-decode-derives#e5cfa8e3) [INFO] [stderr] Checking deadpool-redis v0.13.0 (https://github.com/jay3332/deadpool.git#a6fd8d82) [INFO] [stderr] Checking deadpool-redis v0.15.1 [INFO] [stderr] Checking essence v0.7.0 (https://github.com/AdaptChat/essence.git#37f2897e) [INFO] [stderr] Checking harmony v0.1.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 `harmony` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/main.rs [INFO] [stderr] * src/presence.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:44:6 [INFO] [stderr] | [INFO] [stderr] 44 | ($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/error.rs:51:6 [INFO] [stderr] | [INFO] [stderr] 51 | ($e:expr_2021, $ctx:literal) => {{ [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/error.rs:58:6 [INFO] [stderr] | [INFO] [stderr] 58 | ($e:expr_2021, $ctx:literal) => {{ [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/error.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($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/error.rs:72:6 [INFO] [stderr] | [INFO] [stderr] 72 | ($e:expr_2021, $ctx:literal) => { [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] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(lazy_cell)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/presence.rs:155:1 [INFO] [stderr] | [INFO] [stderr] 155 | / pub async fn update_presence( [INFO] [stderr] 156 | | user_id: u64, [INFO] [stderr] 157 | | status: PresenceStatus, [INFO] [stderr] 158 | | custom_status: Option, [INFO] [stderr] 159 | | ) -> 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/presence.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | con.del(key).await?; [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/presence.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | pub async fn remove_session(user_id: u64, session_id: impl AsRef) -> 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/presence.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | con.lset(&key, index as isize, "REMOVED").await?; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 3 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | ($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] = 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] 44 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | ($e:expr, $ctx:literal) => {{ [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] 51 | ($e:expr_2021, $ctx:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | ($e:expr, $ctx:literal) => {{ [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] 58 | ($e:expr_2021, $ctx:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ($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] 65 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | ($e:expr, $ctx:literal) => { [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] 72 | ($e:expr_2021, $ctx:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::OnceLock` [INFO] [stdout] --> src/events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::OnceLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::future::TryJoinAll` [INFO] [stdout] --> src/presence.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures_util::future::TryJoinAll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::TryJoinAll` [INFO] [stdout] --> src/websocket.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use futures_util::{future::TryJoinAll, SinkExt, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/websocket.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/presence.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | / pub async fn update_presence( [INFO] [stdout] 157 | | user_id: u64, [INFO] [stdout] 158 | | status: PresenceStatus, [INFO] [stdout] 159 | | custom_status: Option, [INFO] [stdout] 160 | | ) -> 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/presence.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | con.del(key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/presence.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn remove_session(user_id: u64, session_id: impl AsRef) -> 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/presence.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | con.lset(&key, index as isize, "REMOVED").await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ConnectionSettings { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 41 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionSettings` 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] [stdout] warning: fields `session_id` and `token` are never read [INFO] [stdout] --> src/config.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct UserSession { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 77 | pub settings: ConnectionSettings, [INFO] [stdout] 78 | pub session_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | session_id_str: String, [INFO] [stdout] 80 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_bulk_event` is never used [INFO] [stdout] --> src/events.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn publish_bulk_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | ... if let Err(e) = websocket::process_events(websocket, channel, ip, settings).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/main.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ... } [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] 75 ~ match websocket::process_events(websocket, channel, ip, settings).await { Err(e) => { [INFO] [stdout] 76 | error!("process_events returned with error: {e:?}"); [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/presence.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(sessions) = con [INFO] [stdout] | ________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 60 | || .lrange::<_, Option>>>(key.as_ref(), 0, -1) [INFO] [stdout] 61 | || .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] | [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/presence.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | } 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] 59 ~ match con [INFO] [stdout] 60 | .lrange::<_, Option>>>(key.as_ref(), 0, -1) [INFO] [stdout] 61 | .await? [INFO] [stdout] 62 ~ { Some(sessions) => { [INFO] [stdout] 63 | if sessions.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(res) [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | Ok(Vec::new()) [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/presence.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(session) = get_con() [INFO] [stdout] | ________^ - [INFO] [stdout] | |____________________________| [INFO] [stdout] 101 | || .await? [INFO] [stdout] 102 | || .lindex::<_, Option>>(key, 0) [INFO] [stdout] 103 | || .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] | [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/presence.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | } 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] 100 ~ match get_con() [INFO] [stdout] 101 | .await? [INFO] [stdout] 102 | .lindex::<_, Option>>(key, 0) [INFO] [stdout] 103 | .await? [INFO] [stdout] 104 ~ { Some(session) => { [INFO] [stdout] 105 | Ok(Some(bincode::decode_from_slice(&session, CONFIG)?.0)) [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | Ok(None) [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if let Ok(Ok(Some(mut message))) = [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | tokio::time::timeout(Duration::from_secs(5), rx.try_next()).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/websocket.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | } 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] 81 ~ match tokio::time::timeout(Duration::from_secs(5), rx.try_next()).await [INFO] [stdout] 82 ~ { Ok(Ok(Some(mut message))) => { [INFO] [stdout] 83 | let identify = settings.decode::(&mut message); [INFO] [stdout] ... [INFO] [stdout] 97 | } [INFO] [stdout] 98 ~ } _ => { [INFO] [stdout] 99 | let _ = tx [INFO] [stdout] ... [INFO] [stdout] 109| .ctx("failed to receive `identify` event within 5 seconds")); [INFO] [stdout] 110~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:244:24 [INFO] [stdout] | [INFO] [stdout] 244 | if let Err(e) = tx.lock().await.send(session.encode(&ready)).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/websocket.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 244 ~ match tx.lock().await.send(session.encode(&ready)).await { Err(e) => { [INFO] [stdout] 245 | bail_with_ctx!(e, "send ready event: tx.send"); [INFO] [stdout] 246 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | if let Err(e) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 270 | | subscribe(&amqp, guild, session.get_session_id_str(), "topic").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/websocket.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match subscribe(&amqp, guild, session.get_session_id_str(), "topic").await [INFO] [stdout] 270 ~ { Err(e) => { [INFO] [stdout] 271 | bail_with_ctx!(e, "subscribe to guilds: subscribe"); [INFO] [stdout] 272 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:287:28 [INFO] [stdout] | [INFO] [stdout] 287 | if let Err(e) = [INFO] [stdout] | _____________________________^ [INFO] [stdout] 288 | |/ subscribe(&amqp, channel.id, session.get_session_id_str(), "topic") [INFO] [stdout] 289 | || .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/websocket.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 287 ~ match subscribe(&amqp, channel.id, session.get_session_id_str(), "topic") [INFO] [stdout] 288 | .await [INFO] [stdout] 289 ~ { Err(e) => { [INFO] [stdout] 290 | bail_with_ctx!(e, "subscribe to dm channels: subscribe"); [INFO] [stdout] 291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | while let Some(ConsumerMessage { [INFO] [stdout] | _______________________^ [INFO] [stdout] 388 | | content: Some(content), [INFO] [stdout] 389 | | .. [INFO] [stdout] 390 | | }) = amqp_rx.recv().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/websocket.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:392:24 [INFO] [stdout] | [INFO] [stdout] 392 | if let Ok((event, _)) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 393 | | bincode::decode_from_slice::(&content, CONFIG) [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/websocket.rs:583:21 [INFO] [stdout] | [INFO] [stdout] 583 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 392 ~ match bincode::decode_from_slice::(&content, CONFIG) [INFO] [stdout] 393 ~ { Ok((event, _)) => { [INFO] [stdout] 394 | match &event { [INFO] [stdout] ... [INFO] [stdout] 581 | } [INFO] [stdout] 582 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:400:36 [INFO] [stdout] | [INFO] [stdout] 400 | ... if let Err(e) = [INFO] [stdout] | ___________________________^ [INFO] [stdout] 401 | |/ ... subscribe(&amqp, chan.id, session.get_session_id_str(), "topic") [INFO] [stdout] 402 | || ... .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/websocket.rs:406:33 [INFO] [stdout] | [INFO] [stdout] 406 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 400 ~ match subscribe(&amqp, chan.id, session.get_session_id_str(), "topic") [INFO] [stdout] 401 | .await [INFO] [stdout] 402 ~ { Err(e) => { [INFO] [stdout] 403 | error!("failed to subscribe to amqp exchange: {e:?}"); [INFO] [stdout] 404 | break; [INFO] [stdout] 405 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:424:48 [INFO] [stdout] | [INFO] [stdout] 424 | ... if let Err(e) = update_hidden_channels( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 425 | || ... guild.partial.id, [INFO] [stdout] 426 | || ... session.user_id, [INFO] [stdout] 427 | || ... chan.id, [INFO] [stdout] ... || [INFO] [stdout] 430 | || ... Some(&chan.overwrites) [INFO] [stdout] 431 | || ... ).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] | [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/websocket.rs:434:45 [INFO] [stdout] | [INFO] [stdout] 434 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 424 ~ match update_hidden_channels( [INFO] [stdout] 425 | guild.partial.id, [INFO] [stdout] ... [INFO] [stdout] 430 | Some(&chan.overwrites) [INFO] [stdout] 431 ~ ).await { Err(e) => { [INFO] [stdout] 432 | error!("failed to fetch member when updating permissions in ChannelCreate; guild: {} user: {} error: {e}", guild.partial.id, session.user_id); [INFO] [stdout] 433 | break; [INFO] [stdout] 434 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:463:48 [INFO] [stdout] | [INFO] [stdout] 463 | ... if let Err(e) = update_hidden_channels( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 464 | || ... guild.partial.id, [INFO] [stdout] 465 | || ... session.user_id, [INFO] [stdout] 466 | || ... chan.id, [INFO] [stdout] ... || [INFO] [stdout] 469 | || ... Some(&chan.overwrites) [INFO] [stdout] 470 | || ... ).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] | [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/websocket.rs:473:45 [INFO] [stdout] | [INFO] [stdout] 473 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 463 ~ match update_hidden_channels( [INFO] [stdout] 464 | guild.partial.id, [INFO] [stdout] ... [INFO] [stdout] 469 | Some(&chan.overwrites) [INFO] [stdout] 470 ~ ).await { Err(e) => { [INFO] [stdout] 471 | error!("failed to fetch member when updating permissions in ChannelUpdate; guild: {} user: {} error: {e}", guild.partial.id, session.user_id); [INFO] [stdout] 472 | break; [INFO] [stdout] 473 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:487:36 [INFO] [stdout] | [INFO] [stdout] 487 | ... if let Err(e) = [INFO] [stdout] | ___________________________^ [INFO] [stdout] 488 | |/ ... unsubscribe(&amqp, channel_id, session.get_session_id_str()) [INFO] [stdout] 489 | || ... .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/websocket.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 487 ~ match unsubscribe(&amqp, channel_id, session.get_session_id_str()) [INFO] [stdout] 488 | .await [INFO] [stdout] 489 ~ { Err(e) => { [INFO] [stdout] 490 | error!("failed to unsubscribe to amqp exchange: {e:?}"); [INFO] [stdout] 491 | break; [INFO] [stdout] 492 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:496:36 [INFO] [stdout] | [INFO] [stdout] 496 | ... if let Err(e) = subscribe( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 497 | || ... &amqp, [INFO] [stdout] 498 | || ... guild.partial.id, [INFO] [stdout] 499 | || ... session.get_session_id_str(), [INFO] [stdout] 500 | || ... "topic", [INFO] [stdout] 501 | || ... ) [INFO] [stdout] 502 | || ... .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] | [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/websocket.rs:506:33 [INFO] [stdout] | [INFO] [stdout] 506 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 496 ~ match subscribe( [INFO] [stdout] 497 | &amqp, [INFO] [stdout] ... [INFO] [stdout] 502 | .await [INFO] [stdout] 503 ~ { Err(e) => { [INFO] [stdout] 504 | error!("failed to subscribe to amqp exchange: {e:?}"); [INFO] [stdout] 505 | break; [INFO] [stdout] 506 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:509:36 [INFO] [stdout] | [INFO] [stdout] 509 | ... if let Err(e) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 510 | | ... unsubscribe(&amqp, guild_id, session.get_session_id_str()).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/websocket.rs:514:33 [INFO] [stdout] | [INFO] [stdout] 514 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 509 ~ match unsubscribe(&amqp, guild_id, session.get_session_id_str()).await [INFO] [stdout] 510 ~ { Err(e) => { [INFO] [stdout] 511 | error!("failed to unsubscribe to amqp exchange: {e:?}"); [INFO] [stdout] 512 | break; [INFO] [stdout] 513 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | if let Err(e) = tx.lock().await.send(session.encode(&event)).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/websocket.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 579 ~ match tx.lock().await.send(session.encode(&event)).await { Err(e) => { [INFO] [stdout] 580 | debug!("failed to send to client: {e:?}"); [INFO] [stdout] 581 | break; [INFO] [stdout] 582 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:588:23 [INFO] [stdout] | [INFO] [stdout] 588 | while let Ok(Some(mut msg)) = rx.try_next().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/websocket.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:589:24 [INFO] [stdout] | [INFO] [stdout] 589 | if let Ok(incoming) = session.decode::(&mut msg) { [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/websocket.rs:667:21 [INFO] [stdout] | [INFO] [stdout] 667 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 589 ~ match session.decode::(&mut msg) { Ok(incoming) => { [INFO] [stdout] 590 | match incoming { [INFO] [stdout] ... [INFO] [stdout] 666 | } [INFO] [stdout] 667 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:592:36 [INFO] [stdout] | [INFO] [stdout] 592 | ... if let Err(e) = tx [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 593 | || ... .lock() [INFO] [stdout] 594 | || ... .await [INFO] [stdout] 595 | || ... .send(session.encode(&OutboundMessage::Pong)) [INFO] [stdout] 596 | || ... .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] | [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/websocket.rs:600:33 [INFO] [stdout] | [INFO] [stdout] 600 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 592 ~ match tx [INFO] [stdout] 593 | .lock() [INFO] [stdout] ... [INFO] [stdout] 596 | .await [INFO] [stdout] 597 ~ { Err(e) => { [INFO] [stdout] 598 | warn!("failed to send: {e:?}"); [INFO] [stdout] 599 | break; [INFO] [stdout] 600 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:635:36 [INFO] [stdout] | [INFO] [stdout] 635 | ... if let Err(e) = publish_presence_change( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 636 | || ... &amqp, [INFO] [stdout] 637 | || ... session.user_id, [INFO] [stdout] 638 | || ... Presence { [INFO] [stdout] ... || [INFO] [stdout] 659 | || ... ) [INFO] [stdout] 660 | || ... .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] | [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/websocket.rs:663:33 [INFO] [stdout] | [INFO] [stdout] 663 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 635 ~ match publish_presence_change( [INFO] [stdout] 636 | &amqp, [INFO] [stdout] ... [INFO] [stdout] 660 | .await [INFO] [stdout] 661 ~ { Err(e) => { [INFO] [stdout] 662 | error!("error while publish presence change: {e:?}"); [INFO] [stdout] 663 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:707:12 [INFO] [stdout] | [INFO] [stdout] 707 | if let Err(e) = inner { [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/websocket.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | } 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] 707 ~ match inner { Err(e) => { [INFO] [stdout] 708 | if let Ok(ref mut tx) = tx.try_lock() { [INFO] [stdout] ... [INFO] [stdout] 719 | ); [INFO] [stdout] 720 ~ } _ => { [INFO] [stdout] 721 | if let Ok(ref mut tx) = tx.try_lock() { [INFO] [stdout] ... [INFO] [stdout] 733 | ); [INFO] [stdout] 734 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `harmony` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/main.rs [INFO] [stderr] * src/presence.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:44:6 [INFO] [stderr] | [INFO] [stderr] 44 | ($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/error.rs:51:6 [INFO] [stderr] | [INFO] [stderr] 51 | ($e:expr_2021, $ctx:literal) => {{ [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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | ($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] = 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] 44 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:58:6 [INFO] [stderr] | [INFO] [stderr] 58 | ($e:expr_2021, $ctx:literal) => {{ [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/error.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | ($e:expr, $ctx:literal) => {{ [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] 51 | ($e:expr_2021, $ctx:literal) => {{ [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/error.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | ($e:expr, $ctx:literal) => {{ [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] 58 | ($e:expr_2021, $ctx:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/error.rs:72:6 [INFO] [stderr] | [INFO] [stderr] 72 | ($e:expr_2021, $ctx:literal) => { [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] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(lazy_cell)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/presence.rs:155:1 [INFO] [stderr] | [INFO] [stderr] 155 | / pub async fn update_presence( [INFO] [stderr] 156 | | user_id: u64, [INFO] [stderr] 157 | | status: PresenceStatus, [INFO] [stderr] 158 | | custom_status: Option, [INFO] [stderr] 159 | | ) -> Result<()> { [INFO] [stderr] | |_______________^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ($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] 65 | ($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/error.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | ($e:expr, $ctx:literal) => { [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] 72 | ($e:expr_2021, $ctx:literal) => { [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: unused import: `std::sync::OnceLock` [INFO] [stdout] --> src/events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::OnceLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stdout] warning: unused import: `futures_util::future::TryJoinAll` [INFO] [stdout] --> src/presence.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures_util::future::TryJoinAll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: specify the types explicitly [INFO] [stdout] warning: unused import: `future::TryJoinAll` [INFO] [stdout] --> src/websocket.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use futures_util::{future::TryJoinAll, SinkExt, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/presence.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | con.del(key).await?; [INFO] [stderr] | ^^^ [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/websocket.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/presence.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | pub async fn remove_session(user_id: u64, session_id: impl AsRef) -> 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/presence.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | con.lset(&key, index as isize, "REMOVED").await?; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 3 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: this function depends on never type fallback being `()` [INFO] [stdout] --> src/presence.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | / pub async fn update_presence( [INFO] [stdout] 157 | | user_id: u64, [INFO] [stdout] 158 | | status: PresenceStatus, [INFO] [stdout] 159 | | custom_status: Option, [INFO] [stdout] 160 | | ) -> 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/presence.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | con.del(key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/presence.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn remove_session(user_id: u64, session_id: impl AsRef) -> 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/presence.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | con.lset(&key, index as isize, "REMOVED").await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ConnectionSettings { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 41 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionSettings` 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] [stdout] warning: fields `session_id` and `token` are never read [INFO] [stdout] --> src/config.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct UserSession { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 77 | pub settings: ConnectionSettings, [INFO] [stdout] 78 | pub session_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | session_id_str: String, [INFO] [stdout] 80 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_bulk_event` is never used [INFO] [stdout] --> src/events.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn publish_bulk_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | ... if let Err(e) = websocket::process_events(websocket, channel, ip, settings).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/main.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ... } [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] 75 ~ match websocket::process_events(websocket, channel, ip, settings).await { Err(e) => { [INFO] [stdout] 76 | error!("process_events returned with error: {e:?}"); [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/presence.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(sessions) = con [INFO] [stdout] | ________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 60 | || .lrange::<_, Option>>>(key.as_ref(), 0, -1) [INFO] [stdout] 61 | || .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] | [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/presence.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | } 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] 59 ~ match con [INFO] [stdout] 60 | .lrange::<_, Option>>>(key.as_ref(), 0, -1) [INFO] [stdout] 61 | .await? [INFO] [stdout] 62 ~ { Some(sessions) => { [INFO] [stdout] 63 | if sessions.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(res) [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | Ok(Vec::new()) [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/presence.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(session) = get_con() [INFO] [stdout] | ________^ - [INFO] [stdout] | |____________________________| [INFO] [stdout] 101 | || .await? [INFO] [stdout] 102 | || .lindex::<_, Option>>(key, 0) [INFO] [stdout] 103 | || .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] | [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/presence.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | } 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] 100 ~ match get_con() [INFO] [stdout] 101 | .await? [INFO] [stdout] 102 | .lindex::<_, Option>>(key, 0) [INFO] [stdout] 103 | .await? [INFO] [stdout] 104 ~ { Some(session) => { [INFO] [stdout] 105 | Ok(Some(bincode::decode_from_slice(&session, CONFIG)?.0)) [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | Ok(None) [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if let Ok(Ok(Some(mut message))) = [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | tokio::time::timeout(Duration::from_secs(5), rx.try_next()).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/websocket.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | } 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] 81 ~ match tokio::time::timeout(Duration::from_secs(5), rx.try_next()).await [INFO] [stdout] 82 ~ { Ok(Ok(Some(mut message))) => { [INFO] [stdout] 83 | let identify = settings.decode::(&mut message); [INFO] [stdout] ... [INFO] [stdout] 97 | } [INFO] [stdout] 98 ~ } _ => { [INFO] [stdout] 99 | let _ = tx [INFO] [stdout] ... [INFO] [stdout] 109| .ctx("failed to receive `identify` event within 5 seconds")); [INFO] [stdout] 110~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:244:24 [INFO] [stdout] | [INFO] [stdout] 244 | if let Err(e) = tx.lock().await.send(session.encode(&ready)).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/websocket.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 244 ~ match tx.lock().await.send(session.encode(&ready)).await { Err(e) => { [INFO] [stdout] 245 | bail_with_ctx!(e, "send ready event: tx.send"); [INFO] [stdout] 246 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | if let Err(e) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 270 | | subscribe(&amqp, guild, session.get_session_id_str(), "topic").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/websocket.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match subscribe(&amqp, guild, session.get_session_id_str(), "topic").await [INFO] [stdout] 270 ~ { Err(e) => { [INFO] [stdout] 271 | bail_with_ctx!(e, "subscribe to guilds: subscribe"); [INFO] [stdout] 272 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:287:28 [INFO] [stdout] | [INFO] [stdout] 287 | if let Err(e) = [INFO] [stdout] | _____________________________^ [INFO] [stdout] 288 | |/ subscribe(&amqp, channel.id, session.get_session_id_str(), "topic") [INFO] [stdout] 289 | || .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/websocket.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 287 ~ match subscribe(&amqp, channel.id, session.get_session_id_str(), "topic") [INFO] [stdout] 288 | .await [INFO] [stdout] 289 ~ { Err(e) => { [INFO] [stdout] 290 | bail_with_ctx!(e, "subscribe to dm channels: subscribe"); [INFO] [stdout] 291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | while let Some(ConsumerMessage { [INFO] [stdout] | _______________________^ [INFO] [stdout] 388 | | content: Some(content), [INFO] [stdout] 389 | | .. [INFO] [stdout] 390 | | }) = amqp_rx.recv().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/websocket.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:392:24 [INFO] [stdout] | [INFO] [stdout] 392 | if let Ok((event, _)) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 393 | | bincode::decode_from_slice::(&content, CONFIG) [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/websocket.rs:583:21 [INFO] [stdout] | [INFO] [stdout] 583 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 392 ~ match bincode::decode_from_slice::(&content, CONFIG) [INFO] [stdout] 393 ~ { Ok((event, _)) => { [INFO] [stdout] 394 | match &event { [INFO] [stdout] ... [INFO] [stdout] 581 | } [INFO] [stdout] 582 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:400:36 [INFO] [stdout] | [INFO] [stdout] 400 | ... if let Err(e) = [INFO] [stdout] | ___________________________^ [INFO] [stdout] 401 | |/ ... subscribe(&amqp, chan.id, session.get_session_id_str(), "topic") [INFO] [stdout] 402 | || ... .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/websocket.rs:406:33 [INFO] [stdout] | [INFO] [stdout] 406 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 400 ~ match subscribe(&amqp, chan.id, session.get_session_id_str(), "topic") [INFO] [stdout] 401 | .await [INFO] [stdout] 402 ~ { Err(e) => { [INFO] [stdout] 403 | error!("failed to subscribe to amqp exchange: {e:?}"); [INFO] [stdout] 404 | break; [INFO] [stdout] 405 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:424:48 [INFO] [stdout] | [INFO] [stdout] 424 | ... if let Err(e) = update_hidden_channels( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 425 | || ... guild.partial.id, [INFO] [stdout] 426 | || ... session.user_id, [INFO] [stdout] 427 | || ... chan.id, [INFO] [stdout] ... || [INFO] [stdout] 430 | || ... Some(&chan.overwrites) [INFO] [stdout] 431 | || ... ).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] | [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/websocket.rs:434:45 [INFO] [stdout] | [INFO] [stdout] 434 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 424 ~ match update_hidden_channels( [INFO] [stdout] 425 | guild.partial.id, [INFO] [stdout] ... [INFO] [stdout] 430 | Some(&chan.overwrites) [INFO] [stdout] 431 ~ ).await { Err(e) => { [INFO] [stdout] 432 | error!("failed to fetch member when updating permissions in ChannelCreate; guild: {} user: {} error: {e}", guild.partial.id, session.user_id); [INFO] [stdout] 433 | break; [INFO] [stdout] 434 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:463:48 [INFO] [stdout] | [INFO] [stdout] 463 | ... if let Err(e) = update_hidden_channels( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 464 | || ... guild.partial.id, [INFO] [stdout] 465 | || ... session.user_id, [INFO] [stdout] 466 | || ... chan.id, [INFO] [stdout] ... || [INFO] [stdout] 469 | || ... Some(&chan.overwrites) [INFO] [stdout] 470 | || ... ).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] | [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/websocket.rs:473:45 [INFO] [stdout] | [INFO] [stdout] 473 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 463 ~ match update_hidden_channels( [INFO] [stdout] 464 | guild.partial.id, [INFO] [stdout] ... [INFO] [stdout] 469 | Some(&chan.overwrites) [INFO] [stdout] 470 ~ ).await { Err(e) => { [INFO] [stdout] 471 | error!("failed to fetch member when updating permissions in ChannelUpdate; guild: {} user: {} error: {e}", guild.partial.id, session.user_id); [INFO] [stdout] 472 | break; [INFO] [stdout] 473 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:487:36 [INFO] [stdout] | [INFO] [stdout] 487 | ... if let Err(e) = [INFO] [stdout] | ___________________________^ [INFO] [stdout] 488 | |/ ... unsubscribe(&amqp, channel_id, session.get_session_id_str()) [INFO] [stdout] 489 | || ... .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/websocket.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 487 ~ match unsubscribe(&amqp, channel_id, session.get_session_id_str()) [INFO] [stdout] 488 | .await [INFO] [stdout] 489 ~ { Err(e) => { [INFO] [stdout] 490 | error!("failed to unsubscribe to amqp exchange: {e:?}"); [INFO] [stdout] 491 | break; [INFO] [stdout] 492 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:496:36 [INFO] [stdout] | [INFO] [stdout] 496 | ... if let Err(e) = subscribe( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 497 | || ... &amqp, [INFO] [stdout] 498 | || ... guild.partial.id, [INFO] [stdout] 499 | || ... session.get_session_id_str(), [INFO] [stdout] 500 | || ... "topic", [INFO] [stdout] 501 | || ... ) [INFO] [stdout] 502 | || ... .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] | [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/websocket.rs:506:33 [INFO] [stdout] | [INFO] [stdout] 506 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 496 ~ match subscribe( [INFO] [stdout] 497 | &amqp, [INFO] [stdout] ... [INFO] [stdout] 502 | .await [INFO] [stdout] 503 ~ { Err(e) => { [INFO] [stdout] 504 | error!("failed to subscribe to amqp exchange: {e:?}"); [INFO] [stdout] 505 | break; [INFO] [stdout] 506 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:509:36 [INFO] [stdout] | [INFO] [stdout] 509 | ... if let Err(e) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 510 | | ... unsubscribe(&amqp, guild_id, session.get_session_id_str()).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/websocket.rs:514:33 [INFO] [stdout] | [INFO] [stdout] 514 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 509 ~ match unsubscribe(&amqp, guild_id, session.get_session_id_str()).await [INFO] [stdout] 510 ~ { Err(e) => { [INFO] [stdout] 511 | error!("failed to unsubscribe to amqp exchange: {e:?}"); [INFO] [stdout] 512 | break; [INFO] [stdout] 513 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | if let Err(e) = tx.lock().await.send(session.encode(&event)).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/websocket.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 579 ~ match tx.lock().await.send(session.encode(&event)).await { Err(e) => { [INFO] [stdout] 580 | debug!("failed to send to client: {e:?}"); [INFO] [stdout] 581 | break; [INFO] [stdout] 582 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:588:23 [INFO] [stdout] | [INFO] [stdout] 588 | while let Ok(Some(mut msg)) = rx.try_next().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/websocket.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:589:24 [INFO] [stdout] | [INFO] [stdout] 589 | if let Ok(incoming) = session.decode::(&mut msg) { [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/websocket.rs:667:21 [INFO] [stdout] | [INFO] [stdout] 667 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 589 ~ match session.decode::(&mut msg) { Ok(incoming) => { [INFO] [stdout] 590 | match incoming { [INFO] [stdout] ... [INFO] [stdout] 666 | } [INFO] [stdout] 667 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:592:36 [INFO] [stdout] | [INFO] [stdout] 592 | ... if let Err(e) = tx [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 593 | || ... .lock() [INFO] [stdout] 594 | || ... .await [INFO] [stdout] 595 | || ... .send(session.encode(&OutboundMessage::Pong)) [INFO] [stdout] 596 | || ... .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] | [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/websocket.rs:600:33 [INFO] [stdout] | [INFO] [stdout] 600 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 592 ~ match tx [INFO] [stdout] 593 | .lock() [INFO] [stdout] ... [INFO] [stdout] 596 | .await [INFO] [stdout] 597 ~ { Err(e) => { [INFO] [stdout] 598 | warn!("failed to send: {e:?}"); [INFO] [stdout] 599 | break; [INFO] [stdout] 600 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:635:36 [INFO] [stdout] | [INFO] [stdout] 635 | ... if let Err(e) = publish_presence_change( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 636 | || ... &amqp, [INFO] [stdout] 637 | || ... session.user_id, [INFO] [stdout] 638 | || ... Presence { [INFO] [stdout] ... || [INFO] [stdout] 659 | || ... ) [INFO] [stdout] 660 | || ... .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] | [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/websocket.rs:663:33 [INFO] [stdout] | [INFO] [stdout] 663 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 635 ~ match publish_presence_change( [INFO] [stdout] 636 | &amqp, [INFO] [stdout] ... [INFO] [stdout] 660 | .await [INFO] [stdout] 661 ~ { Err(e) => { [INFO] [stdout] 662 | error!("error while publish presence change: {e:?}"); [INFO] [stdout] 663 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/websocket.rs:707:12 [INFO] [stdout] | [INFO] [stdout] 707 | if let Err(e) = inner { [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/websocket.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | } 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] 707 ~ match inner { Err(e) => { [INFO] [stdout] 708 | if let Ok(ref mut tx) = tx.try_lock() { [INFO] [stdout] ... [INFO] [stdout] 719 | ); [INFO] [stdout] 720 ~ } _ => { [INFO] [stdout] 721 | if let Ok(ref mut tx) = tx.try_lock() { [INFO] [stdout] ... [INFO] [stdout] 733 | ); [INFO] [stdout] 734 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.50s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking harmony v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused import: `std::sync::OnceLock` [INFO] [stdout] --> src/events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::OnceLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::OnceLock` [INFO] [stdout] --> src/events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::OnceLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::future::TryJoinAll` [INFO] [stdout] --> src/presence.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures_util::future::TryJoinAll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::future::TryJoinAll` [INFO] [stdout] --> src/presence.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures_util::future::TryJoinAll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::TryJoinAll` [INFO] [stdout] --> src/websocket.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use futures_util::{future::TryJoinAll, SinkExt, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::TryJoinAll` [INFO] [stdout] --> src/websocket.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use futures_util::{future::TryJoinAll, SinkExt, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/websocket.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/websocket.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/presence.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | con.del(key).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 31 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 `deadpool_redis::redis::AsyncCommands::del` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.23.3/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 118 | | fn del(key: K) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1846 | | } [INFO] [stdout] 1847 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::del` [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/presence.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | con.del(key).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 31 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 `deadpool_redis::redis::AsyncCommands::del` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.23.3/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 118 | | fn del(key: K) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1846 | | } [INFO] [stdout] 1847 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::del` [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/presence.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | 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 31 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 `deadpool_redis::redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.23.3/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 61 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1846 | | } [INFO] [stdout] 1847 | | } [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/presence.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | 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 31 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 `deadpool_redis::redis::AsyncCommands::set` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.23.3/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 61 | | fn set(key: K, value: V) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1846 | | } [INFO] [stdout] 1847 | | } [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/presence.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | con.lset(&key, index as isize, "REMOVED").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 31 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 `deadpool_redis::redis::AsyncCommands::lset` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.23.3/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 436 | | fn lset(key: K, index: isize, value: V) { [INFO] [stdout] | | ---- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1846 | | } [INFO] [stdout] 1847 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::lset` [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/presence.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | con.lset(&key, index as isize, "REMOVED").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 31 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 `deadpool_redis::redis::AsyncCommands::lset` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.23.3/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 436 | | fn lset(key: K, index: isize, value: V) { [INFO] [stdout] | | ---- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1846 | | } [INFO] [stdout] 1847 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::lset` [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/presence.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | con.lrem(key, 1, "REMOVED").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 31 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 `deadpool_redis::redis::AsyncCommands::lrem` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.23.3/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 425 | | fn lrem(key: K, count: isize, value: V) { [INFO] [stdout] | | ---- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1846 | | } [INFO] [stdout] 1847 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::lrem` [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/presence.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | con.lrem(key, 1, "REMOVED").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 31 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 `deadpool_redis::redis::AsyncCommands::lrem` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.23.3/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 425 | | fn lrem(key: K, count: isize, value: V) { [INFO] [stdout] | | ---- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1846 | | } [INFO] [stdout] 1847 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::lrem` [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: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 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 `harmony` (bin "harmony") due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `harmony` (bin "harmony" test) due to 5 previous errors; 5 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" "7f5f1f4664f44ae74b3a774bb230503c10edb9478d5c3374dff77621b662ba44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f5f1f4664f44ae74b3a774bb230503c10edb9478d5c3374dff77621b662ba44", kill_on_drop: false }` [INFO] [stdout] 7f5f1f4664f44ae74b3a774bb230503c10edb9478d5c3374dff77621b662ba44