[INFO] fetching crate duplicate_code 0.8.1... [INFO] testing duplicate_code-0.8.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate duplicate_code 0.8.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate duplicate_code 0.8.1 [INFO] finished tweaking crates.io crate duplicate_code 0.8.1 [INFO] tweaked toml for crates.io crate duplicate_code 0.8.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate duplicate_code 0.8.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate duplicate_code 0.8.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50ba89ea71c16c4e60f51d1ae178a20cc5a46bf88316b6f88a3952e1f19d9937 [INFO] running `Command { std: "docker" "start" "-a" "50ba89ea71c16c4e60f51d1ae178a20cc5a46bf88316b6f88a3952e1f19d9937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50ba89ea71c16c4e60f51d1ae178a20cc5a46bf88316b6f88a3952e1f19d9937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ba89ea71c16c4e60f51d1ae178a20cc5a46bf88316b6f88a3952e1f19d9937", kill_on_drop: false }` [INFO] [stdout] 50ba89ea71c16c4e60f51d1ae178a20cc5a46bf88316b6f88a3952e1f19d9937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71e8f25d2326c9f2a90bec0354f17d18f4945b08b1b53dc7647c83334f4782d2 [INFO] running `Command { std: "docker" "start" "-a" "71e8f25d2326c9f2a90bec0354f17d18f4945b08b1b53dc7647c83334f4782d2", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling duplicate_code v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.98s [INFO] running `Command { std: "docker" "inspect" "71e8f25d2326c9f2a90bec0354f17d18f4945b08b1b53dc7647c83334f4782d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e8f25d2326c9f2a90bec0354f17d18f4945b08b1b53dc7647c83334f4782d2", kill_on_drop: false }` [INFO] [stdout] 71e8f25d2326c9f2a90bec0354f17d18f4945b08b1b53dc7647c83334f4782d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da6b0fe0219130c05977f979d667531e55101cca91f243d113b754eaf60889cd [INFO] running `Command { std: "docker" "start" "-a" "da6b0fe0219130c05977f979d667531e55101cca91f243d113b754eaf60889cd", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling similar v1.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling insta v1.7.1 [INFO] [stderr] Compiling duplicate_code v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.35s [INFO] running `Command { std: "docker" "inspect" "da6b0fe0219130c05977f979d667531e55101cca91f243d113b754eaf60889cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da6b0fe0219130c05977f979d667531e55101cca91f243d113b754eaf60889cd", kill_on_drop: false }` [INFO] [stdout] da6b0fe0219130c05977f979d667531e55101cca91f243d113b754eaf60889cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 951cb892e962521eb194f1a2c50f5de8e7487fde47f37b6fc2c067149a07d390 [INFO] running `Command { std: "docker" "start" "-a" "951cb892e962521eb194f1a2c50f5de8e7487fde47f37b6fc2c067149a07d390", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/duplicate_code-9f0e4331367f4a97) [INFO] [stdout] running 20 tests [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_and_empty_with_duplicate_on_different_lines ... ok [INFO] [stdout] test duplicate_detection::tests::test_empty_hashed_files ... ok [INFO] [stdout] test model::indexed_file::tests::test_indexed_file_ignore_line_regex ... ok [INFO] [stdout] test model::indexed_file::tests::test_indexed_files_consistent_ordering ... ok [INFO] [stdout] test model::indexed_file::tests::test_raw_file_with_no_lines ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_file_with_no_lines ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_duplicate_with_multiple_occurrences ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_duplicate_on_different_lines ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_no_duplicate ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_duplicate ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_multiple_duplicate_in_different_files ... ok [INFO] [stdout] test model::hashed_file::tests::test_empty_indexed_files ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_hashing_computed_correctly ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_no_lines ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_with_no_lines ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_with_duplicate_lines ... ok [INFO] [stdout] test model::indexed_file::tests::test_empty_raw_files ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_with_ignore_line_regex ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_ignore_line_regex ... ok [INFO] [stdout] test model::indexed_file::tests::test_indexed_file_stores_correct_line_number ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "951cb892e962521eb194f1a2c50f5de8e7487fde47f37b6fc2c067149a07d390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "951cb892e962521eb194f1a2c50f5de8e7487fde47f37b6fc2c067149a07d390", kill_on_drop: false }` [INFO] [stdout] 951cb892e962521eb194f1a2c50f5de8e7487fde47f37b6fc2c067149a07d390