[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dunce v1.0.1 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b1b3691447ccfa61ade1e36f26cc84cc9fad2a5345e36166606ac8e27dabcda [INFO] running `Command { std: "docker" "start" "-a" "5b1b3691447ccfa61ade1e36f26cc84cc9fad2a5345e36166606ac8e27dabcda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b1b3691447ccfa61ade1e36f26cc84cc9fad2a5345e36166606ac8e27dabcda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b1b3691447ccfa61ade1e36f26cc84cc9fad2a5345e36166606ac8e27dabcda", kill_on_drop: false }` [INFO] [stdout] 5b1b3691447ccfa61ade1e36f26cc84cc9fad2a5345e36166606ac8e27dabcda [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b6582fe7e39959dee068ea6db1bf9c058ad234a1dbc30e47376bbc0651fd119 [INFO] running `Command { std: "docker" "start" "-a" "5b6582fe7e39959dee068ea6db1bf9c058ad234a1dbc30e47376bbc0651fd119", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [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 memoffset v0.5.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [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 quote v1.0.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [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 1m 04s [INFO] running `Command { std: "docker" "inspect" "5b6582fe7e39959dee068ea6db1bf9c058ad234a1dbc30e47376bbc0651fd119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6582fe7e39959dee068ea6db1bf9c058ad234a1dbc30e47376bbc0651fd119", kill_on_drop: false }` [INFO] [stdout] 5b6582fe7e39959dee068ea6db1bf9c058ad234a1dbc30e47376bbc0651fd119 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c301944c6669cc7b47583b110f8764377d593c9604b266b85da4671dfb7db02 [INFO] running `Command { std: "docker" "start" "-a" "2c301944c6669cc7b47583b110f8764377d593c9604b266b85da4671dfb7db02", 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: 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 3.28s [INFO] running `Command { std: "docker" "inspect" "2c301944c6669cc7b47583b110f8764377d593c9604b266b85da4671dfb7db02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c301944c6669cc7b47583b110f8764377d593c9604b266b85da4671dfb7db02", kill_on_drop: false }` [INFO] [stdout] 2c301944c6669cc7b47583b110f8764377d593c9604b266b85da4671dfb7db02 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b63d14c0ac192804f2d05dca83e3698a785ba389593ea5b702703d7e848b0439 [INFO] running `Command { std: "docker" "start" "-a" "b63d14c0ac192804f2d05dca83e3698a785ba389593ea5b702703d7e848b0439", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unreachable pattern [INFO] [stdout] [INFO] [stderr] --> src/settings.rs:135:4 [INFO] [stdout] running 17 tests [INFO] [stderr] | [INFO] [stdout] test discover_projects::detect_cleanable_project::test::empty_dir ... ok [INFO] [stderr] 135 | _ => panic!("Unexpected error returned"), [INFO] [stdout] test discover_projects::detect_cleanable_project::test::no_project ... ok [INFO] [stderr] | ^ [INFO] [stdout] test settings::tests::invalid_path ... ok [INFO] [stderr] | [INFO] [stdout] test settings::tests::valid_settings ... ok [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] test discover_projects::detect_cleanable_project::test::nodejs ... ok [INFO] [stderr] [INFO] [stdout] test settings::tests::ignore_flag ... ok [INFO] [stderr] warning: field is never read: `last_modified` [INFO] [stdout] test discover_projects::detect_cleanable_project::test::java ... ok [INFO] [stderr] --> src/project.rs:16:2 [INFO] [stdout] test discover_projects::detect_cleanable_project::test::rust ... ok [INFO] [stderr] | [INFO] [stdout] test swpfile::test::swpfile ... ok [INFO] [stderr] 16 | last_modified: u64, [INFO] [stdout] test utils::file_utils::test::directory_does_not_exist ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test swpfile::test::empty_file ... ok [INFO] [stderr] | [INFO] [stdout] test swpfile::test::swpfile_cleanuprc ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] test utils::file_utils::test::file_does_not_exist ... ok [INFO] [stderr] note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] test utils::file_utils::test::directory_exists ... ok [INFO] [stderr] --> src/project.rs:7:10 [INFO] [stdout] test utils::file_utils::test::file_exists ... ok [INFO] [stderr] | [INFO] [stdout] test utils::file_utils::test::get_file_name ... ok [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 20.66s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/swp-c52262a99649bdf7) [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.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b63d14c0ac192804f2d05dca83e3698a785ba389593ea5b702703d7e848b0439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63d14c0ac192804f2d05dca83e3698a785ba389593ea5b702703d7e848b0439", kill_on_drop: false }` [INFO] [stdout] b63d14c0ac192804f2d05dca83e3698a785ba389593ea5b702703d7e848b0439