[INFO] cloning repository https://github.com/woubuc/project-cleanup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/woubuc/project-cleanup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoubuc%2Fproject-cleanup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoubuc%2Fproject-cleanup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9da553dd4747a4af9dc12d116af87d357e8627b3 [INFO] testing woubuc/project-cleanup against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoubuc%2Fproject-cleanup" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/woubuc/project-cleanup on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config [INFO] started tweaking git repo https://github.com/woubuc/project-cleanup [INFO] finished tweaking git repo https://github.com/woubuc/project-cleanup [INFO] tweaked toml for git repo https://github.com/woubuc/project-cleanup written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/woubuc/project-cleanup already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6c271f24e67333342cd7facb3497cdcf8ca0864e36f2d600201836bf7b9711b [INFO] running `Command { std: "docker" "start" "-a" "a6c271f24e67333342cd7facb3497cdcf8ca0864e36f2d600201836bf7b9711b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6c271f24e67333342cd7facb3497cdcf8ca0864e36f2d600201836bf7b9711b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6c271f24e67333342cd7facb3497cdcf8ca0864e36f2d600201836bf7b9711b", kill_on_drop: false }` [INFO] [stdout] a6c271f24e67333342cd7facb3497cdcf8ca0864e36f2d600201836bf7b9711b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e241a7f2752a975abc4ff96d48580c09d295b5861ca69958ea7bc32a7d496c50 [INFO] running `Command { std: "docker" "start" "-a" "e241a7f2752a975abc4ff96d48580c09d295b5861ca69958ea7bc32a7d496c50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling dunce v1.0.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Compiling structopt v0.3.17 [INFO] [stderr] Compiling swp v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `last_modified` [INFO] [stdout] --> src/project.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | last_modified: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/project.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/output.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(format!("Label {} too long", label)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - panic!(format!("Label {} too long", label)); [INFO] [stdout] 31 + panic!("Label {} too long", label); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.19s [INFO] running `Command { std: "docker" "inspect" "e241a7f2752a975abc4ff96d48580c09d295b5861ca69958ea7bc32a7d496c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e241a7f2752a975abc4ff96d48580c09d295b5861ca69958ea7bc32a7d496c50", kill_on_drop: false }` [INFO] [stdout] e241a7f2752a975abc4ff96d48580c09d295b5861ca69958ea7bc32a7d496c50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aa41b95b7d4d60b0d6541f7f9fb5bf0bdc91416a35ae1ef235f1514d6ae7cb6 [INFO] running `Command { std: "docker" "start" "-a" "0aa41b95b7d4d60b0d6541f7f9fb5bf0bdc91416a35ae1ef235f1514d6ae7cb6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling swp v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/settings.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | _ => panic!("Unexpected error returned"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_modified` [INFO] [stdout] --> src/project.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | last_modified: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/project.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/output.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(format!("Label {} too long", label)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - panic!(format!("Label {} too long", label)); [INFO] [stdout] 31 + panic!("Label {} too long", label); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.49s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/swp-07df0fe3344601b0) [INFO] running `Command { std: "docker" "inspect" "0aa41b95b7d4d60b0d6541f7f9fb5bf0bdc91416a35ae1ef235f1514d6ae7cb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa41b95b7d4d60b0d6541f7f9fb5bf0bdc91416a35ae1ef235f1514d6ae7cb6", kill_on_drop: false }` [INFO] [stdout] 0aa41b95b7d4d60b0d6541f7f9fb5bf0bdc91416a35ae1ef235f1514d6ae7cb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0295583bdb14f8cffc404b405a8724a83415fe1c3bd25f664aa62a5161d51134 [INFO] running `Command { std: "docker" "start" "-a" "0295583bdb14f8cffc404b405a8724a83415fe1c3bd25f664aa62a5161d51134", kill_on_drop: false }` [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/settings.rs:135:4 [INFO] [stderr] | [INFO] [stderr] 135 | _ => panic!("Unexpected error returned"), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `last_modified` [INFO] [stderr] --> src/project.rs:16:2 [INFO] [stderr] | [INFO] [stderr] 16 | last_modified: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/project.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/output.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | panic!(format!("Label {} too long", label)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 31 - panic!(format!("Label {} too long", label)); [INFO] [stderr] 31 + panic!("Label {} too long", label); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `swp` (bin "swp" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/swp-07df0fe3344601b0) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test discover_projects::detect_cleanable_project::test::empty_dir ... ok [INFO] [stdout] test settings::tests::invalid_path ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::no_project ... ok [INFO] [stdout] test settings::tests::valid_settings ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::nodejs ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::rust ... ok [INFO] [stdout] test swpfile::test::empty_file ... ok [INFO] [stdout] test swpfile::test::swpfile ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::java ... ok [INFO] [stdout] test swpfile::test::swpfile_cleanuprc ... ok [INFO] [stdout] test utils::file_utils::test::directory_does_not_exist ... ok [INFO] [stdout] test settings::tests::ignore_flag ... ok [INFO] [stdout] test utils::file_utils::test::file_exists ... ok [INFO] [stdout] test utils::file_utils::test::directory_exists ... ok [INFO] [stdout] test utils::file_utils::test::file_does_not_exist ... ok [INFO] [stdout] test utils::file_utils::test::get_file_name ... ok [INFO] [stdout] test utils::process_queue::test::count_items ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0295583bdb14f8cffc404b405a8724a83415fe1c3bd25f664aa62a5161d51134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0295583bdb14f8cffc404b405a8724a83415fe1c3bd25f664aa62a5161d51134", kill_on_drop: false }` [INFO] [stdout] 0295583bdb14f8cffc404b405a8724a83415fe1c3bd25f664aa62a5161d51134