[INFO] fetching crate serialport5 5.0.2... [INFO] checking serialport5-5.0.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate serialport5 5.0.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate serialport5 5.0.2 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 serialport5 5.0.2 [INFO] finished tweaking crates.io crate serialport5 5.0.2 [INFO] tweaked toml for crates.io crate serialport5 5.0.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate serialport5 5.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] aa3be9c28bc7f97e7ac61b2dbb0d2eb6f1a17e724de4f9ea4066bffbb74854c1 [INFO] running `Command { std: "docker" "start" "-a" "aa3be9c28bc7f97e7ac61b2dbb0d2eb6f1a17e724de4f9ea4066bffbb74854c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa3be9c28bc7f97e7ac61b2dbb0d2eb6f1a17e724de4f9ea4066bffbb74854c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa3be9c28bc7f97e7ac61b2dbb0d2eb6f1a17e724de4f9ea4066bffbb74854c1", kill_on_drop: false }` [INFO] [stdout] aa3be9c28bc7f97e7ac61b2dbb0d2eb6f1a17e724de4f9ea4066bffbb74854c1 [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] b217165c62c6c59d32fb6fdd347aaf3d78d3160bf895500cba5df8b5412da4cb [INFO] running `Command { std: "docker" "start" "-a" "b217165c62c6c59d32fb6fdd347aaf3d78d3160bf895500cba5df8b5412da4cb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking serialport5 v5.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/termios.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/termios.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/termios.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/termios.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/tty.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/tty.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/termios.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/termios.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/termios.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/termios.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/tty.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/sys/posix/tty.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [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/lib.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn open(self, path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | Ok(SerialPort(sys::SerialPort::open(self, path)?)) [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/sys/posix/tty.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn open(builder: SerialPortBuilder, path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | Ok(SerialPort { [INFO] [stdout] | ____________^ [INFO] [stdout] 143 | | fd, [INFO] [stdout] 144 | | read_timeout: builder.read_timeout, [INFO] [stdout] 145 | | write_timeout: builder.write_timeout, [INFO] [stdout] ... | [INFO] [stdout] 149 | | baud_rate: builder.baud_rate, [INFO] [stdout] 150 | | }) [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/sys/posix/tty.rs:689:12 [INFO] [stdout] | [INFO] [stdout] 616 | let next_pty_fd = nix::pty::posix_openpt(nix::fcntl::OFlag::O_RDWR)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 666 | let slave_tty = SerialPort { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 679 | let master_tty = SerialPort { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | Ok((master_tty, slave_tty)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/posix.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | let (master, slave) = crate::sys::SerialPort::pair()?; [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] 64 | Ok((crate::SerialPort(master), crate::SerialPort(slave))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serialport5` (lib test) due to 5 previous errors; 6 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/lib.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn open(self, path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | Ok(SerialPort(sys::SerialPort::open(self, path)?)) [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/sys/posix/tty.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn open(builder: SerialPortBuilder, path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | Ok(SerialPort { [INFO] [stdout] | ____________^ [INFO] [stdout] 143 | | fd, [INFO] [stdout] 144 | | read_timeout: builder.read_timeout, [INFO] [stdout] 145 | | write_timeout: builder.write_timeout, [INFO] [stdout] ... | [INFO] [stdout] 149 | | baud_rate: builder.baud_rate, [INFO] [stdout] 150 | | }) [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/sys/posix/tty.rs:689:12 [INFO] [stdout] | [INFO] [stdout] 616 | let next_pty_fd = nix::pty::posix_openpt(nix::fcntl::OFlag::O_RDWR)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 666 | let slave_tty = SerialPort { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 679 | let master_tty = SerialPort { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | Ok((master_tty, slave_tty)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/posix.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | let (master, slave) = crate::sys::SerialPort::pair()?; [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] 64 | Ok((crate::SerialPort(master), crate::SerialPort(slave))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serialport5` (lib) due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b217165c62c6c59d32fb6fdd347aaf3d78d3160bf895500cba5df8b5412da4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b217165c62c6c59d32fb6fdd347aaf3d78d3160bf895500cba5df8b5412da4cb", kill_on_drop: false }` [INFO] [stdout] b217165c62c6c59d32fb6fdd347aaf3d78d3160bf895500cba5df8b5412da4cb