[INFO] cloning repository https://github.com/Yohsi/dbus_ddc_auto_brightness [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yohsi/dbus_ddc_auto_brightness" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYohsi%2Fdbus_ddc_auto_brightness", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYohsi%2Fdbus_ddc_auto_brightness'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a37f1a6ca5f1349ff2484a5033e5556a1fcdbfd [INFO] checking Yohsi/dbus_ddc_auto_brightness/2a37f1a6ca5f1349ff2484a5033e5556a1fcdbfd 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%2FYohsi%2Fdbus_ddc_auto_brightness" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yohsi/dbus_ddc_auto_brightness 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/Yohsi/dbus_ddc_auto_brightness [INFO] finished tweaking git repo https://github.com/Yohsi/dbus_ddc_auto_brightness [INFO] tweaked toml for git repo https://github.com/Yohsi/dbus_ddc_auto_brightness written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Yohsi/dbus_ddc_auto_brightness already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8401155c98f5772b622adfe84d6e97926db2f35486ddb7e0e843743ef8b40a03 [INFO] running `Command { std: "docker" "start" "-a" "8401155c98f5772b622adfe84d6e97926db2f35486ddb7e0e843743ef8b40a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8401155c98f5772b622adfe84d6e97926db2f35486ddb7e0e843743ef8b40a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8401155c98f5772b622adfe84d6e97926db2f35486ddb7e0e843743ef8b40a03", kill_on_drop: false }` [INFO] [stdout] 8401155c98f5772b622adfe84d6e97926db2f35486ddb7e0e843743ef8b40a03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 87eb1a1da5a85042b5cccce8fa1fd0e5cf0e23d61e231e456edb20dba87a8d66 [INFO] running `Command { std: "docker" "start" "-a" "87eb1a1da5a85042b5cccce8fa1fd0e5cf0e23d61e231e456edb20dba87a8d66", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling uninitialized v0.0.2 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking mccs v0.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking i2c v0.1.0 [INFO] [stderr] Checking resize-slice v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking ddc v0.2.2 [INFO] [stderr] Compiling ddc-hi v0.4.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking i2c-linux-sys v0.2.1 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking udev v0.2.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking i2c-linux v0.1.2 [INFO] [stderr] Checking ddc-i2c v0.2.2 [INFO] [stderr] Checking edid v0.3.0 [INFO] [stderr] Checking mccs-caps v0.1.3 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Checking mccs-db v0.1.3 [INFO] [stderr] Checking auto_brightness v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `set_brightness`, `set_brightness_silent`, and `brightness_steps` are never used [INFO] [stdout] --> src/brightness.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgKdeSolidPowerManagementActionsBrightnessControl { [INFO] [stdout] | -------------------------------------------------- methods in this trait [INFO] [stdout] 8 | fn set_brightness(&self, arg0: i32) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn set_brightness_silent(&self, arg0: i32) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn brightness_steps(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `set`, and `get_all` are never used [INFO] [stdout] --> src/brightness.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub trait OrgFreedesktopDBusProperties { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 90 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] 92 | fn get_all(&self, interface_name: &str) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/brightness.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 143 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/brightness.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 155 | fn ping(&self) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 156 | fn get_machine_id(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_config`, `set_config`, and `get_edid` are never used [INFO] [stdout] --> src/kscreen.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgKdeKscreenBackend { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] 8 | fn get_config(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | fn set_config(&self, arg0: arg::PropMap) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | fn get_edid(&self, arg0: i32) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `set`, and `get_all` are never used [INFO] [stdout] --> src/kscreen.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait OrgFreedesktopDBusProperties { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 56 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | fn get_all(&self, interface_name: &str) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/kscreen.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 109 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/kscreen.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 121 | fn ping(&self) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | fn get_machine_id(&self) -> Result; [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/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(mut display: Display) -> Result> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Monitor { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | display, [INFO] [stdout] 35 | | max_brightness, [INFO] [stdout] 36 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/brightness.rs:133:68 [INFO] [stdout] | [INFO] [stdout] 132 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), dbus::Error> { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | self.method_call("org.freedesktop.DBus.Properties", "Set", (interface_name, property_name, value, )) [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/kscreen.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_config(&self, arg0: arg::PropMap) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | self.method_call("org.kde.kscreen.Backend", "setConfig", (arg0, )) [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/kscreen.rs:99:68 [INFO] [stdout] | [INFO] [stdout] 98 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), dbus::Error> { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | self.method_call("org.freedesktop.DBus.Properties", "Set", (interface_name, property_name, value, )) [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 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `auto_brightness` (bin "auto_brightness") due to 5 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `set_brightness`, `set_brightness_silent`, and `brightness_steps` are never used [INFO] [stdout] --> src/brightness.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgKdeSolidPowerManagementActionsBrightnessControl { [INFO] [stdout] | -------------------------------------------------- methods in this trait [INFO] [stdout] 8 | fn set_brightness(&self, arg0: i32) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn set_brightness_silent(&self, arg0: i32) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn brightness_steps(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `set`, and `get_all` are never used [INFO] [stdout] --> src/brightness.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub trait OrgFreedesktopDBusProperties { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 90 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] 92 | fn get_all(&self, interface_name: &str) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/brightness.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 143 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/brightness.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 155 | fn ping(&self) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 156 | fn get_machine_id(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_config`, `set_config`, and `get_edid` are never used [INFO] [stdout] --> src/kscreen.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait OrgKdeKscreenBackend { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] 8 | fn get_config(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | fn set_config(&self, arg0: arg::PropMap) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | fn get_edid(&self, arg0: i32) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `set`, and `get_all` are never used [INFO] [stdout] --> src/kscreen.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait OrgFreedesktopDBusProperties { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 56 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | fn get_all(&self, interface_name: &str) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/kscreen.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 109 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/kscreen.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 121 | fn ping(&self) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | fn get_machine_id(&self) -> Result; [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/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(mut display: Display) -> Result> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Monitor { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | display, [INFO] [stdout] 35 | | max_brightness, [INFO] [stdout] 36 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/brightness.rs:133:68 [INFO] [stdout] | [INFO] [stdout] 132 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), dbus::Error> { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | self.method_call("org.freedesktop.DBus.Properties", "Set", (interface_name, property_name, value, )) [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/kscreen.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_config(&self, arg0: arg::PropMap) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | self.method_call("org.kde.kscreen.Backend", "setConfig", (arg0, )) [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/kscreen.rs:99:68 [INFO] [stdout] | [INFO] [stdout] 98 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), dbus::Error> { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | self.method_call("org.freedesktop.DBus.Properties", "Set", (interface_name, property_name, value, )) [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 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `auto_brightness` (bin "auto_brightness" test) due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "87eb1a1da5a85042b5cccce8fa1fd0e5cf0e23d61e231e456edb20dba87a8d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87eb1a1da5a85042b5cccce8fa1fd0e5cf0e23d61e231e456edb20dba87a8d66", kill_on_drop: false }` [INFO] [stdout] 87eb1a1da5a85042b5cccce8fa1fd0e5cf0e23d61e231e456edb20dba87a8d66