[INFO] fetching crate android-powerstats 0.0.0... [INFO] checking android-powerstats-0.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate android-powerstats 0.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate android-powerstats 0.0.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 android-powerstats 0.0.0 [INFO] finished tweaking crates.io crate android-powerstats 0.0.0 [INFO] tweaked toml for crates.io crate android-powerstats 0.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.64.0 (latest: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 6a1b791667a515b85baac3e918a087f32a39056a820e7207fa2f17ae660ef581 [INFO] running `Command { std: "docker" "start" "-a" "6a1b791667a515b85baac3e918a087f32a39056a820e7207fa2f17ae660ef581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a1b791667a515b85baac3e918a087f32a39056a820e7207fa2f17ae660ef581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a1b791667a515b85baac3e918a087f32a39056a820e7207fa2f17ae660ef581", kill_on_drop: false }` [INFO] [stdout] 6a1b791667a515b85baac3e918a087f32a39056a820e7207fa2f17ae660ef581 [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] d4a647cb0ac90742f84bf74e9f6611acc2525c54baaf1398bbd38b992633cd9b [INFO] running `Command { std: "docker" "start" "-a" "d4a647cb0ac90742f84bf74e9f6611acc2525c54baaf1398bbd38b992633cd9b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling binder_ndk_sys v0.2.0 [INFO] [stderr] Checking binder_ndk v0.2.0 [INFO] [stderr] Checking android-powerstats v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/bundle.rs:182:44 [INFO] [stdout] | [INFO] [stdout] 182 | if n >= 0 && n <= (avail / std::mem::size_of::() as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(unused_qualifications)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 182 - if n >= 0 && n <= (avail / std::mem::size_of::() as i32) { [INFO] [stdout] 182 + if n >= 0 && n <= (avail / size_of::() as i32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/bundle.rs:182:44 [INFO] [stdout] | [INFO] [stdout] 182 | if n >= 0 && n <= (avail / std::mem::size_of::() as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(unused_qualifications)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 182 - if n >= 0 && n <= (avail / std::mem::size_of::() as i32) { [INFO] [stdout] 182 + if n >= 0 && n <= (avail / size_of::() as i32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `setDefaultImpl` is never used [INFO] [stdout] --> src/android/hardware/power/stats/IPowerStats.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait IPowerStats: binder::Interface + Send { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn setDefaultImpl(d: IPowerStatsDefaultRef) -> IPowerStatsDefaultRef where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/android/hardware/power/stats/IPowerStats.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait IPowerStatsAsync

: binder::Interface + Send { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] 32 | fn get_descriptor() -> &'static str where Self: Sized { "android.hardware.power.stats.IPowerStats" } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | fn getPowerEntityInfo<'a>(&'a self) -> binder::BoxFuture<'a, binder::Result(&'a self, _arg_powerEntityIds: &'a [i32]) -> binder::BoxFuture<'a, binder::Result(&'a self) -> binder::BoxFuture<'a, binder::Result(&'a self, _arg_energyConsumerIds: &'a [i32]) -> binder::BoxFuture<'a, binder::Result(&'a self) -> binder::BoxFuture<'a, binder::Result(&'a self, _arg_channelIds: &'a [i32]) -> binder::BoxFuture<'a, binder::Result src/bundle.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | BooleanArray(Vec), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 | BooleanArray(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_descriptor` and `setDefaultImpl` are never used [INFO] [stdout] --> src/com/android/internal/os/IResultReceiver.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait IResultReceiver: binder::Interface + Send { [INFO] [stdout] | --------------- associated functions in this trait [INFO] [stdout] 17 | fn get_descriptor() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn setDefaultImpl(d: IResultReceiverDefaultRef) -> IResultReceiverDefaultRef [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_descriptor` and `send` are never used [INFO] [stdout] --> src/com/android/internal/os/IResultReceiver.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait IResultReceiverAsync

: binder::Interface + Send { [INFO] [stdout] | -------------------- associated items in this trait [INFO] [stdout] 42 | fn get_descriptor() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn r#send( [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/android/hardware/power/stats/IPowerStats.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn setDefaultImpl(d: IPowerStatsDefaultRef) -> IPowerStatsDefaultRef where Self: Sized { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | std::mem::replace(&mut *DEFAULT_IMPL.lock().unwrap(), d) [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/android/hardware/power/stats/IPowerStats.rs:267:7 [INFO] [stdout] | [INFO] [stdout] 261 | let _aidl_data = match self.build_parcel_getPowerEntityInfo() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | }; [INFO] [stdout] 265 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | P::spawn( [INFO] [stdout] 267 | move || binder.submit_transact(transactions::getPowerEntityInfo, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:280:7 [INFO] [stdout] | [INFO] [stdout] 274 | let _aidl_data = match self.build_parcel_getStateResidency(_arg_powerEntityIds) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | }; [INFO] [stdout] 278 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | P::spawn( [INFO] [stdout] 280 | move || binder.submit_transact(transactions::getStateResidency, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 287 | let _aidl_data = match self.build_parcel_getEnergyConsumerInfo() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | }; [INFO] [stdout] 291 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | P::spawn( [INFO] [stdout] 293 | move || binder.submit_transact(transactions::getEnergyConsumerInfo, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 300 | let _aidl_data = match self.build_parcel_getEnergyConsumed(_arg_energyConsumerIds) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | }; [INFO] [stdout] 304 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | P::spawn( [INFO] [stdout] 306 | move || binder.submit_transact(transactions::getEnergyConsumed, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:319:7 [INFO] [stdout] | [INFO] [stdout] 313 | let _aidl_data = match self.build_parcel_getEnergyMeterInfo() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 315 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | }; [INFO] [stdout] 317 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | P::spawn( [INFO] [stdout] 319 | move || binder.submit_transact(transactions::getEnergyMeterInfo, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:332:7 [INFO] [stdout] | [INFO] [stdout] 326 | let _aidl_data = match self.build_parcel_readEnergyMeter(_arg_channelIds) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | }; [INFO] [stdout] 330 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | P::spawn( [INFO] [stdout] 332 | move || binder.submit_transact(transactions::readEnergyMeter, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android_os_powerstatsservice.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | parcel.read::().map(|pm| Box::new(pm) as _) [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/android_os_powerstatsservice.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 100 | let (s, r) = 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] 101 | (Self(s), r) [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/android_os_powerstatsservice.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 137 | let (s, r) = 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] 138 | (Self(s), r) [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/android/os/IPowerStatsService.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn setDefaultImpl(d: IPowerStatsServiceDefaultRef) -> IPowerStatsServiceDefaultRef [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | std::mem::replace(&mut *DEFAULT_IMPL.lock().unwrap(), d) [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/android/os/IPowerStatsService.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 260 | let _aidl_data = match self.build_parcel_getSupportedPowerMonitors(_arg_resultReceiver) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Err(err) => return std::future::ready(Err(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | }; [INFO] [stdout] 264 | let _aidl_reply = self.binder.submit_transact( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | self.read_response_getSupportedPowerMonitors(_arg_resultReceiver, _aidl_reply), [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/android/os/IPowerStatsService.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 278 | let _aidl_data = match self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | Err(err) => return std::future::ready(Err(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | }; [INFO] [stdout] 284 | let _aidl_reply = self.binder.submit_transact( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | std::future::ready(self.read_response_getPowerMonitorReadings( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 290 | | _arg_powerMonitorIndices, [INFO] [stdout] 291 | | _arg_resultReceiver, [INFO] [stdout] 292 | | _aidl_reply, [INFO] [stdout] 293 | | )) [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/bundle.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 267 | let mut map = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | Ok(Self(map)) [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/result_receiver.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 64 | SpIBinder::deserialize(parcel).map(|binder| Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | binder: ::try_from(binder) [INFO] [stdout] | _____________________^ [INFO] [stdout] 66 | | .expect("Wrong binder type"), [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/com/android/internal/os/IResultReceiver.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn setDefaultImpl(d: IResultReceiverDefaultRef) -> IResultReceiverDefaultRef [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | std::mem::replace(&mut *DEFAULT_IMPL.lock().unwrap(), d) [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/com/android/internal/os/IResultReceiver.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 186 | let _aidl_data = match self.build_parcel_send(_arg_resultCode, _arg_resultData) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | Err(err) => return std::future::ready(Err(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | }; [INFO] [stdout] 190 | let _aidl_reply = self.binder.submit_transact( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | std::future::ready(self.read_response_send(_arg_resultCode, _arg_resultData, _aidl_reply)) [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: associated function `setDefaultImpl` is never used [INFO] [stdout] --> src/android/hardware/power/stats/IPowerStats.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait IPowerStats: binder::Interface + Send { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn setDefaultImpl(d: IPowerStatsDefaultRef) -> IPowerStatsDefaultRef where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/android/hardware/power/stats/IPowerStats.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait IPowerStatsAsync

: binder::Interface + Send { [INFO] [stdout] | ---------------- associated items in this trait [INFO] [stdout] 32 | fn get_descriptor() -> &'static str where Self: Sized { "android.hardware.power.stats.IPowerStats" } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | fn getPowerEntityInfo<'a>(&'a self) -> binder::BoxFuture<'a, binder::Result(&'a self, _arg_powerEntityIds: &'a [i32]) -> binder::BoxFuture<'a, binder::Result(&'a self) -> binder::BoxFuture<'a, binder::Result(&'a self, _arg_energyConsumerIds: &'a [i32]) -> binder::BoxFuture<'a, binder::Result(&'a self) -> binder::BoxFuture<'a, binder::Result(&'a self, _arg_channelIds: &'a [i32]) -> binder::BoxFuture<'a, binder::Result src/bundle.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | BooleanArray(Vec), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 | BooleanArray(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_descriptor` and `setDefaultImpl` are never used [INFO] [stdout] --> src/com/android/internal/os/IResultReceiver.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait IResultReceiver: binder::Interface + Send { [INFO] [stdout] | --------------- associated functions in this trait [INFO] [stdout] 17 | fn get_descriptor() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn setDefaultImpl(d: IResultReceiverDefaultRef) -> IResultReceiverDefaultRef [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_descriptor` and `send` are never used [INFO] [stdout] --> src/com/android/internal/os/IResultReceiver.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait IResultReceiverAsync

: binder::Interface + Send { [INFO] [stdout] | -------------------- associated items in this trait [INFO] [stdout] 42 | fn get_descriptor() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn r#send( [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/android/hardware/power/stats/IPowerStats.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn setDefaultImpl(d: IPowerStatsDefaultRef) -> IPowerStatsDefaultRef where Self: Sized { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | std::mem::replace(&mut *DEFAULT_IMPL.lock().unwrap(), d) [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/android/hardware/power/stats/IPowerStats.rs:267:7 [INFO] [stdout] | [INFO] [stdout] 261 | let _aidl_data = match self.build_parcel_getPowerEntityInfo() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | }; [INFO] [stdout] 265 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | P::spawn( [INFO] [stdout] 267 | move || binder.submit_transact(transactions::getPowerEntityInfo, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:280:7 [INFO] [stdout] | [INFO] [stdout] 274 | let _aidl_data = match self.build_parcel_getStateResidency(_arg_powerEntityIds) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | }; [INFO] [stdout] 278 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | P::spawn( [INFO] [stdout] 280 | move || binder.submit_transact(transactions::getStateResidency, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 287 | let _aidl_data = match self.build_parcel_getEnergyConsumerInfo() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | }; [INFO] [stdout] 291 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | P::spawn( [INFO] [stdout] 293 | move || binder.submit_transact(transactions::getEnergyConsumerInfo, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 300 | let _aidl_data = match self.build_parcel_getEnergyConsumed(_arg_energyConsumerIds) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | }; [INFO] [stdout] 304 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | P::spawn( [INFO] [stdout] 306 | move || binder.submit_transact(transactions::getEnergyConsumed, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:319:7 [INFO] [stdout] | [INFO] [stdout] 313 | let _aidl_data = match self.build_parcel_getEnergyMeterInfo() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 315 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | }; [INFO] [stdout] 317 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | P::spawn( [INFO] [stdout] 319 | move || binder.submit_transact(transactions::getEnergyMeterInfo, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android/hardware/power/stats/IPowerStats.rs:332:7 [INFO] [stdout] | [INFO] [stdout] 326 | let _aidl_data = match self.build_parcel_readEnergyMeter(_arg_channelIds) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | Err(err) => return Box::pin(std::future::ready(Err(err))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | }; [INFO] [stdout] 330 | let binder = self.binder.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | P::spawn( [INFO] [stdout] 332 | move || binder.submit_transact(transactions::readEnergyMeter, _aidl_data, binder::binder_impl::FLAG_PRIVATE_LOCAL), [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/android_os_powerstatsservice.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | parcel.read::().map(|pm| Box::new(pm) as _) [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/android_os_powerstatsservice.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 100 | let (s, r) = 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] 101 | (Self(s), r) [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/android_os_powerstatsservice.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 137 | let (s, r) = 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] 138 | (Self(s), r) [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/android/os/IPowerStatsService.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn setDefaultImpl(d: IPowerStatsServiceDefaultRef) -> IPowerStatsServiceDefaultRef [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | std::mem::replace(&mut *DEFAULT_IMPL.lock().unwrap(), d) [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/android/os/IPowerStatsService.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 260 | let _aidl_data = match self.build_parcel_getSupportedPowerMonitors(_arg_resultReceiver) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Err(err) => return std::future::ready(Err(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | }; [INFO] [stdout] 264 | let _aidl_reply = self.binder.submit_transact( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | self.read_response_getSupportedPowerMonitors(_arg_resultReceiver, _aidl_reply), [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/android/os/IPowerStatsService.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 278 | let _aidl_data = match self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | Err(err) => return std::future::ready(Err(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | }; [INFO] [stdout] 284 | let _aidl_reply = self.binder.submit_transact( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | std::future::ready(self.read_response_getPowerMonitorReadings( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 290 | | _arg_powerMonitorIndices, [INFO] [stdout] 291 | | _arg_resultReceiver, [INFO] [stdout] 292 | | _aidl_reply, [INFO] [stdout] 293 | | )) [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/bundle.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 267 | let mut map = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | Ok(Self(map)) [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/result_receiver.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 64 | SpIBinder::deserialize(parcel).map(|binder| Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | binder: ::try_from(binder) [INFO] [stdout] | _____________________^ [INFO] [stdout] 66 | | .expect("Wrong binder type"), [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/com/android/internal/os/IResultReceiver.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn setDefaultImpl(d: IResultReceiverDefaultRef) -> IResultReceiverDefaultRef [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | std::mem::replace(&mut *DEFAULT_IMPL.lock().unwrap(), d) [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/com/android/internal/os/IResultReceiver.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 186 | let _aidl_data = match self.build_parcel_send(_arg_resultCode, _arg_resultData) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | Ok(_aidl_data) => _aidl_data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | Err(err) => return std::future::ready(Err(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | }; [INFO] [stdout] 190 | let _aidl_reply = self.binder.submit_transact( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | std::future::ready(self.read_response_send(_arg_resultCode, _arg_resultData, _aidl_reply)) [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 17 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `android-powerstats` (lib) due to 18 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `android-powerstats` (lib test) due to 18 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d4a647cb0ac90742f84bf74e9f6611acc2525c54baaf1398bbd38b992633cd9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a647cb0ac90742f84bf74e9f6611acc2525c54baaf1398bbd38b992633cd9b", kill_on_drop: false }` [INFO] [stdout] d4a647cb0ac90742f84bf74e9f6611acc2525c54baaf1398bbd38b992633cd9b