[INFO] cloning repository https://github.com/Danny-Duck/bin_chicken [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Danny-Duck/bin_chicken" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanny-Duck%2Fbin_chicken", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanny-Duck%2Fbin_chicken'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07a1013c184a5459a035b17fb5fdbff263617d3b [INFO] checking Danny-Duck/bin_chicken/07a1013c184a5459a035b17fb5fdbff263617d3b 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%2FDanny-Duck%2Fbin_chicken" "/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/Danny-Duck/bin_chicken 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/Danny-Duck/bin_chicken [INFO] finished tweaking git repo https://github.com/Danny-Duck/bin_chicken [INFO] tweaked toml for git repo https://github.com/Danny-Duck/bin_chicken written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Danny-Duck/bin_chicken 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: unused manifest key: package.crate-type [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] f89a35e4df413e17a2adb0e2fb71fb17a04a016e2e9a841cbef62d3c12918440 [INFO] running `Command { std: "docker" "start" "-a" "f89a35e4df413e17a2adb0e2fb71fb17a04a016e2e9a841cbef62d3c12918440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f89a35e4df413e17a2adb0e2fb71fb17a04a016e2e9a841cbef62d3c12918440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89a35e4df413e17a2adb0e2fb71fb17a04a016e2e9a841cbef62d3c12918440", kill_on_drop: false }` [INFO] [stdout] f89a35e4df413e17a2adb0e2fb71fb17a04a016e2e9a841cbef62d3c12918440 [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] 2cb6a2a745d9535430fbf98fe189b59654cc48604778d2d3034a4b1639eeb0c2 [INFO] running `Command { std: "docker" "start" "-a" "2cb6a2a745d9535430fbf98fe189b59654cc48604778d2d3034a4b1639eeb0c2", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.crate-type [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.38.26 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking clap_builder v4.4.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Checking clap v4.4.10 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking bin_chicken v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/paths.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/paths.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history_item` and `name_with_timestamp` are never read [INFO] [stdout] --> src/file.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct File
{
[INFO] [stdout] | ---- fields in this struct
[INFO] [stdout] 17 | pub history_item: String,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] 18 | pub original_absolute_path: PathBuf,
[INFO] [stdout] 19 | pub name_with_timestamp: String,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `File` 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] 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:23:5
[INFO] [stdout] |
[INFO] [stdout] 14 | let history_cmd = Command::new("history").about("Show the history of files trashed");
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 15 |
[INFO] [stdout] 16 | let undo_cmd = Command::new("undo").about("Put the last file in the trash back where it was");
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 17 |
[INFO] [stdout] 18 | let rm_cmd = Command::new("rm")
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 23 | / Command::new("bin_chicken")
[INFO] [stdout] 24 | | .subcommand(rm_cmd)
[INFO] [stdout] 25 | | .subcommand(undo_cmd)
[INFO] [stdout] 26 | | .subcommand(history_cmd)
[INFO] [stdout] 27 | | .arg_required_else_help(true)
[INFO] [stdout] | |_____________________________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739 {
[INFO] [stdout] | ---- fields in this struct
[INFO] [stdout] 17 | pub history_item: String,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] 18 | pub original_absolute_path: PathBuf,
[INFO] [stdout] 19 | pub name_with_timestamp: String,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `File` 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] 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:23:5
[INFO] [stdout] |
[INFO] [stdout] 14 | let history_cmd = Command::new("history").about("Show the history of files trashed");
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 15 |
[INFO] [stdout] 16 | let undo_cmd = Command::new("undo").about("Put the last file in the trash back where it was");
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 17 |
[INFO] [stdout] 18 | let rm_cmd = Command::new("rm")
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 23 | / Command::new("bin_chicken")
[INFO] [stdout] 24 | | .subcommand(rm_cmd)
[INFO] [stdout] 25 | | .subcommand(undo_cmd)
[INFO] [stdout] 26 | | .subcommand(history_cmd)
[INFO] [stdout] 27 | | .arg_required_else_help(true)
[INFO] [stdout] | |_____________________________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739