[INFO] cloning repository https://github.com/brain0/pulseaudio-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brain0/pulseaudio-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrain0%2Fpulseaudio-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrain0%2Fpulseaudio-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2da6991ec9272f3c20bdc5cb6b8ec9f90434ed01 [INFO] checking brain0/pulseaudio-rs/2da6991ec9272f3c20bdc5cb6b8ec9f90434ed01 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrain0%2Fpulseaudio-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brain0/pulseaudio-rs 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 git repo https://github.com/brain0/pulseaudio-rs [INFO] finished tweaking git repo https://github.com/brain0/pulseaudio-rs [INFO] tweaked toml for git repo https://github.com/brain0/pulseaudio-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/brain0/pulseaudio-rs 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] 2ccb9390ef2053acb0bbc5e35515c3d9927a6128816f0654c7218ea2129a6be9 [INFO] running `Command { std: "docker" "start" "-a" "2ccb9390ef2053acb0bbc5e35515c3d9927a6128816f0654c7218ea2129a6be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ccb9390ef2053acb0bbc5e35515c3d9927a6128816f0654c7218ea2129a6be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ccb9390ef2053acb0bbc5e35515c3d9927a6128816f0654c7218ea2129a6be9", kill_on_drop: false }` [INFO] [stdout] 2ccb9390ef2053acb0bbc5e35515c3d9927a6128816f0654c7218ea2129a6be9 [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] 964c0d58884654889b0952cb093860c2241d31d1537292da20ea9ab2ad9c33e5 [INFO] running `Command { std: "docker" "start" "-a" "964c0d58884654889b0952cb093860c2241d31d1537292da20ea9ab2ad9c33e5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.35 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking futures v0.1.17 (https://github.com/brain0/futures-rs.git?branch=has_current#881b227f) [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking libpulse-sys v0.0.0 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking mio v0.6.12 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Checking future_pubsub v0.1.3 [INFO] [stderr] Checking tokio-core v0.1.11 [INFO] [stderr] Checking pulseaudio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokio_mainloop_api/api_impl/completion_future.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | Boxed(Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | Boxed(Box>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokio_mainloop_api/api_impl/completion_future.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | Boxed(Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | Boxed(Box>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mainloop_api` is never read [INFO] [stdout] --> src/context/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PaContext { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | raw: ExplicitCleanup>, [INFO] [stdout] 23 | mainloop_api: M, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/context/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 35 | let raw; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let state_cb_receivers = state::StateCallbackReceivers::new(raw.clone()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | PaContext { [INFO] [stdout] 43 | raw: ExplicitCleanup::new(raw), [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/context/mod.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 35 | let raw; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let state_cb_receivers = state::StateCallbackReceivers::new(raw.clone()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | mainloop_api: api.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/context/mod.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 35 | let raw; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let state_cb_receivers = state::StateCallbackReceivers::new(raw.clone()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | state_cb_receivers: ExplicitCleanup::new(state_cb_receivers), [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/tokio_mainloop_api/api_impl/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe fn run_api_function(a: *mut pa_mainloop_api, f: F) -> T where F: Fn(&TokioMainLoopApiImpl) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | f(&*((*a).userdata as *const TokioMainLoopApiImpl)) [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/tokio_mainloop_api/api_impl/mod.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | run_api_function(a, |data| data.io.borrow_mut().spawn(fd, events, cb, userdata, data)) [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/tokio_mainloop_api/api_impl/mod.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | run_api_function(a, |data| data.timers.borrow_mut().spawn(ref_from_ptr(tv), cb, userdata, data)) [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/tokio_mainloop_api/api_impl/external_reference.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(parent: Weak) -> ExternalReference { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ExternalReference { inner: Box::new(ExternalReferenceInner{ parent }) } [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/tokio_mainloop_api/api_impl/deferred.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe fn event_fn(e: *mut pa_defer_event, f: F) where F: FnOnce(&Self, &DeferredEvent) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ExternalReference::run(e, |data| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 73 | | let d = data.deferred.borrow(); [INFO] [stdout] 74 | | if let Some(deferred) = d.events.get(&(e as usize)) { [INFO] [stdout] 75 | | f(&*d, deferred); [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | }) [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/tokio_mainloop_api/api_impl/deferred.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | .map(|k| d.events.remove(&k).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/tokio_mainloop_api/api_impl/io/mod.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe fn event_fn(e: *mut pa_io_event, f: F) -> T where F: FnOnce(&TokioMainLoopApiImpl, usize) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | ExternalReference::run(e, |data| f(data, e as usize)) [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/tokio_mainloop_api/api_impl/io/mod.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | Self::event_fn(e, |data, index| data.io.borrow().enable_impl(data, index, events)); [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/tokio_mainloop_api/api_impl/io/mod.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | Self::event_fn(e, |data, _| data.io.borrow().free_impl(data, 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokio_mainloop_api/api_impl/io/mod.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | Self::event_fn(e, |data, index| data.io.borrow().set_destroy_cb_impl(index, cb)) [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/tokio_mainloop_api/api_impl/io/io_event_stream/mod.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | fd_map.retain(|_, weak| weak.upgrade().is_some()); [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/tokio_mainloop_api/api_impl/timer.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe fn event_fn(e: *mut pa_time_event, f: F) -> T where F: FnOnce(&TokioMainLoopApiImpl, usize) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | ExternalReference::run(e, |data| f(data, e as usize)) [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/tokio_mainloop_api/api_impl/timer.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | Self::event_fn(e, |data, index| data.timers.borrow_mut().restart_impl(data, index, tv)) [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/tokio_mainloop_api/api_impl/timer.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | Self::event_fn(e, |data, index| data.timers.borrow_mut().free_impl(data, index)) [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/tokio_mainloop_api/api_impl/timer.rs:178:41 [INFO] [stdout] | [INFO] [stdout] 178 | Self::event_fn(e, |data, index| data.timers.borrow_mut().set_destroy_cb_impl(index, cb)) [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 18 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pulseaudio` (lib) due to 19 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `mainloop_api` is never read [INFO] [stdout] --> src/context/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PaContext { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | raw: ExplicitCleanup>, [INFO] [stdout] 23 | mainloop_api: M, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/context/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 35 | let raw; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let state_cb_receivers = state::StateCallbackReceivers::new(raw.clone()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | PaContext { [INFO] [stdout] 43 | raw: ExplicitCleanup::new(raw), [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/context/mod.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 35 | let raw; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let state_cb_receivers = state::StateCallbackReceivers::new(raw.clone()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | mainloop_api: api.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/context/mod.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 35 | let raw; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let state_cb_receivers = state::StateCallbackReceivers::new(raw.clone()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | state_cb_receivers: ExplicitCleanup::new(state_cb_receivers), [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/tokio_mainloop_api/api_impl/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe fn run_api_function(a: *mut pa_mainloop_api, f: F) -> T where F: Fn(&TokioMainLoopApiImpl) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | f(&*((*a).userdata as *const TokioMainLoopApiImpl)) [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/tokio_mainloop_api/api_impl/mod.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | run_api_function(a, |data| data.io.borrow_mut().spawn(fd, events, cb, userdata, data)) [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/tokio_mainloop_api/api_impl/mod.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | run_api_function(a, |data| data.timers.borrow_mut().spawn(ref_from_ptr(tv), cb, userdata, data)) [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/tokio_mainloop_api/api_impl/external_reference.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(parent: Weak) -> ExternalReference { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ExternalReference { inner: Box::new(ExternalReferenceInner{ parent }) } [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/tokio_mainloop_api/api_impl/deferred.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe fn event_fn(e: *mut pa_defer_event, f: F) where F: FnOnce(&Self, &DeferredEvent) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ExternalReference::run(e, |data| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 73 | | let d = data.deferred.borrow(); [INFO] [stdout] 74 | | if let Some(deferred) = d.events.get(&(e as usize)) { [INFO] [stdout] 75 | | f(&*d, deferred); [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | }) [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/tokio_mainloop_api/api_impl/deferred.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | .map(|k| d.events.remove(&k).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/tokio_mainloop_api/api_impl/io/mod.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe fn event_fn(e: *mut pa_io_event, f: F) -> T where F: FnOnce(&TokioMainLoopApiImpl, usize) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | ExternalReference::run(e, |data| f(data, e as usize)) [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/tokio_mainloop_api/api_impl/io/mod.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | Self::event_fn(e, |data, index| data.io.borrow().enable_impl(data, index, events)); [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/tokio_mainloop_api/api_impl/io/mod.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | Self::event_fn(e, |data, _| data.io.borrow().free_impl(data, 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokio_mainloop_api/api_impl/io/mod.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | Self::event_fn(e, |data, index| data.io.borrow().set_destroy_cb_impl(index, cb)) [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/tokio_mainloop_api/api_impl/io/io_event_stream/mod.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | fd_map.retain(|_, weak| weak.upgrade().is_some()); [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/tokio_mainloop_api/api_impl/timer.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe fn event_fn(e: *mut pa_time_event, f: F) -> T where F: FnOnce(&TokioMainLoopApiImpl, usize) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | ExternalReference::run(e, |data| f(data, e as usize)) [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/tokio_mainloop_api/api_impl/timer.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | Self::event_fn(e, |data, index| data.timers.borrow_mut().restart_impl(data, index, tv)) [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/tokio_mainloop_api/api_impl/timer.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | Self::event_fn(e, |data, index| data.timers.borrow_mut().free_impl(data, index)) [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/tokio_mainloop_api/api_impl/timer.rs:178:41 [INFO] [stdout] | [INFO] [stdout] 178 | Self::event_fn(e, |data, index| data.timers.borrow_mut().set_destroy_cb_impl(index, cb)) [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 18 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pulseaudio` (lib test) due to 19 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "964c0d58884654889b0952cb093860c2241d31d1537292da20ea9ab2ad9c33e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964c0d58884654889b0952cb093860c2241d31d1537292da20ea9ab2ad9c33e5", kill_on_drop: false }` [INFO] [stdout] 964c0d58884654889b0952cb093860c2241d31d1537292da20ea9ab2ad9c33e5