[INFO] fetching crate kafka 0.10.0... [INFO] checking kafka-0.10.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate kafka 0.10.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate kafka 0.10.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kafka 0.10.0 [INFO] finished tweaking crates.io crate kafka 0.10.0 [INFO] tweaked toml for crates.io crate kafka 0.10.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate kafka 0.10.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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db4312cba9980089f7ed17c26a8e1875336b2eb267bca4ae0efa506e81a7b898 [INFO] running `Command { std: "docker" "start" "-a" "db4312cba9980089f7ed17c26a8e1875336b2eb267bca4ae0efa506e81a7b898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db4312cba9980089f7ed17c26a8e1875336b2eb267bca4ae0efa506e81a7b898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db4312cba9980089f7ed17c26a8e1875336b2eb267bca4ae0efa506e81a7b898", kill_on_drop: false }` [INFO] [stdout] db4312cba9980089f7ed17c26a8e1875336b2eb267bca4ae0efa506e81a7b898 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cf1bc64b43aa6d82e637f4b265cc571a15e653e0059fdaf6745ebff69acfc68 [INFO] running `Command { std: "docker" "start" "-a" "5cf1bc64b43aa6d82e637f4b265cc571a15e653e0059fdaf6745ebff69acfc68", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling snap v1.1.0 [INFO] [stderr] Checking crc-catalog v2.2.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling kafka v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking ref_slice v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking time v0.3.29 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/protocol/fetch.rs:212:36 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn topics<'a>(&'a self) -> &[Topic<'a>] { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/protocol/mod.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> HeaderRequest<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 131 | ) -> HeaderRequest<'_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/protocol/fetch.rs:212:36 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn topics<'a>(&'a self) -> &[Topic<'a>] { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/protocol/mod.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 125 | impl<'a> HeaderRequest<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 131 | ) -> HeaderRequest<'_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codecs.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 125 | let mut temp: Self::R = Default::default(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | match temp.decode(buffer) { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compression/gzip.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 18 | let mut d = GzDecoder::new(src); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | match d.read_to_end(&mut buffer) { [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: this value of type `std::result::Result<(), error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codecs.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 125 | let mut temp: Self::R = Default::default(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | match temp.decode(buffer) { [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/consumer/mod.rs:255:25 [INFO] [stdout] | [INFO] [stdout] 255 | let mut fetch_state = self [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compression/gzip.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 18 | let mut d = GzDecoder::new(src); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | match d.read_to_end(&mut buffer) { [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: variable does not need to be mutable [INFO] [stdout] --> src/consumer/mod.rs:255:25 [INFO] [stdout] | [INFO] [stdout] 255 | let mut fetch_state = self [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kafka` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `error::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/protocol/mod.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 202 | let r = to_millis_i32(d); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | Err(e) => panic!("Expected Ok({}) but got Err({:?})", expected_millis, e), [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: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kafka` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5cf1bc64b43aa6d82e637f4b265cc571a15e653e0059fdaf6745ebff69acfc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf1bc64b43aa6d82e637f4b265cc571a15e653e0059fdaf6745ebff69acfc68", kill_on_drop: false }` [INFO] [stdout] 5cf1bc64b43aa6d82e637f4b265cc571a15e653e0059fdaf6745ebff69acfc68