[INFO] cloning repository https://github.com/Enflow-io/backup-remover
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Enflow-io/backup-remover" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnflow-io%2Fbackup-remover", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnflow-io%2Fbackup-remover'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b18c2a0205323d39025eaf18f8965e23e0cb7b72
[INFO] testing Enflow-io/backup-remover against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnflow-io%2Fbackup-remover" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/Enflow-io/backup-remover
[INFO] finished tweaking git repo https://github.com/Enflow-io/backup-remover
[INFO] tweaked toml for git repo https://github.com/Enflow-io/backup-remover written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Enflow-io/backup-remover on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Enflow-io/backup-remover 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-rational v0.2.4
[INFO] [stderr]   Downloaded num v0.2.1
[INFO] [stderr]   Downloaded clap v4.5.29
[INFO] [stderr]   Downloaded anstyle-query v1.1.1
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.4
[INFO] [stderr]   Downloaded proc-macro2 v1.0.85
[INFO] [stderr]   Downloaded clap_derive v4.5.28
[INFO] [stderr]   Downloaded num-bigint v0.2.6
[INFO] [stderr]   Downloaded anyhow v1.0.97
[INFO] [stderr]   Downloaded cc v1.0.99
[INFO] [stderr]   Downloaded anstream v0.6.15
[INFO] [stderr]   Downloaded num-complex v0.2.4
[INFO] [stderr]   Downloaded parse_duration v2.1.1
[INFO] [stderr]   Downloaded clap_builder v4.5.29
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31a27d94985f2c0695454a6ab3788a01af72d49494d40a3ae101a8bd9f94e53c
[INFO] running `Command { std: "docker" "start" "-a" "31a27d94985f2c0695454a6ab3788a01af72d49494d40a3ae101a8bd9f94e53c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31a27d94985f2c0695454a6ab3788a01af72d49494d40a3ae101a8bd9f94e53c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31a27d94985f2c0695454a6ab3788a01af72d49494d40a3ae101a8bd9f94e53c", kill_on_drop: false }`
[INFO] [stdout] 31a27d94985f2c0695454a6ab3788a01af72d49494d40a3ae101a8bd9f94e53c
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bebcc2fdd8a8275f51a989dd95fd27f0711e95321549cfa6423a066511c1ac40
[INFO] running `Command { std: "docker" "start" "-a" "bebcc2fdd8a8275f51a989dd95fd27f0711e95321549cfa6423a066511c1ac40", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling anstyle-query v1.1.1
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling clap_builder v4.5.29
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling parse_duration v2.1.1
[INFO] [stderr]    Compiling clap v4.5.29
[INFO] [stderr]    Compiling BackupRemover v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `any`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{any, fs::{self}};
[INFO] [stdout]   |           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any`
[INFO] [stdout]  --> src/checker.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from_date`
[INFO] [stdout]    --> src/checker.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let from_date = match Utc.timestamp_opt(start as _, 0) {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_date`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_date`
[INFO] [stdout]    --> src/checker.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let end_date = match Utc.timestamp_opt(end as _, 0) {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_previous_period_empty`
[INFO] [stdout]    --> src/checker.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |             let is_previous_period_empty = false;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_previous_period_empty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_to_keep` is never read
[INFO] [stdout]   --> src/checker.rs:78:30
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let mut is_to_keep = false;
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FileData` is more private than the item `check_files`
[INFO] [stdout]   --> src/main.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn check_files(files: &[FileData], checkers: &[Checker], store: &mut Store, regex: &Regex) -> Result<(), Error> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check_files` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `FileData` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/file_data.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub(crate) struct FileData {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Checker<'_>` is more private than the item `check_files`
[INFO] [stdout]   --> src/main.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn check_files(files: &[FileData], checkers: &[Checker], store: &mut Store, regex: &Regex) -> Result<(), Error> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check_files` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Checker<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/checker.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) struct Checker<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.74s
[INFO] running `Command { std: "docker" "inspect" "bebcc2fdd8a8275f51a989dd95fd27f0711e95321549cfa6423a066511c1ac40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bebcc2fdd8a8275f51a989dd95fd27f0711e95321549cfa6423a066511c1ac40", kill_on_drop: false }`
[INFO] [stdout] bebcc2fdd8a8275f51a989dd95fd27f0711e95321549cfa6423a066511c1ac40
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb8b2d500c65cddbf79d4a4d70799c432b0b11ee2859d9d7c2713621ea5187c3
[INFO] running `Command { std: "docker" "start" "-a" "fb8b2d500c65cddbf79d4a4d70799c432b0b11ee2859d9d7c2713621ea5187c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling BackupRemover v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `any`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{any, fs::{self}};
[INFO] [stdout]   |           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any`
[INFO] [stdout]  --> src/checker.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::file_generator::generate_weekly_files`
[INFO] [stdout]  --> src/tests.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use crate::file_generator::generate_weekly_files;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from_date`
[INFO] [stdout]    --> src/checker.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let from_date = match Utc.timestamp_opt(start as _, 0) {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_date`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_date`
[INFO] [stdout]    --> src/checker.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let end_date = match Utc.timestamp_opt(end as _, 0) {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_previous_period_empty`
[INFO] [stdout]    --> src/checker.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |             let is_previous_period_empty = false;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_previous_period_empty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_to_keep` is never read
[INFO] [stdout]   --> src/checker.rs:78:30
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let mut is_to_keep = false;
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tests.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut store = Store::new();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `configs`
[INFO] [stdout]   --> src/tests.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let configs: Vec<Config> = vec![
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]   --> src/tests.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut store = Store::new();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FileData` is more private than the item `check_files`
[INFO] [stdout]   --> src/main.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn check_files(files: &[FileData], checkers: &[Checker], store: &mut Store, regex: &Regex) -> Result<(), Error> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check_files` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `FileData` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/file_data.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub(crate) struct FileData {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Checker<'_>` is more private than the item `check_files`
[INFO] [stdout]   --> src/main.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn check_files(files: &[FileData], checkers: &[Checker], store: &mut Store, regex: &Regex) -> Result<(), Error> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check_files` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Checker<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/checker.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(crate) struct Checker<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s
[INFO] running `Command { std: "docker" "inspect" "fb8b2d500c65cddbf79d4a4d70799c432b0b11ee2859d9d7c2713621ea5187c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb8b2d500c65cddbf79d4a4d70799c432b0b11ee2859d9d7c2713621ea5187c3", kill_on_drop: false }`
[INFO] [stdout] fb8b2d500c65cddbf79d4a4d70799c432b0b11ee2859d9d7c2713621ea5187c3
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 726597677d3f34d3bb334266384aa1d87db097e68ae927477fdb2f72a54e5662
[INFO] running `Command { std: "docker" "start" "-a" "726597677d3f34d3bb334266384aa1d87db097e68ae927477fdb2f72a54e5662", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `any`
[INFO] [stderr]  --> src/main.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::{any, fs::{self}};
[INFO] [stderr]   |           ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::any`
[INFO] [stderr]  --> src/checker.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::any;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::file_generator::generate_weekly_files`
[INFO] [stderr]  --> src/tests.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 |     use crate::file_generator::generate_weekly_files;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `from_date`
[INFO] [stderr]    --> src/checker.rs:101:13
[INFO] [stderr]     |
[INFO] [stderr] 101 |         let from_date = match Utc.timestamp_opt(start as _, 0) {
[INFO] [stderr]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_date`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end_date`
[INFO] [stderr]    --> src/checker.rs:107:13
[INFO] [stderr]     |
[INFO] [stderr] 107 |         let end_date = match Utc.timestamp_opt(end as _, 0) {
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_previous_period_empty`
[INFO] [stderr]    --> src/checker.rs:123:17
[INFO] [stderr]     |
[INFO] [stderr] 123 |             let is_previous_period_empty = false;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_previous_period_empty`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `is_to_keep` is never read
[INFO] [stderr]   --> src/checker.rs:78:30
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let mut is_to_keep = false;
[INFO] [stderr]    |                              ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/tests.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |         let mut store = Store::new();
[INFO] [stderr]    |             ----^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `configs`
[INFO] [stderr]   --> src/tests.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 |         let configs: Vec<Config> = vec![
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `store`
[INFO] [stderr]   --> src/tests.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |         let mut store = Store::new();
[INFO] [stderr]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stderr] 
[INFO] [stderr] warning: type `FileData` is more private than the item `check_files`
[INFO] [stderr]   --> src/main.rs:84:1
[INFO] [stderr]    |
[INFO] [stderr] 84 | pub fn check_files(files: &[FileData], checkers: &[Checker], store: &mut Store, regex: &Regex) -> Result<(), Error> {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check_files` is reachable at visibility `pub`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `FileData` is only usable at visibility `pub(crate)`
[INFO] [stderr]   --> src/file_data.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | pub(crate) struct FileData {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `Checker<'_>` is more private than the item `check_files`
[INFO] [stderr]   --> src/main.rs:84:1
[INFO] [stderr]    |
[INFO] [stderr] 84 | pub fn check_files(files: &[FileData], checkers: &[Checker], store: &mut Store, regex: &Regex) -> Result<(), Error> {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `check_files` is reachable at visibility `pub`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `Checker<'_>` is only usable at visibility `pub(crate)`
[INFO] [stderr]   --> src/checker.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub(crate) struct Checker<'a> {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `BackupRemover` (bin "BackupRemover" test) generated 12 warnings (run `cargo fix --bin "BackupRemover" -p BackupRemover --tests` to apply 9 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/BackupRemover-21d1aa2d49cc2790)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test tests::tests::test_daily_files ... ok
[INFO] [stdout] test tests::tests::test_daily_and_weekly_files ... FAILED
[INFO] [stdout] test tests::tests::test_weekly_files ... FAILED
[INFO] [stdout] test tests::tests::generate_backups ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::tests::test_daily_and_weekly_files stdout ----
[INFO] [stdout] Cleaning up /opt/rustwide/workdir/test-data
[INFO] [stdout] Cleaning up /opt/rustwide/workdir/test-data
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::tests::test_weekly_files stdout ----
[INFO] [stdout] Cleaning up /opt/rustwide/workdir/test-data
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::tests::test_daily_and_weekly_files
[INFO] [stdout]     tests::tests::test_weekly_files
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin BackupRemover`
[INFO] running `Command { std: "docker" "inspect" "726597677d3f34d3bb334266384aa1d87db097e68ae927477fdb2f72a54e5662", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "726597677d3f34d3bb334266384aa1d87db097e68ae927477fdb2f72a54e5662", kill_on_drop: false }`
[INFO] [stdout] 726597677d3f34d3bb334266384aa1d87db097e68ae927477fdb2f72a54e5662
