[INFO] fetching crate messagebus 0.15.2... [INFO] checking messagebus-0.15.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate messagebus 0.15.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate messagebus 0.15.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate messagebus 0.15.2 [INFO] finished tweaking crates.io crate messagebus 0.15.2 [INFO] tweaked toml for crates.io crate messagebus 0.15.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate messagebus 0.15.2 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d9957ff206cd35cc8c5fa0a93f8d59f03892bcbbb67d94ca5f0735624014ad9 [INFO] running `Command { std: "docker" "start" "-a" "7d9957ff206cd35cc8c5fa0a93f8d59f03892bcbbb67d94ca5f0735624014ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d9957ff206cd35cc8c5fa0a93f8d59f03892bcbbb67d94ca5f0735624014ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d9957ff206cd35cc8c5fa0a93f8d59f03892bcbbb67d94ca5f0735624014ad9", kill_on_drop: false }` [INFO] [stdout] 7d9957ff206cd35cc8c5fa0a93f8d59f03892bcbbb67d94ca5f0735624014ad9 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc0d54a94003703c8f23efd610ea3915770515a75f3414cce38b454e38b8ebd4 [INFO] running `Command { std: "docker" "start" "-a" "fc0d54a94003703c8f23efd610ea3915770515a75f3414cce38b454e38b8ebd4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking boxcar v0.2.3 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking kanal v0.1.0-pre8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking messagebus v0.15.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result<(), <>::Context as Handler>::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handler.rs:172:35 [INFO] [stdout] | [INFO] [stdout] 95 | let _test = spawn_counter.clone().lease_unit(|| true); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | if let Err(err) = handler.finalize(bus.clone()).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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_type_id` is never used [INFO] [stdout] --> src/chan.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait AbstractSender: Any + Send + Sync { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn message_type_id(&self) -> TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_producer` and `terminate` are never used [INFO] [stdout] --> src/chan.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) trait BusSenderClose: Any + Send + Sync { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 36 | fn upcast(&self) -> &(dyn Any + Send + Sync); [INFO] [stdout] 37 | fn is_producer(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn terminate(&self) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_producer` is never read [INFO] [stdout] --> src/chan.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct BusSender { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 44 | is_producer: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/chan.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn close(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `messagebus` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result<(), <>::Context as Handler>::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handler.rs:172:35 [INFO] [stdout] | [INFO] [stdout] 95 | let _test = spawn_counter.clone().lease_unit(|| true); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | if let Err(err) = handler.finalize(bus.clone()).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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_type_id` is never used [INFO] [stdout] --> src/chan.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait AbstractSender: Any + Send + Sync { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn message_type_id(&self) -> TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_producer` and `terminate` are never used [INFO] [stdout] --> src/chan.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) trait BusSenderClose: Any + Send + Sync { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 36 | fn upcast(&self) -> &(dyn Any + Send + Sync); [INFO] [stdout] 37 | fn is_producer(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn terminate(&self) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_producer` is never read [INFO] [stdout] --> src/chan.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct BusSender { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 44 | is_producer: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/chan.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn close(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `messagebus` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fc0d54a94003703c8f23efd610ea3915770515a75f3414cce38b454e38b8ebd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc0d54a94003703c8f23efd610ea3915770515a75f3414cce38b454e38b8ebd4", kill_on_drop: false }` [INFO] [stdout] fc0d54a94003703c8f23efd610ea3915770515a75f3414cce38b454e38b8ebd4