[INFO] cloning repository https://github.com/billyb2/evil_mount [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/billyb2/evil_mount" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillyb2%2Fevil_mount", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillyb2%2Fevil_mount'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 909e38c40d2c82f3dcac82068cd1ca1fbacd0067 [INFO] checking billyb2/evil_mount/909e38c40d2c82f3dcac82068cd1ca1fbacd0067 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%2Fbillyb2%2Fevil_mount" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/billyb2/evil_mount 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] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/billyb2/evil_mount [INFO] finished tweaking git repo https://github.com/billyb2/evil_mount [INFO] tweaked toml for git repo https://github.com/billyb2/evil_mount written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/billyb2/evil_mount 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 88f551783a2da071e98bc6bf317e443253c1b966057321a318be40d4c63b0c0b [INFO] running `Command { std: "docker" "start" "-a" "88f551783a2da071e98bc6bf317e443253c1b966057321a318be40d4c63b0c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88f551783a2da071e98bc6bf317e443253c1b966057321a318be40d4c63b0c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f551783a2da071e98bc6bf317e443253c1b966057321a318be40d4c63b0c0b", kill_on_drop: false }` [INFO] [stdout] 88f551783a2da071e98bc6bf317e443253c1b966057321a318be40d4c63b0c0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 75e1f73d1d7737aaf0ebcd7ca263f0d5b1768e22568e7d2e0dca0183cd2458f6 [INFO] running `Command { std: "docker" "start" "-a" "75e1f73d1d7737aaf0ebcd7ca263f0d5b1768e22568e7d2e0dca0183cd2458f6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Checking clap_builder v4.4.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking clap v4.4.4 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking evil_mount v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backup_files` is never used [INFO] [stdout] --> src/main.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | async fn backup_files() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | / ... copy_to_dst( [INFO] [stdout] 256 | | ... file_info.path().to_path_buf(), [INFO] [stdout] 257 | | ... work_dir.clone(), [INFO] [stdout] 258 | | ... backup_dir.clone(), [INFO] [stdout] 259 | | ... ) [INFO] [stdout] 260 | | ... .await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 255 | let _ = copy_to_dst( [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/main.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 412 | let file_paths: Vec<_> = recursive_dir(dir.as_ref()).collect(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | [INFO] [stdout] 414 | / file_paths [INFO] [stdout] 415 | | .into_par_iter() [INFO] [stdout] 416 | | .map(|file_info| { [INFO] [stdout] 417 | | let mut hasher = Hasher::new(); [INFO] [stdout] ... | [INFO] [stdout] 422 | | Ok((file_info.path().to_path_buf(), hasher.finalize())) [INFO] [stdout] 423 | | }) [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evil_mount` (bin "evil_mount") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `backup_files` is never used [INFO] [stdout] --> src/main.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | async fn backup_files() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | / ... copy_to_dst( [INFO] [stdout] 256 | | ... file_info.path().to_path_buf(), [INFO] [stdout] 257 | | ... work_dir.clone(), [INFO] [stdout] 258 | | ... backup_dir.clone(), [INFO] [stdout] 259 | | ... ) [INFO] [stdout] 260 | | ... .await; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 255 | let _ = copy_to_dst( [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/main.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 412 | let file_paths: Vec<_> = recursive_dir(dir.as_ref()).collect(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | [INFO] [stdout] 414 | / file_paths [INFO] [stdout] 415 | | .into_par_iter() [INFO] [stdout] 416 | | .map(|file_info| { [INFO] [stdout] 417 | | let mut hasher = Hasher::new(); [INFO] [stdout] ... | [INFO] [stdout] 422 | | Ok((file_info.path().to_path_buf(), hasher.finalize())) [INFO] [stdout] 423 | | }) [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evil_mount` (bin "evil_mount" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "75e1f73d1d7737aaf0ebcd7ca263f0d5b1768e22568e7d2e0dca0183cd2458f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e1f73d1d7737aaf0ebcd7ca263f0d5b1768e22568e7d2e0dca0183cd2458f6", kill_on_drop: false }` [INFO] [stdout] 75e1f73d1d7737aaf0ebcd7ca263f0d5b1768e22568e7d2e0dca0183cd2458f6