[INFO] fetching crate duplicate_code 0.8.1... [INFO] testing duplicate_code-0.8.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate duplicate_code 0.8.1 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate duplicate_code 0.8.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] [stderr] Downloaded terminal_size v0.1.16 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded insta v1.7.1 [INFO] [stderr] Downloaded serde v1.0.125 [INFO] [stderr] Downloaded blake3 v0.3.7 [INFO] [stderr] Downloaded libc v0.2.94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c9ef423dd1274ab89eb3b7861a33ea14c1ff5811c3b0195d66a71eb3edeb87f [INFO] running `Command { std: "docker" "start" "-a" "9c9ef423dd1274ab89eb3b7861a33ea14c1ff5811c3b0195d66a71eb3edeb87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c9ef423dd1274ab89eb3b7861a33ea14c1ff5811c3b0195d66a71eb3edeb87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9ef423dd1274ab89eb3b7861a33ea14c1ff5811c3b0195d66a71eb3edeb87f", kill_on_drop: false }` [INFO] [stdout] 9c9ef423dd1274ab89eb3b7861a33ea14c1ff5811c3b0195d66a71eb3edeb87f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b4af41613d7bd27bdedb3431c3ed646f9fc080019897ed4d37d5e4c08c048fe [INFO] running `Command { std: "docker" "start" "-a" "7b4af41613d7bd27bdedb3431c3ed646f9fc080019897ed4d37d5e4c08c048fe", kill_on_drop: false }` [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 proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling quote v1.0.9 [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 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 serde_json v1.0.64 [INFO] [stderr] Compiling duplicate_code v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.60s [INFO] running `Command { std: "docker" "inspect" "7b4af41613d7bd27bdedb3431c3ed646f9fc080019897ed4d37d5e4c08c048fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4af41613d7bd27bdedb3431c3ed646f9fc080019897ed4d37d5e4c08c048fe", kill_on_drop: false }` [INFO] [stdout] 7b4af41613d7bd27bdedb3431c3ed646f9fc080019897ed4d37d5e4c08c048fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a228c5666405d808f24271f11933a3a2e5db977f9fa25c093572e0efc08390aa [INFO] running `Command { std: "docker" "start" "-a" "a228c5666405d808f24271f11933a3a2e5db977f9fa25c093572e0efc08390aa", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling similar v1.3.0 [INFO] [stderr] Compiling uuid v0.8.2 [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 7.51s [INFO] running `Command { std: "docker" "inspect" "a228c5666405d808f24271f11933a3a2e5db977f9fa25c093572e0efc08390aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a228c5666405d808f24271f11933a3a2e5db977f9fa25c093572e0efc08390aa", kill_on_drop: false }` [INFO] [stdout] a228c5666405d808f24271f11933a3a2e5db977f9fa25c093572e0efc08390aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0761953df0ea356e2922f341526034374ecf744b94da16da5c2cc8790c8f15a1 [INFO] running `Command { std: "docker" "start" "-a" "0761953df0ea356e2922f341526034374ecf744b94da16da5c2cc8790c8f15a1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/duplicate_code-a0fbd6c40eaf0967) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_multiple_duplicate_in_different_files ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_duplicate ... 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_and_empty_with_duplicate_on_different_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_on_different_lines ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_ignore_line_regex ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_no_duplicate ... ok [INFO] [stdout] test duplicate_detection::tests::test_empty_hashed_files ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_no_lines ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_hashing_computed_correctly ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_with_ignore_line_regex ... ok [INFO] [stdout] test model::indexed_file::tests::test_empty_raw_files ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_with_duplicate_lines ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_with_no_lines ... ok [INFO] [stdout] test model::indexed_file::tests::test_raw_file_with_no_lines ... ok [INFO] [stdout] test model::indexed_file::tests::test_indexed_file_ignore_line_regex ... ok [INFO] [stdout] test model::indexed_file::tests::test_indexed_file_stores_correct_line_number ... ok [INFO] [stdout] test model::indexed_file::tests::test_indexed_files_consistent_ordering ... ok [INFO] [stdout] test model::hashed_file::tests::test_empty_indexed_files ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0761953df0ea356e2922f341526034374ecf744b94da16da5c2cc8790c8f15a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0761953df0ea356e2922f341526034374ecf744b94da16da5c2cc8790c8f15a1", kill_on_drop: false }` [INFO] [stdout] 0761953df0ea356e2922f341526034374ecf744b94da16da5c2cc8790c8f15a1