[INFO] cloning repository https://github.com/da-x/ptytest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/da-x/ptytest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fda-x%2Fptytest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fda-x%2Fptytest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 889c8b3bbad2a35084b78b478ebf32caf1f7ea20 [INFO] checking da-x/ptytest/889c8b3bbad2a35084b78b478ebf32caf1f7ea20 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%2Fda-x%2Fptytest" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/da-x/ptytest 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/da-x/ptytest [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/da-x/ptytest [INFO] tweaked toml for git repo https://github.com/da-x/ptytest written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/da-x/ptytest 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 63f6864b0a91d141f779cbd67c51d53f3ba8c1647fba0a1fa8f35158c0377708 [INFO] running `Command { std: "docker" "start" "-a" "63f6864b0a91d141f779cbd67c51d53f3ba8c1647fba0a1fa8f35158c0377708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63f6864b0a91d141f779cbd67c51d53f3ba8c1647fba0a1fa8f35158c0377708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f6864b0a91d141f779cbd67c51d53f3ba8c1647fba0a1fa8f35158c0377708", kill_on_drop: false }` [INFO] [stdout] 63f6864b0a91d141f779cbd67c51d53f3ba8c1647fba0a1fa8f35158c0377708 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] afbb8832774d79da3ffa0af7674050de687c95125f4b649bad1bcef1a857e711 [INFO] running `Command { std: "docker" "start" "-a" "afbb8832774d79da3ffa0af7674050de687c95125f4b649bad1bcef1a857e711", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking signal-hook v0.1.12 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling terminfo v0.6.1 [INFO] [stderr] Checking rustyline v5.0.5 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling enumset_derive v0.4.3 [INFO] [stderr] Checking enumset v0.4.4 [INFO] [stderr] Checking vt100 v0.8.0 [INFO] [stderr] Checking ptytest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `source_info` is never read [INFO] [stdout] --> src/lib.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct AsciiScreen { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 122 | source_info: Option<(&'static str, u32)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsciiScreen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected` and `received` are never read [INFO] [stdout] --> src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct Change { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 194 | expected: E, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 195 | received: E, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Change` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_pos_diff` is never read [INFO] [stdout] --> src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct ScreenDiff { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 200 | cursor_pos_diff: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenDiff` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reregister`, `deregister`, and `write_token` are never used [INFO] [stdout] --> src/tty/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait EventedReadWrite { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn reregister(&mut self, _: &mio::Poll, _: mio::Ready, _: mio::PollOpt) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | fn deregister(&mut self, _: &mio::Poll) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn write_token(&self) -> mio::Token; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `passwd`, `uid`, `gid`, `gecos`, and `dir` are never read [INFO] [stdout] --> src/tty/unix.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct Passwd<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 86 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | passwd: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 88 | uid: libc::uid_t, [INFO] [stdout] | ^^^ [INFO] [stdout] 89 | gid: libc::gid_t, [INFO] [stdout] | ^^^ [INFO] [stdout] 90 | gecos: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | dir: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/tty/unix.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 162 | let mut builder = Command::new(&*shell.program); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let signals = Signals::new(&[sighook::SIGCHLD]).expect("error preparing signal handling"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | [INFO] [stdout] 208 | match builder.spawn() { [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: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ptytest` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `source_info` is never read [INFO] [stdout] --> src/lib.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct AsciiScreen { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 122 | source_info: Option<(&'static str, u32)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsciiScreen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected` and `received` are never read [INFO] [stdout] --> src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct Change { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 194 | expected: E, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 195 | received: E, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Change` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cursor_pos_diff` is never read [INFO] [stdout] --> src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct ScreenDiff { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 200 | cursor_pos_diff: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenDiff` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reregister`, `deregister`, and `write_token` are never used [INFO] [stdout] --> src/tty/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait EventedReadWrite { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn reregister(&mut self, _: &mio::Poll, _: mio::Ready, _: mio::PollOpt) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | fn deregister(&mut self, _: &mio::Poll) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn write_token(&self) -> mio::Token; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `passwd`, `uid`, `gid`, `gecos`, and `dir` are never read [INFO] [stdout] --> src/tty/unix.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct Passwd<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 86 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | passwd: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 88 | uid: libc::uid_t, [INFO] [stdout] | ^^^ [INFO] [stdout] 89 | gid: libc::gid_t, [INFO] [stdout] | ^^^ [INFO] [stdout] 90 | gecos: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | dir: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passwd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/tty/unix.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 162 | let mut builder = Command::new(&*shell.program); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let signals = Signals::new(&[sighook::SIGCHLD]).expect("error preparing signal handling"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | [INFO] [stdout] 208 | match builder.spawn() { [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: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ptytest` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "afbb8832774d79da3ffa0af7674050de687c95125f4b649bad1bcef1a857e711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afbb8832774d79da3ffa0af7674050de687c95125f4b649bad1bcef1a857e711", kill_on_drop: false }` [INFO] [stdout] afbb8832774d79da3ffa0af7674050de687c95125f4b649bad1bcef1a857e711