[INFO] fetching crate trash_lib 0.1.0... [INFO] checking trash_lib-0.1.0 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate trash_lib 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate trash_lib 0.1.0 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trash_lib 0.1.0 [INFO] finished tweaking crates.io crate trash_lib 0.1.0 [INFO] tweaked toml for crates.io crate trash_lib 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding directories v3.0.2 (latest: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding snafu v0.6.10 (latest: v0.8.4) [INFO] [stderr] Adding snafu-derive v0.6.10 (latest: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.76) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded directories v3.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 520b8f849e01b5265084121c50999870d249675802b36ef45cec7a3fdb7cfdb2 [INFO] running `Command { std: "docker" "start" "-a" "520b8f849e01b5265084121c50999870d249675802b36ef45cec7a3fdb7cfdb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "520b8f849e01b5265084121c50999870d249675802b36ef45cec7a3fdb7cfdb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "520b8f849e01b5265084121c50999870d249675802b36ef45cec7a3fdb7cfdb2", kill_on_drop: false }` [INFO] [stdout] 520b8f849e01b5265084121c50999870d249675802b36ef45cec7a3fdb7cfdb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d87486e72f381019b33392ff16881adeeafaf8ef2f1b1e2b79b8901bd345d21 [INFO] running `Command { std: "docker" "start" "-a" "4d87486e72f381019b33392ff16881adeeafaf8ef2f1b1e2b79b8901bd345d21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking trash_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `percent_encoding::percent_decode_str` [INFO] [stdout] --> src/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use percent_encoding::percent_decode_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::percent_path::{self, PercentPath}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectDirs` [INFO] [stdout] --> src/lib.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use directories::{ProjectDirs, UserDirs}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `percent_encoding::percent_decode_str` [INFO] [stdout] --> src/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use percent_encoding::percent_decode_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::percent_path::{self, PercentPath}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/parser.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/trash_entry.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempdir` [INFO] [stdout] --> src/trash_entry.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | use tempfile::{tempdir, NamedTempFile}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NamedTempFile` [INFO] [stdout] --> src/trash_info.rs:187:42 [INFO] [stdout] | [INFO] [stdout] 187 | use tempfile::{tempfile_in, Builder, NamedTempFile}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectDirs` [INFO] [stdout] --> src/lib.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use directories::{ProjectDirs, UserDirs}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/lib.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/parser.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | let (i, deletion_date) = all_consuming(parse_deletion_date)(i)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/trash_info.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | .ymd(2014, 7, 8) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms_milli`: Use and_hms_milli_opt() instead [INFO] [stdout] --> src/trash_info.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | .and_hms_milli(9, 10, 11, 12) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/trash_info.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | .ymd(2020, 4, 9) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms_nano`: Use and_hms_nano_opt() instead [INFO] [stdout] --> src/trash_info.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | .and_hms_nano(9, 11, 10, 12_000_000) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/parser.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | let (i, deletion_date) = all_consuming(parse_deletion_date)(i)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trash_entry` [INFO] [stdout] --> src/trash_entry.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | let trash_entry = TrashEntry::create(tempfile.path(), &existing)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trash_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op3` [INFO] [stdout] --> src/utils.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let op3 = ok_log!(res3 => print_error); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_op3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.27s [INFO] running `Command { std: "docker" "inspect" "4d87486e72f381019b33392ff16881adeeafaf8ef2f1b1e2b79b8901bd345d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d87486e72f381019b33392ff16881adeeafaf8ef2f1b1e2b79b8901bd345d21", kill_on_drop: false }` [INFO] [stdout] 4d87486e72f381019b33392ff16881adeeafaf8ef2f1b1e2b79b8901bd345d21 [INFO] checking trash_lib-0.1.0 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate trash_lib 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate trash_lib 0.1.0 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trash_lib 0.1.0 [INFO] finished tweaking crates.io crate trash_lib 0.1.0 [INFO] tweaked toml for crates.io crate trash_lib 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding directories v3.0.2 (latest: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding snafu v0.6.10 (latest: v0.8.4) [INFO] [stderr] Adding snafu-derive v0.6.10 (latest: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.76) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 977f650b38a7935c112226f9c97f12653fb31e95883cfebb750bdad2782a1df4 [INFO] running `Command { std: "docker" "start" "-a" "977f650b38a7935c112226f9c97f12653fb31e95883cfebb750bdad2782a1df4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "977f650b38a7935c112226f9c97f12653fb31e95883cfebb750bdad2782a1df4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977f650b38a7935c112226f9c97f12653fb31e95883cfebb750bdad2782a1df4", kill_on_drop: false }` [INFO] [stdout] 977f650b38a7935c112226f9c97f12653fb31e95883cfebb750bdad2782a1df4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 235be0b4380353e34f73cbc58e3d1d3fcd4be2333fd967c1f9e43eed07f5951f [INFO] running `Command { std: "docker" "start" "-a" "235be0b4380353e34f73cbc58e3d1d3fcd4be2333fd967c1f9e43eed07f5951f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking trash_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `percent_encoding::percent_decode_str` [INFO] [stdout] --> src/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use percent_encoding::percent_decode_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::percent_path::{self, PercentPath}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectDirs` [INFO] [stdout] --> src/lib.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use directories::{ProjectDirs, UserDirs}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `percent_encoding::percent_decode_str` [INFO] [stdout] --> src/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use percent_encoding::percent_decode_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::percent_path::{self, PercentPath}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/parser.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/trash_entry.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempdir` [INFO] [stdout] --> src/trash_entry.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | use tempfile::{tempdir, NamedTempFile}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NamedTempFile` [INFO] [stdout] --> src/trash_info.rs:187:42 [INFO] [stdout] | [INFO] [stdout] 187 | use tempfile::{tempfile_in, Builder, NamedTempFile}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectDirs` [INFO] [stdout] --> src/lib.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use directories::{ProjectDirs, UserDirs}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/lib.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/parser.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | let (i, deletion_date) = all_consuming(parse_deletion_date)(i)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/trash_info.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | .ymd(2014, 7, 8) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms_milli`: Use and_hms_milli_opt() instead [INFO] [stdout] --> src/trash_info.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | .and_hms_milli(9, 10, 11, 12) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/trash_info.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | .ymd(2020, 4, 9) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms_nano`: Use and_hms_nano_opt() instead [INFO] [stdout] --> src/trash_info.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | .and_hms_nano(9, 11, 10, 12_000_000) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/parser.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | let (i, deletion_date) = all_consuming(parse_deletion_date)(i)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/lib.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|trash_entry| trash_entry.remove().context(TrashEntryRemove)) [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/trash_entry.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | .map(|p| convert_to_str(p.as_ref()).unwrap()) // TODO: fix unwrap [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/utils.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn move_path(from: impl AsRef, to: 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | / if from.is_dir() { [INFO] [stdout] 63 | | // first rename the dir because move_dir does not rename the directory while moving unlike [INFO] [stdout] 64 | | // move_file, so we have to rename it first manually. Also move dir does not work like [INFO] [stdout] 65 | | // move_file. Move dir moves the directory from a path to the inside of another directory. [INFO] [stdout] ... | [INFO] [stdout] 88 | | panic!("BUG: must be file or directory"); [INFO] [stdout] 89 | | } [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/utils.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) fn remove_path(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let path = path.as_ref(); [INFO] [stdout] 95 | / if path.is_dir() { [INFO] [stdout] 96 | | dir::remove(path) [INFO] [stdout] 97 | | } else if path.is_file() { [INFO] [stdout] 98 | | file::remove(path) [INFO] [stdout] 99 | | } else { [INFO] [stdout] 100 | | panic!("BUG: must be file or directory"); [INFO] [stdout] 101 | | } [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: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trash_entry` [INFO] [stdout] --> src/trash_entry.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | let trash_entry = TrashEntry::create(tempfile.path(), &existing)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trash_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trash_lib` (lib) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `op3` [INFO] [stdout] --> src/utils.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let op3 = ok_log!(res3 => print_error); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_op3` [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:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|trash_entry| trash_entry.remove().context(TrashEntryRemove)) [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/trash_entry.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | .map(|p| convert_to_str(p.as_ref()).unwrap()) // TODO: fix unwrap [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/trash_entry.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | .map(|temp| temp.keep().expect("Failed to keep tempfile")) [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] [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/utils.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn move_path(from: impl AsRef, to: 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | / if from.is_dir() { [INFO] [stdout] 63 | | // first rename the dir because move_dir does not rename the directory while moving unlike [INFO] [stdout] 64 | | // move_file, so we have to rename it first manually. Also move dir does not work like [INFO] [stdout] 65 | | // move_file. Move dir moves the directory from a path to the inside of another directory. [INFO] [stdout] ... | [INFO] [stdout] 88 | | panic!("BUG: must be file or directory"); [INFO] [stdout] 89 | | } [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/utils.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) fn remove_path(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let path = path.as_ref(); [INFO] [stdout] 95 | / if path.is_dir() { [INFO] [stdout] 96 | | dir::remove(path) [INFO] [stdout] 97 | | } else if path.is_file() { [INFO] [stdout] 98 | | file::remove(path) [INFO] [stdout] 99 | | } else { [INFO] [stdout] 100 | | panic!("BUG: must be file or directory"); [INFO] [stdout] 101 | | } [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/utils.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | (0..amount).map(move |_| NamedTempFile::new_in(dir).expect("Failed to create temp file")) [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: aborting due to 6 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trash_lib` (lib test) due to 7 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "235be0b4380353e34f73cbc58e3d1d3fcd4be2333fd967c1f9e43eed07f5951f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "235be0b4380353e34f73cbc58e3d1d3fcd4be2333fd967c1f9e43eed07f5951f", kill_on_drop: false }` [INFO] [stdout] 235be0b4380353e34f73cbc58e3d1d3fcd4be2333fd967c1f9e43eed07f5951f