[INFO] fetching crate swp 1.0.3... [INFO] testing swp-1.0.3 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate swp 1.0.3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate swp 1.0.3 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-1/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dunce v1.0.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 950bf4a8b5eaf872d65df89c0cb9371ab429d07bfbf7c9236dc8dfdb67d24f58 [INFO] running `Command { std: "docker" "start" "-a" "950bf4a8b5eaf872d65df89c0cb9371ab429d07bfbf7c9236dc8dfdb67d24f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "950bf4a8b5eaf872d65df89c0cb9371ab429d07bfbf7c9236dc8dfdb67d24f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950bf4a8b5eaf872d65df89c0cb9371ab429d07bfbf7c9236dc8dfdb67d24f58", kill_on_drop: false }` [INFO] [stdout] 950bf4a8b5eaf872d65df89c0cb9371ab429d07bfbf7c9236dc8dfdb67d24f58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d18685827ea62974657747bfd7f6b51ccfe6a6684c4880895bd9f54eb636059 [INFO] running `Command { std: "docker" "start" "-a" "6d18685827ea62974657747bfd7f6b51ccfe6a6684c4880895bd9f54eb636059", kill_on_drop: false }` [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-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [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 yansi v0.5.0 [INFO] [stderr] Compiling dunce v1.0.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 heck v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [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: 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!("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 29.16s [INFO] running `Command { std: "docker" "inspect" "6d18685827ea62974657747bfd7f6b51ccfe6a6684c4880895bd9f54eb636059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d18685827ea62974657747bfd7f6b51ccfe6a6684c4880895bd9f54eb636059", kill_on_drop: false }` [INFO] [stdout] 6d18685827ea62974657747bfd7f6b51ccfe6a6684c4880895bd9f54eb636059 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 960d9f55b73b8608b28f899a0a4cda12a17244f25c5aa38dddde3cc8de75076e [INFO] running `Command { std: "docker" "start" "-a" "960d9f55b73b8608b28f899a0a4cda12a17244f25c5aa38dddde3cc8de75076e", 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: 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!("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 4.45s [INFO] running `Command { std: "docker" "inspect" "960d9f55b73b8608b28f899a0a4cda12a17244f25c5aa38dddde3cc8de75076e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "960d9f55b73b8608b28f899a0a4cda12a17244f25c5aa38dddde3cc8de75076e", kill_on_drop: false }` [INFO] [stdout] 960d9f55b73b8608b28f899a0a4cda12a17244f25c5aa38dddde3cc8de75076e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] edef85a68cde93ba1ff7e3c6b58bbf11bc657168407802284bfd67181b5dc2b2 [INFO] running `Command { std: "docker" "start" "-a" "edef85a68cde93ba1ff7e3c6b58bbf11bc657168407802284bfd67181b5dc2b2", 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!("Label {} too long", label); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/swp-93c067138409616c) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test discover_projects::detect_cleanable_project::test::no_project ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::java ... ok [INFO] [stdout] test utils::file_utils::test::directory_does_not_exist ... ok [INFO] [stdout] test utils::file_utils::test::file_does_not_exist ... ok [INFO] [stdout] test utils::file_utils::test::directory_exists ... ok [INFO] [stdout] test swpfile::test::swpfile_cleanuprc ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::rust ... ok [INFO] [stdout] test settings::tests::invalid_path ... ok [INFO] [stdout] test settings::tests::valid_settings ... ok [INFO] [stdout] test swpfile::test::swpfile ... ok [INFO] [stdout] test settings::tests::ignore_flag ... ok [INFO] [stdout] test utils::file_utils::test::file_exists ... 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 swpfile::test::empty_file ... ok [INFO] [stdout] test discover_projects::detect_cleanable_project::test::empty_dir ... 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" "edef85a68cde93ba1ff7e3c6b58bbf11bc657168407802284bfd67181b5dc2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edef85a68cde93ba1ff7e3c6b58bbf11bc657168407802284bfd67181b5dc2b2", kill_on_drop: false }` [INFO] [stdout] edef85a68cde93ba1ff7e3c6b58bbf11bc657168407802284bfd67181b5dc2b2