[INFO] fetching crate libudev 0.3.0... [INFO] checking libudev-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate libudev 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate libudev 0.3.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 libudev 0.3.0 [INFO] finished tweaking crates.io crate libudev 0.3.0 [INFO] tweaked toml for crates.io crate libudev 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate libudev 0.3.0 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a90aede6a8a4d2366b6e7e7bcee712ae27dee26904f98e9c29b93b4f1143fda5 [INFO] running `Command { std: "docker" "start" "-a" "a90aede6a8a4d2366b6e7e7bcee712ae27dee26904f98e9c29b93b4f1143fda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a90aede6a8a4d2366b6e7e7bcee712ae27dee26904f98e9c29b93b4f1143fda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90aede6a8a4d2366b6e7e7bcee712ae27dee26904f98e9c29b93b4f1143fda5", kill_on_drop: false }` [INFO] [stdout] a90aede6a8a4d2366b6e7e7bcee712ae27dee26904f98e9c29b93b4f1143fda5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 64e29a2cee8d7afb0f1a7ab7f2f391d369b73dc16503282a9483e001f0ca4b12 [INFO] running `Command { std: "docker" "start" "-a" "64e29a2cee8d7afb0f1a7ab7f2f391d369b73dc16503282a9483e001f0ca4b12", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking libudev v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let syspath = try!(::util::os_str_to_cstring(syspath)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let sysname = try!(::util::os_str_to_cstring(sysname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let property = try!(::util::os_str_to_cstring(property)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let tag = try!(::util::os_str_to_cstring(tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | let syspath = try!(::util::os_str_to_cstring(syspath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | try!(::util::errno_to_result(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let devtype = try!(::util::os_str_to_cstring(devtype)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let tag = try!(::util::os_str_to_cstring(tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | try!(::util::errno_to_result(unsafe { [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/device.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 50 | let syspath = try!(::util::os_str_to_cstring(syspath)); [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] 51 | [INFO] [stdout] 52 | Ok(unsafe { [INFO] [stdout] | ____________^ [INFO] [stdout] 53 | | from_raw(try_alloc!( [INFO] [stdout] 54 | | ::ffi::udev_device_new_from_syspath(context.as_ptr(), syspath.as_ptr()) [INFO] [stdout] 55 | | )) [INFO] [stdout] 56 | | }) [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/device.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn property_value>(&self, property: T) -> Option<&OsStr> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | match ::util::os_str_to_cstring(property) { [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/device.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn attribute_value>(&self, attribute: T) -> Option<&OsStr> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | match ::util::os_str_to_cstring(attribute) { [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/monitor.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn listen(self) -> ::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Ok(MonitorSocket { inner: self }) [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/util.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn os_str_to_cstring>(s: T) -> ::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | match CString::new(s.as_ref().as_bytes()) { [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 5 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let syspath = try!(::util::os_str_to_cstring(syspath)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/device.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let sysname = try!(::util::os_str_to_cstring(sysname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let property = try!(::util::os_str_to_cstring(property)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let tag = try!(::util::os_str_to_cstring(tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let attribute = try!(::util::os_str_to_cstring(attribute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let value = try!(::util::os_str_to_cstring(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | let syspath = try!(::util::os_str_to_cstring(syspath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/enumerator.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | try!(::util::errno_to_result(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let subsystem = try!(::util::os_str_to_cstring(subsystem)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let devtype = try!(::util::os_str_to_cstring(devtype)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let tag = try!(::util::os_str_to_cstring(tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/monitor.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | try!(::util::errno_to_result(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libudev` (lib test) due to 6 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/device.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 50 | let syspath = try!(::util::os_str_to_cstring(syspath)); [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] 51 | [INFO] [stdout] 52 | Ok(unsafe { [INFO] [stdout] | ____________^ [INFO] [stdout] 53 | | from_raw(try_alloc!( [INFO] [stdout] 54 | | ::ffi::udev_device_new_from_syspath(context.as_ptr(), syspath.as_ptr()) [INFO] [stdout] 55 | | )) [INFO] [stdout] 56 | | }) [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/device.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn property_value>(&self, property: T) -> Option<&OsStr> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | match ::util::os_str_to_cstring(property) { [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/device.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn attribute_value>(&self, attribute: T) -> Option<&OsStr> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | match ::util::os_str_to_cstring(attribute) { [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/monitor.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn listen(self) -> ::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Ok(MonitorSocket { inner: self }) [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/util.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn os_str_to_cstring>(s: T) -> ::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | match CString::new(s.as_ref().as_bytes()) { [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 5 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libudev` (lib) due to 6 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "64e29a2cee8d7afb0f1a7ab7f2f391d369b73dc16503282a9483e001f0ca4b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e29a2cee8d7afb0f1a7ab7f2f391d369b73dc16503282a9483e001f0ca4b12", kill_on_drop: false }` [INFO] [stdout] 64e29a2cee8d7afb0f1a7ab7f2f391d369b73dc16503282a9483e001f0ca4b12