[INFO] cloning repository https://github.com/Yixf-Self/MutationScan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yixf-Self/MutationScan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYixf-Self%2FMutationScan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYixf-Self%2FMutationScan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b96f9176772372aeb7efa12aac03d8b24e6f4c7e [INFO] checking Yixf-Self/MutationScan against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYixf-Self%2FMutationScan" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yixf-Self/MutationScan on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yixf-Self/MutationScan [INFO] finished tweaking git repo https://github.com/Yixf-Self/MutationScan [INFO] tweaked toml for git repo https://github.com/Yixf-Self/MutationScan written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Yixf-Self/MutationScan already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84c60170fde224c1079ab800cf14d4515216ac40251f255279ae89691b745cd1 [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" "84c60170fde224c1079ab800cf14d4515216ac40251f255279ae89691b745cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84c60170fde224c1079ab800cf14d4515216ac40251f255279ae89691b745cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c60170fde224c1079ab800cf14d4515216ac40251f255279ae89691b745cd1", kill_on_drop: false }` [INFO] [stdout] 84c60170fde224c1079ab800cf14d4515216ac40251f255279ae89691b745cd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6177e01a785d508a8db80a40f11ed7f2dbfaf81f590794cc3b56e3fc73ba0b7c [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" "6177e01a785d508a8db80a40f11ed7f2dbfaf81f590794cc3b56e3fc73ba0b7c", kill_on_drop: false }` [INFO] [stderr] Checking MutationScan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | match ( cnt % 4) { [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | match (cnt % 2) { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | if (it.seq.clone()[min_edis_index..min_edis_index+len2].chars().nth(idx) != snp.seq.clone().chars().nth(idx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:408:7 [INFO] [stdout] | [INFO] [stdout] 408 | if(ed_dis <= threshold_value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:416:11 [INFO] [stdout] | [INFO] [stdout] 416 | if(flag == true) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:446:23 [INFO] [stdout] | [INFO] [stdout] 446 | if(len1 <= len2) {continue;} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:483:31 [INFO] [stdout] | [INFO] [stdout] 483 | ... if(len1 <= len2) {continue;} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:498:31 [INFO] [stdout] | [INFO] [stdout] 498 | ... if(len1 <= len2){continue;} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:499:31 [INFO] [stdout] | [INFO] [stdout] 499 | ... if(len3 <= len2){continue;} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:40:52 [INFO] [stdout] | [INFO] [stdout] 40 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:105:52 [INFO] [stdout] | [INFO] [stdout] 105 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | match ( cnt % 4) { [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | match (cnt % 2) { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | if (it.seq.clone()[min_edis_index..min_edis_index+len2].chars().nth(idx) != snp.seq.clone().chars().nth(idx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:408:7 [INFO] [stdout] | [INFO] [stdout] 408 | if(ed_dis <= threshold_value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:416:11 [INFO] [stdout] | [INFO] [stdout] 416 | if(flag == true) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:446:23 [INFO] [stdout] | [INFO] [stdout] 446 | if(len1 <= len2) {continue;} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:483:31 [INFO] [stdout] | [INFO] [stdout] 483 | ... if(len1 <= len2) {continue;} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:498:31 [INFO] [stdout] | [INFO] [stdout] 498 | ... if(len1 <= len2){continue;} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:499:31 [INFO] [stdout] | [INFO] [stdout] 499 | ... if(len3 <= len2){continue;} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:40:52 [INFO] [stdout] | [INFO] [stdout] 40 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:105:52 [INFO] [stdout] | [INFO] [stdout] 105 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | ... Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_edis_index` [INFO] [stdout] --> src/main.rs:447:40 [INFO] [stdout] | [INFO] [stdout] 447 | let (flag, snp_rs, min_edis_index) = search_snp(&it, &snp, threshold_value); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_edis_index` [INFO] [stdout] --> src/main.rs:485:48 [INFO] [stdout] | [INFO] [stdout] 485 | ... let (flag, snp_rs, min_edis_index) = search_snp(&it, &snp, threshold_value); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_edis_index1` [INFO] [stdout] --> src/main.rs:500:50 [INFO] [stdout] | [INFO] [stdout] 500 | ... let (flag1, snp_rs1, min_edis_index1) = search_snp(&it1, &snp, threshold_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_edis_index2` [INFO] [stdout] --> src/main.rs:501:50 [INFO] [stdout] | [INFO] [stdout] 501 | ... let (flag2, snp_rs2, min_edis_index2) = search_snp(&it2, &snp, threshold_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_distance` [INFO] [stdout] --> src/main.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn hamming_distance(s1: &str, s2: &str) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `complement_str` [INFO] [stdout] --> src/main.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn complement_str(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MutationScan` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `mutation_scan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_edis_index` [INFO] [stdout] --> src/main.rs:447:40 [INFO] [stdout] | [INFO] [stdout] 447 | let (flag, snp_rs, min_edis_index) = search_snp(&it, &snp, threshold_value); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_edis_index` [INFO] [stdout] --> src/main.rs:485:48 [INFO] [stdout] | [INFO] [stdout] 485 | ... let (flag, snp_rs, min_edis_index) = search_snp(&it, &snp, threshold_value); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_edis_index1` [INFO] [stdout] --> src/main.rs:500:50 [INFO] [stdout] | [INFO] [stdout] 500 | ... let (flag1, snp_rs1, min_edis_index1) = search_snp(&it1, &snp, threshold_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_edis_index2` [INFO] [stdout] --> src/main.rs:501:50 [INFO] [stdout] | [INFO] [stdout] 501 | ... let (flag2, snp_rs2, min_edis_index2) = search_snp(&it2, &snp, threshold_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_distance` [INFO] [stdout] --> src/main.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn hamming_distance(s1: &str, s2: &str) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `complement_str` [INFO] [stdout] --> src/main.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn complement_str(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MutationScan` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `mutation_scan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "6177e01a785d508a8db80a40f11ed7f2dbfaf81f590794cc3b56e3fc73ba0b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6177e01a785d508a8db80a40f11ed7f2dbfaf81f590794cc3b56e3fc73ba0b7c", kill_on_drop: false }` [INFO] [stdout] 6177e01a785d508a8db80a40f11ed7f2dbfaf81f590794cc3b56e3fc73ba0b7c