[INFO] fetching crate mymq 0.1.0... [INFO] checking mymq-0.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate mymq 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate mymq 0.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mymq 0.1.0 [INFO] finished tweaking crates.io crate mymq 0.1.0 [INFO] tweaked toml for crates.io crate mymq 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate mymq 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07be4b5a190d7003d14d9ed6628722d6ca72f21c965d6ad0d29ea9cfb05a4862 [INFO] running `Command { std: "docker" "start" "-a" "07be4b5a190d7003d14d9ed6628722d6ca72f21c965d6ad0d29ea9cfb05a4862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07be4b5a190d7003d14d9ed6628722d6ca72f21c965d6ad0d29ea9cfb05a4862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07be4b5a190d7003d14d9ed6628722d6ca72f21c965d6ad0d29ea9cfb05a4862", kill_on_drop: false }` [INFO] [stdout] 07be4b5a190d7003d14d9ed6628722d6ca72f21c965d6ad0d29ea9cfb05a4862 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 240074344e0ef0f55d4a1bbf1e2c39829a948da22f76fcf5387520fef501bba3 [INFO] running `Command { std: "docker" "start" "-a" "240074344e0ef0f55d4a1bbf1e2c39829a948da22f76fcf5387520fef501bba3", 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] Fixed Cargo.toml (10 fixes) [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking cityhash-rs v1.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling derive_arbitrary v1.1.3 [INFO] [stderr] Checking arbitrary v1.1.3 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking mymq v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `mymq` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/broker/shard.rs [INFO] [stderr] * src/broker/spinlock.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/v5/mod.rs [INFO] [stderr] * src/v5/types.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:33:42 [INFO] [stderr] | [INFO] [stderr] 33 | ($v:ident, code: $code:ident, cause: $cause:expr_2021, $($args: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:33:62 [INFO] [stderr] | [INFO] [stderr] 33 | ($v:ident, code: $code:ident, cause: $cause:expr_2021, $($args: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:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | ($v:ident, try: $res:expr_2021, $($args: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:47:39 [INFO] [stderr] | [INFO] [stderr] 47 | ($v:ident, try: $res:expr_2021, $($args: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:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | ($v:ident, try: $res: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:79:37 [INFO] [stderr] | [INFO] [stderr] 79 | ($v:ident, code: $code:ident, $($args: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:93:23 [INFO] [stderr] | [INFO] [stderr] 93 | ($v:ident, cause: $cause:expr_2021, $($args: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:93:43 [INFO] [stderr] | [INFO] [stderr] 93 | ($v:ident, cause: $cause:expr_2021, $($args: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:107:24 [INFO] [stderr] | [INFO] [stderr] 107 | ($v:ident, desc: $($args: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:155:6 [INFO] [stderr] | [INFO] [stderr] 155 | ($self:expr_2021, $($args: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:155:25 [INFO] [stderr] | [INFO] [stderr] 155 | ($self:expr_2021, $($args: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/v5/mod.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | ($type:ty, $stream:expr_2021, $n:expr_2021; $($pred:tt)*) => {{ [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/v5/mod.rs:16:35 [INFO] [stderr] | [INFO] [stderr] 16 | ($type:ty, $stream:expr_2021, $n:expr_2021; $($pred:tt)*) => {{ [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/v5/mod.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | ($type:ty, $stream:expr_2021, $n: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/v5/mod.rs:24:35 [INFO] [stderr] | [INFO] [stderr] 24 | ($type:ty, $stream:expr_2021, $n: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/v5/mod.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | ($varn:ident, $valtype:ty, $stream: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/v5/mod.rs:40:16 [INFO] [stderr] | [INFO] [stderr] 40 | ($type:ty, $stream:expr_2021, $n:expr_2021; $($pred:tt)*) => {{ [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/v5/mod.rs:40:35 [INFO] [stderr] | [INFO] [stderr] 40 | ($type:ty, $stream:expr_2021, $n:expr_2021; $($pred:tt)*) => {{ [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/v5/mod.rs:65:16 [INFO] [stderr] | [INFO] [stderr] 65 | ($type:ty, $stream:expr_2021, $n: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/v5/mod.rs:65:35 [INFO] [stderr] | [INFO] [stderr] 65 | ($type:ty, $stream:expr_2021, $n: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/v5/types.rs:427:6 [INFO] [stderr] | [INFO] [stderr] 427 | ($pkt_type:expr_2021, $retain:ident, $qos:ident, $dup:ident) => {{ [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/broker/shard.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:18:40 [INFO] [stderr] | [INFO] [stderr] 18 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:29:6 [INFO] [stderr] | [INFO] [stderr] 29 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:29:24 [INFO] [stderr] | [INFO] [stderr] 29 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:29:40 [INFO] [stderr] | [INFO] [stderr] 29 | ($index:expr_2021, $key:expr_2021, $val: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] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:38:7 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(feature = "debug")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:68:7 [INFO] [stderr] | [INFO] [stderr] 68 | #[cfg(feature = "debug")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util_test.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | let num = rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/broker/spinlock.rs:100:29 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util_test.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | let num = rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [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:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | ($v:ident, code: $code:ident, cause: $cause:expr, $($args: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] 33 | ($v:ident, code: $code:ident, cause: $cause:expr_2021, $($args:expr),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 100 | if cfg!(feature = "debug") { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:33:63 [INFO] [stdout] | [INFO] [stdout] 33 | ($v:ident, code: $code:ident, cause: $cause:expr, $($args: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] 33 | ($v:ident, code: $code:ident, cause: $cause:expr, $($args: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:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | ($v:ident, try: $res:expr, $($args: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] 47 | ($v:ident, try: $res:expr_2021, $($args:expr),+) => {{ [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:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | ($v:ident, try: $res:expr, $($args: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] 47 | ($v:ident, try: $res:expr, $($args:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | ($v:ident, try: $res: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] 63 | ($v:ident, try: $res:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | ($v:ident, code: $code:ident, $($args: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] 79 | ($v:ident, code: $code:ident, $($args:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | ($v:ident, cause: $cause:expr, $($args: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] 93 | ($v:ident, cause: $cause:expr_2021, $($args:expr),+) => {{ [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:93:44 [INFO] [stdout] | [INFO] [stdout] 93 | ($v:ident, cause: $cause:expr, $($args: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] 93 | ($v:ident, cause: $cause:expr, $($args:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | ($v:ident, desc: $($args: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] 107 | ($v:ident, desc: $($args:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/broker/spinlock.rs:106:21 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | ($self:expr, $($args: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] 155 | ($self:expr_2021, $($args:expr),+) => {{ [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:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | ($self:expr, $($args: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] 155 | ($self:expr, $($args:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 106 | if cfg!(feature = "debug") { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | ($type:ty, $stream:expr, $n:expr; $($pred:tt)*) => {{ [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] 16 | ($type:ty, $stream:expr_2021, $n:expr; $($pred:tt)*) => {{ [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/v5/mod.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | ($type:ty, $stream:expr, $n:expr; $($pred:tt)*) => {{ [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] 16 | ($type:ty, $stream:expr, $n:expr_2021; $($pred:tt)*) => {{ [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/v5/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | ($type:ty, $stream:expr, $n:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($type:ty, $stream:expr_2021, $n:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | ($type:ty, $stream:expr, $n:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($type:ty, $stream:expr, $n:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | ($varn:ident, $valtype:ty, $stream: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] 32 | ($varn:ident, $valtype:ty, $stream:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | ($type:ty, $stream:expr, $n:expr; $($pred:tt)*) => {{ [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] 40 | ($type:ty, $stream:expr_2021, $n:expr; $($pred:tt)*) => {{ [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/v5/mod.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | ($type:ty, $stream:expr, $n:expr; $($pred:tt)*) => {{ [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] 40 | ($type:ty, $stream:expr, $n:expr_2021; $($pred:tt)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | ($type:ty, $stream:expr, $n: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 | ($type:ty, $stream:expr_2021, $n:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/broker/spinlock.rs:129:21 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | ($type:ty, $stream:expr, $n: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 | ($type:ty, $stream:expr, $n: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/v5/types.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | ($pkt_type:expr, $retain:ident, $qos:ident, $dup:ident) => {{ [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] 427 | ($pkt_type:expr_2021, $retain:ident, $qos:ident, $dup:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 129 | if cfg!(feature = "debug") { [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:139:29 [INFO] [stderr] | [INFO] [stderr] 139 | if cfg!(feature = "debug") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:153:21 [INFO] [stderr] | [INFO] [stderr] 153 | if cfg!(feature = "debug") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | #![feature(backtrace)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | #![feature(map_first_last)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors; 9 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: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/broker/shard.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | ($index:expr, $key:expr, $val: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] 18 | ($index:expr_2021, $key:expr, $val:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/broker/shard.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | ($index:expr, $key:expr, $val: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] 18 | ($index:expr, $key:expr_2021, $val:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/broker/shard.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | ($index:expr, $key:expr, $val: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] 18 | ($index:expr, $key:expr, $val: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/broker/shard.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | ($index:expr, $key:expr, $val: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] 29 | ($index:expr_2021, $key:expr, $val:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/broker/shard.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | ($index:expr, $key:expr, $val: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] 29 | ($index:expr, $key:expr_2021, $val:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/broker/shard.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | ($index:expr, $key:expr, $val: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] 29 | ($index:expr, $key:expr, $val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `release_packet_id` is never used [INFO] [stdout] --> src/v5/client.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 571 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 600 | fn release_packet_id(&mut self, packet_id: PacketID) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/broker/cluster.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct FinState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 87 | pub state: ClusterState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | [INFO] [stdout] 89 | pub listeners: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | pub flusher: Flusher, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | pub ticker: Ticker>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub masters: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub replicas: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | [INFO] [stdout] 95 | pub topic_filters: SubscribedTrie, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub retained_messages: RetainedTrie, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addrs` and `tokens` are never read [INFO] [stdout] --> src/broker/miot.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct FinState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub addrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | pub tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `will_messages` is never read [INFO] [stdout] --> src/broker/shard.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct MasterLoop [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 162 | will_messages: Timer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `miot`, `reconnects`, `shard_back_log`, and `ack_timestamps` are never read [INFO] [stdout] --> src/broker/shard.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct FinState [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | pub miot: Miot>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 206 | pub sessions: BTreeMap, [INFO] [stdout] 207 | pub reconnects: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 208 | pub inp_seqno: InpSeqno, [INFO] [stdout] 209 | pub shard_back_log: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 210 | pub ack_timestamps: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/timer.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn expired(&mut self) -> impl Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/timer.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn expired(&mut self) -> impl Iterator [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 | pub fn expired(&mut self) -> impl Iterator + use [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/timer.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn elapsed(&mut self, elapsed: u64) -> impl Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/timer.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn elapsed(&mut self, elapsed: u64) -> impl Iterator [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 118 | pub fn elapsed(&mut self, elapsed: u64) -> impl Iterator + use [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/timer.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | fn do_expired(&mut self, elapsed: Option) -> impl Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/timer.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | fn do_expired(&mut self, elapsed: Option) -> impl Iterator [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 125 | fn do_expired(&mut self, elapsed: Option) -> impl Iterator + use [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/timer.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn gc(&mut self) -> impl Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/timer.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn gc(&mut self) -> impl Iterator [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 184 | pub fn gc(&mut self) -> impl Iterator + use [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/protocol.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | if let Err(err) = connect.validate() { [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/v5/protocol.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match connect.validate() { Err(err) => { [INFO] [stdout] 142 | error!("{}, invalid connect-packet err:{}", prefix, err); [INFO] [stdout] 143 | self.send_connack(prefix, err.code(), conn)?; [INFO] [stdout] 144 | break Err(err); [INFO] [stdout] 145 ~ } _ => { [INFO] [stdout] 146 | break self.new_socket(conn, connect); [INFO] [stdout] 147 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 214 | if let Err(err) = self.write(v5::Packet::Disconnect(disconnect)) { [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/v5/client.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 214 ~ match self.write(v5::Packet::Disconnect(disconnect)) { Err(err) => { [INFO] [stdout] 215 | error!( [INFO] [stdout] ... [INFO] [stdout] 218 | ) [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/message.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | if let Err(err) = self.waker.wake() { [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/broker/message.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match self.waker.wake() { Err(err) => { [INFO] [stdout] 65 | error!("shard-{} waking the receiving shard err:{}", self.shard_id, err) [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/cluster.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | if let Inner::Handle(_waker, thrd) = &cluster.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/broker/cluster.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | } 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] 346 ~ match &cluster.inner { Inner::Handle(_waker, thrd) => { [INFO] [stdout] 347 | thrd.request(Request::Set { listeners, ticker, masters, replicas })??; [INFO] [stdout] 348 ~ } _ => { [INFO] [stdout] 349 | unreachable!("{} {:?}", self.prefix, cluster.inner) [INFO] [stdout] 350 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/handshake.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Err(err) = self.cluster.add_connection(socket) { [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/broker/handshake.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 56 ~ match self.cluster.add_connection(socket) { Err(err) => { [INFO] [stdout] 57 | error!( [INFO] [stdout] ... [INFO] [stdout] 60 | ) [INFO] [stdout] 61 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/miot.rs:459:16 [INFO] [stdout] | [INFO] [stdout] 459 | if let Response::Removed(pq) = self.handle_remove_connection(req) { [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/broker/miot.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 459 ~ match self.handle_remove_connection(req) { Response::Removed(pq) => { [INFO] [stdout] 460 | self.as_shard().flush_session(pq, err) [INFO] [stdout] 461 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/miot.rs:496:16 [INFO] [stdout] | [INFO] [stdout] 496 | if let Response::Removed(pq) = self.handle_remove_connection(req) { [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/broker/miot.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | } [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 self.handle_remove_connection(req) { Response::Removed(pq) => { [INFO] [stdout] 497 | self.as_shard().flush_session(pq, err) [INFO] [stdout] 498 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/broker/shard.rs:1084:9 [INFO] [stdout] | [INFO] [stdout] 1084 | mem::drop(index); [INFO] [stdout] | ^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1084 - mem::drop(index); [INFO] [stdout] 1084 + let _ = index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/broker/shard.rs:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | mem::drop(sessions); [INFO] [stdout] | ^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BTreeMap` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1085 - mem::drop(sessions); [INFO] [stdout] 1085 + let _ = sessions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/broker/shard.rs:1086:9 [INFO] [stdout] | [INFO] [stdout] 1086 | mem::drop(ack_timestamps); [INFO] [stdout] | ^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1086 - mem::drop(ack_timestamps); [INFO] [stdout] 1086 + let _ = ack_timestamps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/shard.rs:1155:20 [INFO] [stdout] | [INFO] [stdout] 1155 | if let Some(mut session) = sessions.remove(client_id) { [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/broker/shard.rs:1162:17 [INFO] [stdout] | [INFO] [stdout] 1162 | } 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] 1155 ~ match sessions.remove(client_id) { Some(mut session) => { [INFO] [stdout] 1156 | session.remove_topic_filters(cc_topic_filters); [INFO] [stdout] ... [INFO] [stdout] 1161 | ); [INFO] [stdout] 1162 ~ } _ => { [INFO] [stdout] 1163 | warn!("{} client_id:{} session not found", self.prefix, client_id); [INFO] [stdout] 1164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/shard.rs:1167:20 [INFO] [stdout] | [INFO] [stdout] 1167 | if let Some(session) = sessions.remove(client_id) { [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/broker/shard.rs:1173:17 [INFO] [stdout] | [INFO] [stdout] 1173 | } 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] 1167 ~ match sessions.remove(client_id) { Some(session) => { [INFO] [stdout] 1168 | reconnects.add_timeout( [INFO] [stdout] ... [INFO] [stdout] 1172 | ); [INFO] [stdout] 1173 ~ } _ => { [INFO] [stdout] 1174 | warn!("{} client_id:{} session not found", self.prefix, client_id); [INFO] [stdout] 1175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/ticker.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | if let Err(err) = shard.wake() { [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/broker/ticker.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 281 ~ match shard.wake() { Err(err) => { [INFO] [stdout] 282 | error!("{} waking shard err:{}", self.prefix, err); [INFO] [stdout] 283 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/ticker.rs:286:20 [INFO] [stdout] | [INFO] [stdout] 286 | if let Err(err) = shard.wake() { [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/broker/ticker.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 286 ~ match shard.wake() { Err(err) => { [INFO] [stdout] 287 | error!("{} waking shard err:{}", self.prefix, err); [INFO] [stdout] 288 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `mymq` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/broker/shard.rs [INFO] [stderr] * src/broker/spinlock.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/v5/mod.rs [INFO] [stderr] * src/v5/types.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:33:42 [INFO] [stderr] | [INFO] [stderr] 33 | ($v:ident, code: $code:ident, cause: $cause:expr_2021, $($args: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:33:62 [INFO] [stderr] | [INFO] [stderr] 33 | ($v:ident, code: $code:ident, cause: $cause:expr_2021, $($args: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:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | ($v:ident, try: $res:expr_2021, $($args: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:47:39 [INFO] [stderr] | [INFO] [stderr] 47 | ($v:ident, try: $res:expr_2021, $($args: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:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | ($v:ident, try: $res: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:79:37 [INFO] [stderr] | [INFO] [stderr] 79 | ($v:ident, code: $code:ident, $($args: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:93:23 [INFO] [stderr] | [INFO] [stderr] 93 | ($v:ident, cause: $cause:expr_2021, $($args: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:93:43 [INFO] [stderr] | [INFO] [stderr] 93 | ($v:ident, cause: $cause:expr_2021, $($args: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:107:24 [INFO] [stderr] | [INFO] [stderr] 107 | ($v:ident, desc: $($args: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:155:6 [INFO] [stderr] | [INFO] [stderr] 155 | ($self:expr_2021, $($args: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:155:25 [INFO] [stderr] | [INFO] [stderr] 155 | ($self:expr_2021, $($args: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/v5/mod.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | ($type:ty, $stream:expr_2021, $n:expr_2021; $($pred:tt)*) => {{ [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/v5/mod.rs:16:35 [INFO] [stderr] | [INFO] [stderr] 16 | ($type:ty, $stream:expr_2021, $n:expr_2021; $($pred:tt)*) => {{ [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/v5/mod.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | ($type:ty, $stream:expr_2021, $n: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/v5/mod.rs:24:35 [INFO] [stderr] | [INFO] [stderr] 24 | ($type:ty, $stream:expr_2021, $n: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/v5/mod.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | ($varn:ident, $valtype:ty, $stream: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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | ($v:ident, code: $code:ident, cause: $cause:expr, $($args: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] 33 | ($v:ident, code: $code:ident, cause: $cause:expr_2021, $($args:expr),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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:33:63 [INFO] [stdout] | [INFO] [stdout] 33 | ($v:ident, code: $code:ident, cause: $cause:expr, $($args: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] 33 | ($v:ident, code: $code:ident, cause: $cause:expr, $($args: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:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | ($v:ident, try: $res:expr, $($args: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] 47 | ($v:ident, try: $res:expr_2021, $($args:expr),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | ($v:ident, try: $res:expr, $($args: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] 47 | ($v:ident, try: $res:expr, $($args:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/v5/mod.rs:40:16 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | ($v:ident, try: $res: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] 63 | ($v:ident, try: $res: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:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | ($v:ident, code: $code:ident, $($args: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] 79 | ($v:ident, code: $code:ident, $($args:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 40 | ($type:ty, $stream:expr_2021, $n:expr_2021; $($pred:tt)*) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | ($v:ident, cause: $cause:expr, $($args: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] 93 | ($v:ident, cause: $cause:expr_2021, $($args:expr),+) => {{ [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:93:44 [INFO] [stdout] | [INFO] [stdout] 93 | ($v:ident, cause: $cause:expr, $($args: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] 93 | ($v:ident, cause: $cause:expr, $($args: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:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | ($v:ident, desc: $($args: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] 107 | ($v:ident, desc: $($args:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | ($self:expr, $($args: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] 155 | ($self:expr_2021, $($args:expr),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | ($self:expr, $($args: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] 155 | ($self:expr, $($args:expr_2021),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/v5/mod.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | ($type:ty, $stream:expr, $n:expr; $($pred:tt)*) => {{ [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] 16 | ($type:ty, $stream:expr_2021, $n:expr; $($pred:tt)*) => {{ [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/v5/mod.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | ($type:ty, $stream:expr, $n:expr; $($pred:tt)*) => {{ [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] 16 | ($type:ty, $stream:expr, $n:expr_2021; $($pred:tt)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | ($type:ty, $stream:expr, $n:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($type:ty, $stream:expr_2021, $n:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/v5/mod.rs:40:35 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | ($type:ty, $stream:expr, $n:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 24 | ($type:ty, $stream:expr, $n: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/v5/mod.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | ($varn:ident, $valtype:ty, $stream: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] 32 | ($varn:ident, $valtype:ty, $stream:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 40 | ($type:ty, $stream:expr_2021, $n:expr_2021; $($pred:tt)*) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | ($type:ty, $stream:expr, $n:expr; $($pred:tt)*) => {{ [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] 40 | ($type:ty, $stream:expr_2021, $n:expr; $($pred:tt)*) => {{ [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/v5/mod.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | ($type:ty, $stream:expr, $n:expr; $($pred:tt)*) => {{ [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] 40 | ($type:ty, $stream:expr, $n:expr_2021; $($pred:tt)*) => {{ [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/v5/mod.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | ($type:ty, $stream:expr, $n: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 | ($type:ty, $stream:expr_2021, $n:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/mod.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | ($type:ty, $stream:expr, $n: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 | ($type:ty, $stream:expr, $n:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/v5/types.rs:427:16 [INFO] [stdout] | [INFO] [stdout] 427 | ($pkt_type:expr, $retain:ident, $qos:ident, $dup:ident) => {{ [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] 427 | ($pkt_type:expr_2021, $retain:ident, $qos:ident, $dup:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/v5/mod.rs:65:16 [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 65 | ($type:ty, $stream:expr_2021, $n:expr_2021) => {{ [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/broker/shard.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | ($index:expr, $key:expr, $val: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] 18 | ($index:expr_2021, $key:expr, $val:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/broker/shard.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | ($index:expr, $key:expr, $val: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] 18 | ($index:expr, $key:expr_2021, $val:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/broker/shard.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | ($index:expr, $key:expr, $val: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] 18 | ($index:expr, $key:expr, $val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/broker/shard.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | ($index:expr, $key:expr, $val: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] 29 | ($index:expr_2021, $key:expr, $val:expr) => {{ [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/broker/shard.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | ($index:expr, $key:expr, $val: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] 29 | ($index:expr, $key:expr_2021, $val:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/broker/shard.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | ($index:expr, $key:expr, $val: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] 29 | ($index:expr, $key:expr, $val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/v5/mod.rs:65:35 [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 65 | ($type:ty, $stream:expr_2021, $n:expr_2021) => {{ [INFO] [stdout] warning: method `release_packet_id` is never used [INFO] [stdout] --> src/v5/client.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 571 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 600 | fn release_packet_id(&mut self, packet_id: PacketID) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/broker/cluster.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct FinState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 87 | pub state: ClusterState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | [INFO] [stdout] 89 | pub listeners: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | pub flusher: Flusher, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | pub ticker: Ticker>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub masters: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub replicas: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | [INFO] [stdout] 95 | pub topic_filters: SubscribedTrie, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub retained_messages: RetainedTrie, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: fields `addrs` and `tokens` are never read [INFO] [stdout] --> src/broker/miot.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct FinState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub addrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | pub tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: field `will_messages` is never read [INFO] [stdout] --> src/broker/shard.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct MasterLoop [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 162 | will_messages: Timer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: fields `miot`, `reconnects`, `shard_back_log`, and `ack_timestamps` are never read [INFO] [stdout] --> src/broker/shard.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct FinState [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | pub miot: Miot>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 206 | pub sessions: BTreeMap, [INFO] [stdout] 207 | pub reconnects: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 208 | pub inp_seqno: InpSeqno, [INFO] [stdout] 209 | pub shard_back_log: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 210 | pub ack_timestamps: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/timer.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn expired(&mut self) -> impl Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/timer.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn expired(&mut self) -> impl Iterator [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 | pub fn expired(&mut self) -> impl Iterator + use [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/timer.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | fn do_expired(&mut self, elapsed: Option) -> impl Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/timer.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | fn do_expired(&mut self, elapsed: Option) -> impl Iterator [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 125 | fn do_expired(&mut self, elapsed: Option) -> impl Iterator + use [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/timer.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn gc(&mut self) -> impl Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/timer.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn gc(&mut self) -> impl Iterator [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 184 | pub fn gc(&mut self) -> impl Iterator + use [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/v5/types.rs:427:6 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/protocol.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | if let Err(err) = connect.validate() { [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/v5/protocol.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match connect.validate() { Err(err) => { [INFO] [stdout] 142 | error!("{}, invalid connect-packet err:{}", prefix, err); [INFO] [stdout] 143 | self.send_connack(prefix, err.code(), conn)?; [INFO] [stdout] 144 | break Err(err); [INFO] [stdout] 145 ~ } _ => { [INFO] [stdout] 146 | break self.new_socket(conn, connect); [INFO] [stdout] 147 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/v5/client.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 214 | if let Err(err) = self.write(v5::Packet::Disconnect(disconnect)) { [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/v5/client.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 214 ~ match self.write(v5::Packet::Disconnect(disconnect)) { Err(err) => { [INFO] [stdout] 215 | error!( [INFO] [stdout] ... [INFO] [stdout] 218 | ) [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 427 | ($pkt_type:expr_2021, $retain:ident, $qos:ident, $dup:ident) => {{ [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/message.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | if let Err(err) = self.waker.wake() { [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/broker/message.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match self.waker.wake() { Err(err) => { [INFO] [stdout] 65 | error!("shard-{} waking the receiving shard err:{}", self.shard_id, err) [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/cluster.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | if let Inner::Handle(_waker, thrd) = &cluster.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/broker/cluster.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | } 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] 346 ~ match &cluster.inner { Inner::Handle(_waker, thrd) => { [INFO] [stdout] 347 | thrd.request(Request::Set { listeners, ticker, masters, replicas })??; [INFO] [stdout] 348 ~ } _ => { [INFO] [stdout] 349 | unreachable!("{} {:?}", self.prefix, cluster.inner) [INFO] [stdout] 350 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/handshake.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Err(err) = self.cluster.add_connection(socket) { [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/broker/handshake.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 56 ~ match self.cluster.add_connection(socket) { Err(err) => { [INFO] [stdout] 57 | error!( [INFO] [stdout] ... [INFO] [stdout] 60 | ) [INFO] [stdout] 61 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/miot.rs:459:16 [INFO] [stdout] | [INFO] [stdout] 459 | if let Response::Removed(pq) = self.handle_remove_connection(req) { [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/broker/miot.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 459 ~ match self.handle_remove_connection(req) { Response::Removed(pq) => { [INFO] [stdout] 460 | self.as_shard().flush_session(pq, err) [INFO] [stdout] 461 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/miot.rs:496:16 [INFO] [stdout] | [INFO] [stdout] 496 | if let Response::Removed(pq) = self.handle_remove_connection(req) { [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/broker/miot.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | } [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 self.handle_remove_connection(req) { Response::Removed(pq) => { [INFO] [stdout] 497 | self.as_shard().flush_session(pq, err) [INFO] [stdout] 498 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/broker/shard.rs:1084:9 [INFO] [stdout] | [INFO] [stdout] 1084 | mem::drop(index); [INFO] [stdout] | ^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1084 - mem::drop(index); [INFO] [stdout] 1084 + let _ = index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/broker/shard.rs:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | mem::drop(sessions); [INFO] [stdout] | ^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BTreeMap` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1085 - mem::drop(sessions); [INFO] [stdout] 1085 + let _ = sessions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/broker/shard.rs:1086:9 [INFO] [stdout] | [INFO] [stdout] 1086 | mem::drop(ack_timestamps); [INFO] [stdout] | ^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1086 - mem::drop(ack_timestamps); [INFO] [stdout] 1086 + let _ = ack_timestamps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/broker/shard.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:18:40 [INFO] [stderr] | [INFO] [stderr] 18 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:29:6 [INFO] [stderr] | [INFO] [stderr] 29 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:29:24 [INFO] [stderr] | [INFO] [stderr] 29 | ($index:expr_2021, $key:expr_2021, $val: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/broker/shard.rs:29:40 [INFO] [stderr] | [INFO] [stderr] 29 | ($index:expr_2021, $key:expr_2021, $val: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] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:38:7 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(feature = "debug")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/shard.rs:1155:20 [INFO] [stdout] | [INFO] [stdout] 1155 | if let Some(mut session) = sessions.remove(client_id) { [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/broker/shard.rs:1162:17 [INFO] [stdout] | [INFO] [stdout] 1162 | } 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] 1155 ~ match sessions.remove(client_id) { Some(mut session) => { [INFO] [stdout] 1156 | session.remove_topic_filters(cc_topic_filters); [INFO] [stdout] ... [INFO] [stdout] 1161 | ); [INFO] [stdout] 1162 ~ } _ => { [INFO] [stdout] 1163 | warn!("{} client_id:{} session not found", self.prefix, client_id); [INFO] [stdout] 1164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:68:7 [INFO] [stderr] | [INFO] [stderr] 68 | #[cfg(feature = "debug")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:100:29 [INFO] [stderr] | [INFO] [stderr] 100 | if cfg!(feature = "debug") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | if cfg!(feature = "debug") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/shard.rs:1167:20 [INFO] [stdout] | [INFO] [stdout] 1167 | if let Some(session) = sessions.remove(client_id) { [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/broker/shard.rs:1173:17 [INFO] [stdout] | [INFO] [stdout] 1173 | } 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] 1167 ~ match sessions.remove(client_id) { Some(session) => { [INFO] [stdout] 1168 | reconnects.add_timeout( [INFO] [stdout] ... [INFO] [stdout] 1172 | ); [INFO] [stdout] 1173 ~ } _ => { [INFO] [stdout] 1174 | warn!("{} client_id:{} session not found", self.prefix, client_id); [INFO] [stdout] 1175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/ticker.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | if let Err(err) = shard.wake() { [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/broker/ticker.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 281 ~ match shard.wake() { Err(err) => { [INFO] [stdout] 282 | error!("{} waking shard err:{}", self.prefix, err); [INFO] [stdout] 283 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/broker/ticker.rs:286:20 [INFO] [stdout] | [INFO] [stdout] 286 | if let Err(err) = shard.wake() { [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/broker/ticker.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 286 ~ match shard.wake() { Err(err) => { [INFO] [stdout] 287 | error!("{} waking shard err:{}", self.prefix, err); [INFO] [stdout] 288 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:129:21 [INFO] [stderr] | [INFO] [stderr] 129 | if cfg!(feature = "debug") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:139:29 [INFO] [stderr] | [INFO] [stderr] 139 | if cfg!(feature = "debug") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `debug` [INFO] [stderr] --> src/broker/spinlock.rs:153:21 [INFO] [stderr] | [INFO] [stderr] 153 | if cfg!(feature = "debug") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stderr] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | #![feature(backtrace)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | #![feature(map_first_last)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors; 9 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] [stderr] Migrating examples/read_penalty.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.85s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking mymq v0.1.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util_test.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | let num = rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 29 | let num = rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util_test.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | let num = rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 51 | let num = rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/broker/spinlock.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary`, `backtrace`, `broker`, `chrono`, `client`, `ctrlc`, `default`, `env_logger`, `fuzzy`, `mymqd`, `netw`, `pcap`, `pnet`, `pnet_datalink`, `prettytable-rs`, `rand`, and `structopt` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `release_packet_id` is never used [INFO] [stdout] --> src/v5/client.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 571 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 600 | fn release_packet_id(&mut self, packet_id: PacketID) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/broker/cluster.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct FinState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 87 | pub state: ClusterState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | [INFO] [stdout] 89 | pub listeners: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | pub flusher: Flusher, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | pub ticker: Ticker>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | pub masters: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub replicas: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | [INFO] [stdout] 95 | pub topic_filters: SubscribedTrie, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub retained_messages: RetainedTrie, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addrs` and `tokens` are never read [INFO] [stdout] --> src/broker/miot.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct FinState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub addrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | pub tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `will_messages` is never read [INFO] [stdout] --> src/broker/shard.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct MasterLoop [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 162 | will_messages: Timer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `miot`, `reconnects`, `shard_back_log`, and `ack_timestamps` are never read [INFO] [stdout] --> src/broker/shard.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct FinState [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | pub miot: Miot>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 206 | pub sessions: BTreeMap, [INFO] [stdout] 207 | pub reconnects: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 208 | pub inp_seqno: InpSeqno, [INFO] [stdout] 209 | pub shard_back_log: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 210 | pub ack_timestamps: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/broker/shard.rs:1084:9 [INFO] [stdout] | [INFO] [stdout] 1084 | mem::drop(index); [INFO] [stdout] | ^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1084 - mem::drop(index); [INFO] [stdout] 1084 + let _ = index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/broker/shard.rs:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | mem::drop(sessions); [INFO] [stdout] | ^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut BTreeMap` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1085 - mem::drop(sessions); [INFO] [stdout] 1085 + let _ = sessions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/broker/shard.rs:1086:9 [INFO] [stdout] | [INFO] [stdout] 1086 | mem::drop(ack_timestamps); [INFO] [stdout] | ^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 1086 - mem::drop(ack_timestamps); [INFO] [stdout] 1086 + let _ = ack_timestamps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mymq` (lib test) due to 3 previous errors; 9 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" "240074344e0ef0f55d4a1bbf1e2c39829a948da22f76fcf5387520fef501bba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "240074344e0ef0f55d4a1bbf1e2c39829a948da22f76fcf5387520fef501bba3", kill_on_drop: false }` [INFO] [stdout] 240074344e0ef0f55d4a1bbf1e2c39829a948da22f76fcf5387520fef501bba3