[INFO] cloning repository https://github.com/LukyDrum/Rusty-Files [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LukyDrum/Rusty-Files" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukyDrum%2FRusty-Files", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukyDrum%2FRusty-Files'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32aefba870c027cc51502714b7b49b6ac4607301 [INFO] checking LukyDrum/Rusty-Files/32aefba870c027cc51502714b7b49b6ac4607301 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%2FLukyDrum%2FRusty-Files" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LukyDrum/Rusty-Files 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/LukyDrum/Rusty-Files [INFO] finished tweaking git repo https://github.com/LukyDrum/Rusty-Files [INFO] tweaked toml for git repo https://github.com/LukyDrum/Rusty-Files written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LukyDrum/Rusty-Files 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] ce284420fc8748ac5bd3cab57ed0fe1af355a7a258e889b6f24c9ad930637e3c [INFO] running `Command { std: "docker" "start" "-a" "ce284420fc8748ac5bd3cab57ed0fe1af355a7a258e889b6f24c9ad930637e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce284420fc8748ac5bd3cab57ed0fe1af355a7a258e889b6f24c9ad930637e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce284420fc8748ac5bd3cab57ed0fe1af355a7a258e889b6f24c9ad930637e3c", kill_on_drop: false }` [INFO] [stdout] ce284420fc8748ac5bd3cab57ed0fe1af355a7a258e889b6f24c9ad930637e3c [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] bb79e6f7c38247572300954a46b6b2e6eed96940b52b62d17da9a62bae8b6ef4 [INFO] running `Command { std: "docker" "start" "-a" "bb79e6f7c38247572300954a46b6b2e6eed96940b52b62d17da9a62bae8b6ef4", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking ratatui v0.26.1 [INFO] [stderr] Checking rusty-files v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `IOError` is never used [INFO] [stdout] --> src/file_manager.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type IOError = Error; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `entry_type`, and `last_modified` are never read [INFO] [stdout] --> src/file_manager.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 19 | pub path: PathBuf, [INFO] [stdout] 20 | pub size: u64, // In bytes [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub last_modified: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rename` is never used [INFO] [stdout] --> src/file_manager.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Entry { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn rename(&mut self, new_name: String) -> Result<(), IOError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_directory` is never read [INFO] [stdout] --> src/file_manager.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Manager { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 91 | pub current_directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_directory`, `change_directory`, `move_to_parent_directory`, and `delete` are never used [INFO] [stdout] --> src/file_manager.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Manager { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_directory(directory: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn change_directory(&mut self, new_directory: PathBuf) -> Result<(), IOError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn move_to_parent_directory(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn delete(&mut self, entry: &Entry) -> Result<(), IOError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected_entries` is never read [INFO] [stdout] --> src/ui.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct UIManager { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | selected_entries: Vec, [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/file_manager.rs:160:71 [INFO] [stdout] | [INFO] [stdout] 160 | |dir_entry: Result| Entry::from(dir_entry.unwrap(), directory.clone()) [INFO] [stdout] | ------------------------------------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] = 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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-files` (bin "rusty-files") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type alias `IOError` is never used [INFO] [stdout] --> src/file_manager.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type IOError = Error; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `entry_type`, and `last_modified` are never read [INFO] [stdout] --> src/file_manager.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 19 | pub path: PathBuf, [INFO] [stdout] 20 | pub size: u64, // In bytes [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub last_modified: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rename` is never used [INFO] [stdout] --> src/file_manager.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Entry { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn rename(&mut self, new_name: String) -> Result<(), IOError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_directory` is never read [INFO] [stdout] --> src/file_manager.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Manager { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 91 | pub current_directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_directory`, `change_directory`, `move_to_parent_directory`, and `delete` are never used [INFO] [stdout] --> src/file_manager.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Manager { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_directory(directory: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn change_directory(&mut self, new_directory: PathBuf) -> Result<(), IOError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn move_to_parent_directory(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn delete(&mut self, entry: &Entry) -> Result<(), IOError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected_entries` is never read [INFO] [stdout] --> src/ui.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct UIManager { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | selected_entries: Vec, [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/file_manager.rs:160:71 [INFO] [stdout] | [INFO] [stdout] 160 | |dir_entry: Result| Entry::from(dir_entry.unwrap(), directory.clone()) [INFO] [stdout] | ------------------------------------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] = 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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-files` (bin "rusty-files" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bb79e6f7c38247572300954a46b6b2e6eed96940b52b62d17da9a62bae8b6ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb79e6f7c38247572300954a46b6b2e6eed96940b52b62d17da9a62bae8b6ef4", kill_on_drop: false }` [INFO] [stdout] bb79e6f7c38247572300954a46b6b2e6eed96940b52b62d17da9a62bae8b6ef4