[INFO] fetching crate mymq 0.1.0... [INFO] checking mymq-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mymq 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate mymq 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbd3fcf66ceaad88bc86c5042e54e77e409bbe69b900a2a49beedb45be7ce68b [INFO] running `Command { std: "docker" "start" "-a" "bbd3fcf66ceaad88bc86c5042e54e77e409bbe69b900a2a49beedb45be7ce68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbd3fcf66ceaad88bc86c5042e54e77e409bbe69b900a2a49beedb45be7ce68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd3fcf66ceaad88bc86c5042e54e77e409bbe69b900a2a49beedb45be7ce68b", kill_on_drop: false }` [INFO] [stdout] bbd3fcf66ceaad88bc86c5042e54e77e409bbe69b900a2a49beedb45be7ce68b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03862d5fadb3f9edef14a25541034e7dbce37bbd2ae26a76505f1a56c36cccc7 [INFO] running `Command { std: "docker" "start" "-a" "03862d5fadb3f9edef14a25541034e7dbce37bbd2ae26a76505f1a56c36cccc7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [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 unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking cityhash-rs v1.0.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [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 toml v0.5.9 [INFO] [stderr] Checking arbitrary v1.1.3 [INFO] [stderr] Checking mymq v0.1.0 (/opt/rustwide/workdir) [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: 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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/suback.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | .map(|code| SubAckReasonCode::try_from(code).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/unsuback.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | .map(|code| UnsubAckReasonCode::try_from(code).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/client.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn split_rw(mut self) -> io::Result<(Client, Client)> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | let cio = mem::replace(&mut self.cio, ClientIO::None); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | [INFO] [stdout] 233 | let (rd_cio, wt_cio) = cio.split_sock()?; [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | let reader = Client { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | let _none = mem::replace(&mut self.cio, wt_cio); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Ok((reader, self)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/client.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 654 | mut sock: net::TcpStream, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 683 | let cio = match blocking { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 686 | let sock = mio::net::TcpStream::from_std(sock); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 691 | Ok((cio, connack)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/rebalance.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | master: node.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/rebalance.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | replicas: Vec::new(), // TODO: with_capacity ? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn spawn(name: &str, thrd: T) -> Thread { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | handle: Some(thread::spawn(move || thrd.main_loop(rx))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn spawn(name: &str, thrd: T) -> Thread { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | tx: Some(Tx::N(tx, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn spawn_sync(name: &str, chan_size: usize, thrd: T) -> Thread { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let (tx, rx) = mpsc::sync_channel(chan_size); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | handle: Some(thread::spawn(move || thrd.main_loop(rx))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn spawn_sync(name: &str, chan_size: usize, thrd: T) -> Thread { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let (tx, rx) = mpsc::sync_channel(chan_size); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | tx: Some(Tx::S(tx, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn close_wait(mut self) -> T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | let handle = self.handle.take().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | match handle.join() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 30 | let inner = Inner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let mu = Arc::new(Mutex::new(0)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | stats: Stats::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 30 | let inner = Inner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let mu = Arc::new(Mutex::new(0)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | inner: Arc::new(Spinlock::new(Arc::new(inner))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mu = Arc::clone(&self.mu); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | stats: self.stats.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mu = Arc::clone(&self.mu); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | inner: Arc::clone(&self.inner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 189 | let inner = Inner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let mu = Arc::new(Mutex::new(0)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | stats: Stats::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 189 | let inner = Inner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let mu = Arc::new(Mutex::new(0)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | inner: Arc::new(Spinlock::new(Arc::new(inner))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 203 | let mu = Arc::clone(&self.mu); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | stats: self.stats.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 203 | let mu = Arc::clone(&self.mu); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | inner: Arc::clone(&self.inner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/cluster.rs:317:63 [INFO] [stdout] | [INFO] [stdout] 317 | let iter = masters.iter().map(|(id, s)| (*id, s.to_msg_tx("cluster"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/cluster.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 395 | fn spawn_ticker(args: SpawnTicker) -> Result>> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | let ticker_args = SpawnArgs { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 404 | Ticker::from_config(args.config.clone())?.spawn(ticker_args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/flush.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn close_wait(mut self) -> Flusher { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | match mem::replace(&mut self.inner, Inner::Init) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/session.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 146 | fn from(args: SessionArgsMaster) -> Master { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | common: Common { config: args.config, ..Common::default() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/shard.rs:634:22 [INFO] [stdout] | [INFO] [stdout] 630 | fn new(msg_rx: MsgRx, inner: Inner, cons_io: ConsensIO) -> MasterContext { [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 634 | session: Session::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: aborting due to 24 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mymq` (lib) due to 25 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/suback.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | .map(|code| SubAckReasonCode::try_from(code).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/unsuback.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | .map(|code| UnsubAckReasonCode::try_from(code).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/client.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn split_rw(mut self) -> io::Result<(Client, Client)> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | let cio = mem::replace(&mut self.cio, ClientIO::None); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | [INFO] [stdout] 233 | let (rd_cio, wt_cio) = cio.split_sock()?; [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | let reader = Client { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | let _none = mem::replace(&mut self.cio, wt_cio); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Ok((reader, self)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/client.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 654 | mut sock: net::TcpStream, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 683 | let cio = match blocking { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 686 | let sock = mio::net::TcpStream::from_std(sock); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 691 | Ok((cio, connack)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/rebalance.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | master: node.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/rebalance.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | replicas: Vec::new(), // TODO: with_capacity ? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn spawn(name: &str, thrd: T) -> Thread { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | handle: Some(thread::spawn(move || thrd.main_loop(rx))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn spawn(name: &str, thrd: T) -> Thread { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | tx: Some(Tx::N(tx, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn spawn_sync(name: &str, chan_size: usize, thrd: T) -> Thread { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let (tx, rx) = mpsc::sync_channel(chan_size); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | handle: Some(thread::spawn(move || thrd.main_loop(rx))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn spawn_sync(name: &str, chan_size: usize, thrd: T) -> Thread { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let (tx, rx) = mpsc::sync_channel(chan_size); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | tx: Some(Tx::S(tx, None)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/thread.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn close_wait(mut self) -> T { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | let handle = self.handle.take().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | match handle.join() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 30 | let inner = Inner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let mu = Arc::new(Mutex::new(0)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | stats: Stats::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 30 | let inner = Inner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let mu = Arc::new(Mutex::new(0)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | inner: Arc::new(Spinlock::new(Arc::new(inner))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mu = Arc::clone(&self.mu); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | stats: self.stats.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mu = Arc::clone(&self.mu); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | inner: Arc::clone(&self.inner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 189 | let inner = Inner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let mu = Arc::new(Mutex::new(0)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | stats: Stats::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 189 | let inner = Inner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let mu = Arc::new(Mutex::new(0)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | inner: Arc::new(Spinlock::new(Arc::new(inner))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 203 | let mu = Arc::clone(&self.mu); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | stats: self.stats.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/ttrie.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 203 | let mu = Arc::clone(&self.mu); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | inner: Arc::clone(&self.inner), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/cluster.rs:317:63 [INFO] [stdout] | [INFO] [stdout] 317 | let iter = masters.iter().map(|(id, s)| (*id, s.to_msg_tx("cluster"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/cluster.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 395 | fn spawn_ticker(args: SpawnTicker) -> Result>> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | let ticker_args = SpawnArgs { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 404 | Ticker::from_config(args.config.clone())?.spawn(ticker_args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/flush.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn close_wait(mut self) -> Flusher { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | match mem::replace(&mut self.inner, Inner::Init) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/session.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 146 | fn from(args: SessionArgsMaster) -> Master { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | common: Common { config: args.config, ..Common::default() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/broker/shard.rs:634:22 [INFO] [stdout] | [INFO] [stdout] 630 | fn new(msg_rx: MsgRx, inner: Inner, cons_io: ConsensIO) -> MasterContext { [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 634 | session: Session::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: aborting due to 24 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mymq` (lib test) due to 25 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "03862d5fadb3f9edef14a25541034e7dbce37bbd2ae26a76505f1a56c36cccc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03862d5fadb3f9edef14a25541034e7dbce37bbd2ae26a76505f1a56c36cccc7", kill_on_drop: false }` [INFO] [stdout] 03862d5fadb3f9edef14a25541034e7dbce37bbd2ae26a76505f1a56c36cccc7