[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] bba576d34784cd800dc5563f5c07a1aacd2656ce [INFO] testing woubuc/project-cleanup against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoubuc%2Fproject-cleanup" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/woubuc/project-cleanup on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/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-11/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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2f8575f9620e60df45b85550bb7a59305f8bd8ddd330b1cbb8c4ce7b3ab126e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c2f8575f9620e60df45b85550bb7a59305f8bd8ddd330b1cbb8c4ce7b3ab126e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2f8575f9620e60df45b85550bb7a59305f8bd8ddd330b1cbb8c4ce7b3ab126e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2f8575f9620e60df45b85550bb7a59305f8bd8ddd330b1cbb8c4ce7b3ab126e", kill_on_drop: false }` [INFO] [stdout] c2f8575f9620e60df45b85550bb7a59305f8bd8ddd330b1cbb8c4ce7b3ab126e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 314baa1242f4912dfed30b43611259ae649c3434f955d8b19eb5f14ebf15cb4e [INFO] running `Command { std: "docker" "start" "-a" "314baa1242f4912dfed30b43611259ae649c3434f955d8b19eb5f14ebf15cb4e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling dunce v1.0.1 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [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 v0.7.3 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.67s [INFO] running `Command { std: "docker" "inspect" "314baa1242f4912dfed30b43611259ae649c3434f955d8b19eb5f14ebf15cb4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314baa1242f4912dfed30b43611259ae649c3434f955d8b19eb5f14ebf15cb4e", kill_on_drop: false }` [INFO] [stdout] 314baa1242f4912dfed30b43611259ae649c3434f955d8b19eb5f14ebf15cb4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fa93dba278040f26475e203a70cc115e52f9537de749eae14be389bdd898e01e [INFO] running `Command { std: "docker" "start" "-a" "fa93dba278040f26475e203a70cc115e52f9537de749eae14be389bdd898e01e", kill_on_drop: false }` [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: 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 test [unoptimized + debuginfo] target(s) in 7.01s [INFO] running `Command { std: "docker" "inspect" "fa93dba278040f26475e203a70cc115e52f9537de749eae14be389bdd898e01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa93dba278040f26475e203a70cc115e52f9537de749eae14be389bdd898e01e", kill_on_drop: false }` [INFO] [stdout] fa93dba278040f26475e203a70cc115e52f9537de749eae14be389bdd898e01e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4fce33255c3d040ea292c70dcee5f36c69f43ea1966b6c920b26ac4481bd18de [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4fce33255c3d040ea292c70dcee5f36c69f43ea1966b6c920b26ac4481bd18de", 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: 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 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/swp-3733cee7059d7259) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test settings::tests::invalid_path ... ok [INFO] [stdout] test settings::tests::ignore_flag ... ok [INFO] [stdout] test swpfile::test::swpfile_cleanuprc ... ok [INFO] [stdout] test swpfile::test::swpfile ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::rust ... ok [INFO] [stdout] test utils::file_utils::test::directory_exists ... ok [INFO] [stdout] test settings::tests::valid_settings ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::nodejs ... ok [INFO] [stdout] test utils::file_utils::test::get_file_name ... ok [INFO] [stdout] test utils::file_utils::test::file_does_not_exist ... ok [INFO] [stdout] test utils::file_utils::test::file_exists ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::empty_dir ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::java ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::no_project ... ok [INFO] [stdout] test utils::file_utils::test::directory_does_not_exist ... ok [INFO] [stdout] test swpfile::test::empty_file ... 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.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4fce33255c3d040ea292c70dcee5f36c69f43ea1966b6c920b26ac4481bd18de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fce33255c3d040ea292c70dcee5f36c69f43ea1966b6c920b26ac4481bd18de", kill_on_drop: false }` [INFO] [stdout] 4fce33255c3d040ea292c70dcee5f36c69f43ea1966b6c920b26ac4481bd18de