[INFO] fetching crate duplicate_code 0.8.0... [INFO] testing duplicate_code-0.8.0 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate duplicate_code 0.8.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate duplicate_code 0.8.0 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate duplicate_code 0.8.0 [INFO] finished tweaking crates.io crate duplicate_code 0.8.0 [INFO] tweaked toml for crates.io crate duplicate_code 0.8.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate duplicate_code 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--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 insta v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b60278254dd452dbbdb43f6ab862de88187fc67a14b0eedb1dbc2a21f895765 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b60278254dd452dbbdb43f6ab862de88187fc67a14b0eedb1dbc2a21f895765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b60278254dd452dbbdb43f6ab862de88187fc67a14b0eedb1dbc2a21f895765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b60278254dd452dbbdb43f6ab862de88187fc67a14b0eedb1dbc2a21f895765", kill_on_drop: false }` [INFO] [stdout] 5b60278254dd452dbbdb43f6ab862de88187fc67a14b0eedb1dbc2a21f895765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f1e5b872f4f505f03a6418c03c0bd7f3c81c56f6291c9a3202f97ca70c49692 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4f1e5b872f4f505f03a6418c03c0bd7f3c81c56f6291c9a3202f97ca70c49692", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.15 [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.4.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling console v0.13.0 [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.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "4f1e5b872f4f505f03a6418c03c0bd7f3c81c56f6291c9a3202f97ca70c49692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1e5b872f4f505f03a6418c03c0bd7f3c81c56f6291c9a3202f97ca70c49692", kill_on_drop: false }` [INFO] [stdout] 4f1e5b872f4f505f03a6418c03c0bd7f3c81c56f6291c9a3202f97ca70c49692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b53af8dede8a06419ff6f0a8026ba47d88880a98080a2936277bef9d64e55dc9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b53af8dede8a06419ff6f0a8026ba47d88880a98080a2936277bef9d64e55dc9", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling console v0.12.0 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling serde_yaml v0.8.14 [INFO] [stderr] Compiling insta v1.3.0 [INFO] [stderr] Compiling duplicate_code v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.47s [INFO] running `Command { std: "docker" "inspect" "b53af8dede8a06419ff6f0a8026ba47d88880a98080a2936277bef9d64e55dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53af8dede8a06419ff6f0a8026ba47d88880a98080a2936277bef9d64e55dc9", kill_on_drop: false }` [INFO] [stdout] b53af8dede8a06419ff6f0a8026ba47d88880a98080a2936277bef9d64e55dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e520674276572942573c19656e9ea0ae19339ebc5000c25b273dcda5d51d1468 [INFO] running `Command { std: "docker" "start" "-a" "e520674276572942573c19656e9ea0ae19339ebc5000c25b273dcda5d51d1468", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/duplicate_code-8bac5b7c7750be31 [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test duplicate_detection::tests::test_hashed_file_with_no_lines ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_with_no_lines ... ok [INFO] [stdout] test duplicate_detection::tests::test_empty_hashed_files ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_duplicate_with_multiple_occurrences ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_with_ignore_line_regex ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_with_duplicate_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_multiple_duplicate_in_different_files ... ok [INFO] [stdout] test model::indexed_file::tests::test_empty_raw_files ... 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_files_with_no_lines ... ok [INFO] [stdout] test model::indexed_file::tests::test_indexed_files_consistent_ordering ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_no_duplicate ... ok [INFO] [stdout] test model::hashed_file::tests::test_empty_indexed_files ... ok [INFO] [stdout] test model::indexed_file::tests::test_raw_file_with_no_lines ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_duplicate_on_different_lines ... ok [INFO] [stdout] test model::indexed_file::tests::test_indexed_file_ignore_line_regex ... ok [INFO] [stdout] test model::hashed_file::tests::test_indexed_file_hashing_computed_correctly ... ok [INFO] [stdout] test model::indexed_file::tests::test_indexed_file_stores_correct_line_number ... ok [INFO] [stdout] test duplicate_detection::tests::test_hashed_files_with_duplicate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e520674276572942573c19656e9ea0ae19339ebc5000c25b273dcda5d51d1468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e520674276572942573c19656e9ea0ae19339ebc5000c25b273dcda5d51d1468", kill_on_drop: false }` [INFO] [stdout] e520674276572942573c19656e9ea0ae19339ebc5000c25b273dcda5d51d1468