[INFO] fetching crate swp 1.0.3... [INFO] testing swp-1.0.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate swp 1.0.3 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate swp 1.0.3 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] started tweaking crates.io crate swp 1.0.3 [INFO] finished tweaking crates.io crate swp 1.0.3 [INFO] tweaked toml for crates.io crate swp 1.0.3 written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate crates.io crate swp 1.0.3 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] 1a22ed138fff7594d1bf37c8bc1351e730a340f7d387bcbee22a91c5efafdd25 [INFO] running `Command { std: "docker" "start" "-a" "1a22ed138fff7594d1bf37c8bc1351e730a340f7d387bcbee22a91c5efafdd25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a22ed138fff7594d1bf37c8bc1351e730a340f7d387bcbee22a91c5efafdd25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a22ed138fff7594d1bf37c8bc1351e730a340f7d387bcbee22a91c5efafdd25", kill_on_drop: false }` [INFO] [stdout] 1a22ed138fff7594d1bf37c8bc1351e730a340f7d387bcbee22a91c5efafdd25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] 492ade42221cfdbb0dce73c75831c0d2368c4989f51eb61203111bdced09573a [INFO] running `Command { std: "docker" "start" "-a" "492ade42221cfdbb0dce73c75831c0d2368c4989f51eb61203111bdced09573a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling dunce v1.0.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling structopt v0.3.5 [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 12.90s [INFO] running `Command { std: "docker" "inspect" "492ade42221cfdbb0dce73c75831c0d2368c4989f51eb61203111bdced09573a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492ade42221cfdbb0dce73c75831c0d2368c4989f51eb61203111bdced09573a", kill_on_drop: false }` [INFO] [stdout] 492ade42221cfdbb0dce73c75831c0d2368c4989f51eb61203111bdced09573a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] 5a5fa72ee4406368be2090ea782b54265e54d458a8ae353f55b63f1ade653a4d [INFO] running `Command { std: "docker" "start" "-a" "5a5fa72ee4406368be2090ea782b54265e54d458a8ae353f55b63f1ade653a4d", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.2 [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.10s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/swp-6625ffd3b5c96073) [INFO] running `Command { std: "docker" "inspect" "5a5fa72ee4406368be2090ea782b54265e54d458a8ae353f55b63f1ade653a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a5fa72ee4406368be2090ea782b54265e54d458a8ae353f55b63f1ade653a4d", kill_on_drop: false }` [INFO] [stdout] 5a5fa72ee4406368be2090ea782b54265e54d458a8ae353f55b63f1ade653a4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] 6f31227333aa3f92bb04423bccc12fce2599ea9c49c7fcc01f39279f5c4340a0 [INFO] running `Command { std: "docker" "start" "-a" "6f31227333aa3f92bb04423bccc12fce2599ea9c49c7fcc01f39279f5c4340a0", 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.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/swp-6625ffd3b5c96073) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test settings::tests::valid_settings ... ok [INFO] [stdout] test settings::tests::invalid_path ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::empty_dir ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::no_project ... ok [INFO] [stdout] test settings::tests::ignore_flag ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::rust ... ok [INFO] [stdout] test utils::file_utils::test::file_does_not_exist ... ok [INFO] [stdout] test swpfile::test::empty_file ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::nodejs ... ok [INFO] [stdout] test swpfile::test::swpfile_cleanuprc ... ok [INFO] [stdout] test utils::file_utils::test::directory_exists ... ok [INFO] [stdout] test utils::file_utils::test::directory_does_not_exist ... ok [INFO] [stdout] test swpfile::test::swpfile ... ok [INFO] [stdout] test utils::file_utils::test::get_file_name ... ok [INFO] [stdout] test utils::file_utils::test::file_exists ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::java ... 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" "6f31227333aa3f92bb04423bccc12fce2599ea9c49c7fcc01f39279f5c4340a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f31227333aa3f92bb04423bccc12fce2599ea9c49c7fcc01f39279f5c4340a0", kill_on_drop: false }` [INFO] [stdout] 6f31227333aa3f92bb04423bccc12fce2599ea9c49c7fcc01f39279f5c4340a0