[INFO] fetching crate ksunami 0.1.10... [INFO] checking ksunami-0.1.10 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ksunami 0.1.10 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ksunami 0.1.10 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 ksunami 0.1.10 [INFO] finished tweaking crates.io crate ksunami 0.1.10 [INFO] tweaked toml for crates.io crate ksunami 0.1.10 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ksunami 0.1.10 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 69907baf13659fcf6e129ffa4f57d740901c5995c959f30dd2763a4371bafcb7 [INFO] running `Command { std: "docker" "start" "-a" "69907baf13659fcf6e129ffa4f57d740901c5995c959f30dd2763a4371bafcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69907baf13659fcf6e129ffa4f57d740901c5995c959f30dd2763a4371bafcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69907baf13659fcf6e129ffa4f57d740901c5995c959f30dd2763a4371bafcb7", kill_on_drop: false }` [INFO] [stdout] 69907baf13659fcf6e129ffa4f57d740901c5995c959f30dd2763a4371bafcb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6498ee9e722cd5b041fd489b9f4e2784a0fa36338962912437382cd70835f464 [INFO] running `Command { std: "docker" "start" "-a" "6498ee9e722cd5b041fd489b9f4e2784a0fa36338962912437382cd70835f464", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling os_pipe v1.1.5 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling rdkafka-sys v4.7.0+2.3.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking roots v0.0.8 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Compiling krb5-src v0.3.3+1.19.2 [INFO] [stderr] Compiling sasl2-sys v0.1.22+2.1.28 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking flo_curves v0.7.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [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 toml_edit v0.19.15 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rdkafka v0.36.2 [INFO] [stderr] Checking ksunami v0.1.10 (/opt/rustwide/workdir) [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/producer_sink.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn spawn(&mut self, mut records_rx: mpsc::Receiver) -> JoinHandle<(u64, u64)> { [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let producer = self.producer.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 40 | | let send_success = Arc::new(Mutex::new(0u64)); [INFO] [stdout] 41 | | let send_fail = Arc::new(Mutex::new(0u64)); [INFO] [stdout] ... | [INFO] [stdout] 73 | | (*success, *fail) [INFO] [stdout] 74 | | }) [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/producer_sink.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 48 | let producer = producer.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let send_success = send_success.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let send_fail = send_fail.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let rec = gen_rec.as_future_record(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | match producer.send(rec, Timeout::Never).await { [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/records_tap.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 40 | records_tx: mpsc::Sender, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | mut shutdown_rx: broadcast::Receiver<()>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 47 | | // Seconds since we started producing [INFO] [stdout] 48 | | let mut sec = 0u64; [INFO] [stdout] ... | [INFO] [stdout] 107 | | sec [INFO] [stdout] 108 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ksunami` (bin "ksunami") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/producer_sink.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn spawn(&mut self, mut records_rx: mpsc::Receiver) -> JoinHandle<(u64, u64)> { [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let producer = self.producer.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 40 | | let send_success = Arc::new(Mutex::new(0u64)); [INFO] [stdout] 41 | | let send_fail = Arc::new(Mutex::new(0u64)); [INFO] [stdout] ... | [INFO] [stdout] 73 | | (*success, *fail) [INFO] [stdout] 74 | | }) [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/producer_sink.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 48 | let producer = producer.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let send_success = send_success.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let send_fail = send_fail.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let rec = gen_rec.as_future_record(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | match producer.send(rec, Timeout::Never).await { [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/records_tap.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 40 | records_tx: mpsc::Sender, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | mut shutdown_rx: broadcast::Receiver<()>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 47 | | // Seconds since we started producing [INFO] [stdout] 48 | | let mut sec = 0u64; [INFO] [stdout] ... | [INFO] [stdout] 107 | | sec [INFO] [stdout] 108 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ksunami` (bin "ksunami" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "6498ee9e722cd5b041fd489b9f4e2784a0fa36338962912437382cd70835f464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6498ee9e722cd5b041fd489b9f4e2784a0fa36338962912437382cd70835f464", kill_on_drop: false }` [INFO] [stdout] 6498ee9e722cd5b041fd489b9f4e2784a0fa36338962912437382cd70835f464