[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] testing Yixf-Self/MutationScan against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYixf-Self%2FMutationScan" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yixf-Self/MutationScan on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-23/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45c2769dc1435009b89381af54b4afc937bff492f3598bdd007ef73428719c75 [INFO] running `Command { std: "docker" "start" "-a" "45c2769dc1435009b89381af54b4afc937bff492f3598bdd007ef73428719c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45c2769dc1435009b89381af54b4afc937bff492f3598bdd007ef73428719c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45c2769dc1435009b89381af54b4afc937bff492f3598bdd007ef73428719c75", kill_on_drop: false }` [INFO] [stdout] 45c2769dc1435009b89381af54b4afc937bff492f3598bdd007ef73428719c75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d821213767eebac1e6cf9235b1743d7242acf6990658e120ce9470aa7c2e58de [INFO] running `Command { std: "docker" "start" "-a" "d821213767eebac1e6cf9235b1743d7242acf6990658e120ce9470aa7c2e58de", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - match ( cnt % 4) { [INFO] [stdout] 52 + match cnt % 4 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - match (cnt % 2) { [INFO] [stdout] 125 + match cnt % 2 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [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] 402 + if it.seq.clone()[min_edis_index..min_edis_index+len2].chars().nth(idx) != snp.seq.clone().chars().nth(idx) { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 408 - if(ed_dis <= threshold_value) { [INFO] [stdout] 408 + if ed_dis <= threshold_value { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 416 - if(flag == true) { [INFO] [stdout] 416 + if flag == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 446 - if(len1 <= len2) {continue;} [INFO] [stdout] 446 + if len1 <= len2 {continue;} [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 483 - if(len1 <= len2) {continue;} [INFO] [stdout] 483 + if len1 <= len2 {continue;} [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 498 - if(len1 <= len2){continue;} [INFO] [stdout] 498 + if len1 <= len2 {continue;} [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 499 - if(len3 <= len2){continue;} [INFO] [stdout] 499 + if len3 <= len2 {continue;} [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:33:59 [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:59 [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:59 [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:59 [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: field is never read: `snp_label` [INFO] [stdout] --> src/main.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | snp_label: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `snp_seq` [INFO] [stdout] --> src/main.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | snp_seq: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fastq_header` [INFO] [stdout] --> src/main.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | fastq_header: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fastq_seq` [INFO] [stdout] --> src/main.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | fastq_seq: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fastq_qual` [INFO] [stdout] --> src/main.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | fastq_qual: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "d821213767eebac1e6cf9235b1743d7242acf6990658e120ce9470aa7c2e58de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d821213767eebac1e6cf9235b1743d7242acf6990658e120ce9470aa7c2e58de", kill_on_drop: false }` [INFO] [stdout] d821213767eebac1e6cf9235b1743d7242acf6990658e120ce9470aa7c2e58de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 678bac5c2ef23c16ca00880490afe616d870ef9c287264ac9cdbd915e3fbe8a0 [INFO] running `Command { std: "docker" "start" "-a" "678bac5c2ef23c16ca00880490afe616d870ef9c287264ac9cdbd915e3fbe8a0", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - match ( cnt % 4) { [INFO] [stdout] 52 + match cnt % 4 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - match (cnt % 2) { [INFO] [stdout] 125 + match cnt % 2 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [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] 402 + if it.seq.clone()[min_edis_index..min_edis_index+len2].chars().nth(idx) != snp.seq.clone().chars().nth(idx) { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 408 - if(ed_dis <= threshold_value) { [INFO] [stdout] 408 + if ed_dis <= threshold_value { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 416 - if(flag == true) { [INFO] [stdout] 416 + if flag == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 446 - if(len1 <= len2) {continue;} [INFO] [stdout] 446 + if len1 <= len2 {continue;} [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 483 - if(len1 <= len2) {continue;} [INFO] [stdout] 483 + if len1 <= len2 {continue;} [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 498 - if(len1 <= len2){continue;} [INFO] [stdout] 498 + if len1 <= len2 {continue;} [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 499 - if(len3 <= len2){continue;} [INFO] [stdout] 499 + if len3 <= len2 {continue;} [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:33:59 [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:59 [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:59 [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:59 [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: field is never read: `snp_label` [INFO] [stdout] --> src/main.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | snp_label: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `snp_seq` [INFO] [stdout] --> src/main.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | snp_seq: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fastq_header` [INFO] [stdout] --> src/main.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | fastq_header: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fastq_seq` [INFO] [stdout] --> src/main.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | fastq_seq: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fastq_qual` [INFO] [stdout] --> src/main.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | fastq_qual: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "678bac5c2ef23c16ca00880490afe616d870ef9c287264ac9cdbd915e3fbe8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678bac5c2ef23c16ca00880490afe616d870ef9c287264ac9cdbd915e3fbe8a0", kill_on_drop: false }` [INFO] [stdout] 678bac5c2ef23c16ca00880490afe616d870ef9c287264ac9cdbd915e3fbe8a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d031be567deed7f2e203692a67b9bd84051b70832637ad856dbcab57069d87e3 [INFO] running `Command { std: "docker" "start" "-a" "d031be567deed7f2e203692a67b9bd84051b70832637ad856dbcab57069d87e3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stderr] --> src/main.rs:52:23 [INFO] [stderr] | [INFO] [stderr] 52 | match ( cnt % 4) { [INFO] [stderr] | ^^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 52 - match ( cnt % 4) { [INFO] [stderr] 52 + match cnt % 4 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stderr] --> src/main.rs:125:23 [INFO] [stderr] | [INFO] [stderr] 125 | match (cnt % 2) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 125 - match (cnt % 2) { [INFO] [stderr] 125 + match cnt % 2 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:402:12 [INFO] [stderr] | [INFO] [stderr] 402 | if (it.seq.clone()[min_edis_index..min_edis_index+len2].chars().nth(idx) != snp.seq.clone().chars().nth(idx)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 402 - if (it.seq.clone()[min_edis_index..min_edis_index+len2].chars().nth(idx) != snp.seq.clone().chars().nth(idx)) { [INFO] [stderr] 402 + if it.seq.clone()[min_edis_index..min_edis_index+len2].chars().nth(idx) != snp.seq.clone().chars().nth(idx) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:408:7 [INFO] [stderr] | [INFO] [stderr] 408 | if(ed_dis <= threshold_value) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 408 - if(ed_dis <= threshold_value) { [INFO] [stderr] 408 + if ed_dis <= threshold_value { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:416:11 [INFO] [stderr] | [INFO] [stderr] 416 | if(flag == true) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 416 - if(flag == true) { [INFO] [stderr] 416 + if flag == true { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:446:23 [INFO] [stderr] | [INFO] [stderr] 446 | if(len1 <= len2) {continue;} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 446 - if(len1 <= len2) {continue;} [INFO] [stderr] 446 + if len1 <= len2 {continue;} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:483:31 [INFO] [stderr] | [INFO] [stderr] 483 | ... if(len1 <= len2) {continue;} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 483 - if(len1 <= len2) {continue;} [INFO] [stderr] 483 + if len1 <= len2 {continue;} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:498:31 [INFO] [stderr] | [INFO] [stderr] 498 | ... if(len1 <= len2){continue;} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 498 - if(len1 <= len2){continue;} [INFO] [stderr] 498 + if len1 <= len2 {continue;} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:499:31 [INFO] [stderr] | [INFO] [stderr] 499 | ... if(len3 <= len2){continue;} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 499 - if(len3 <= len2){continue;} [INFO] [stderr] 499 + if len3 <= len2 {continue;} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:33:59 [INFO] [stderr] | [INFO] [stderr] 33 | ... Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:40:59 [INFO] [stderr] | [INFO] [stderr] 40 | ... Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:105:59 [INFO] [stderr] | [INFO] [stderr] 105 | ... Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:112:59 [INFO] [stderr] | [INFO] [stderr] 112 | ... Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `min_edis_index` [INFO] [stderr] --> src/main.rs:447:40 [INFO] [stderr] | [INFO] [stderr] 447 | let (flag, snp_rs, min_edis_index) = search_snp(&it, &snp, threshold_value); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `min_edis_index` [INFO] [stderr] --> src/main.rs:485:48 [INFO] [stderr] | [INFO] [stderr] 485 | ... let (flag, snp_rs, min_edis_index) = search_snp(&it, &snp, threshold_value); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `min_edis_index1` [INFO] [stderr] --> src/main.rs:500:50 [INFO] [stderr] | [INFO] [stderr] 500 | ... let (flag1, snp_rs1, min_edis_index1) = search_snp(&it1, &snp, threshold_value); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `min_edis_index2` [INFO] [stderr] --> src/main.rs:501:50 [INFO] [stderr] | [INFO] [stderr] 501 | ... let (flag2, snp_rs2, min_edis_index2) = search_snp(&it2, &snp, threshold_value); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_edis_index2` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `hamming_distance` [INFO] [stderr] --> src/main.rs:179:4 [INFO] [stderr] | [INFO] [stderr] 179 | fn hamming_distance(s1: &str, s2: &str) -> u32{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `complement_str` [INFO] [stderr] --> src/main.rs:346:4 [INFO] [stderr] | [INFO] [stderr] 346 | fn complement_str(s: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `snp_label` [INFO] [stderr] --> src/main.rs:365:5 [INFO] [stderr] | [INFO] [stderr] 365 | snp_label: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:363:10 [INFO] [stderr] | [INFO] [stderr] 363 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `snp_seq` [INFO] [stderr] --> src/main.rs:366:5 [INFO] [stderr] | [INFO] [stderr] 366 | snp_seq: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:363:10 [INFO] [stderr] | [INFO] [stderr] 363 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fastq_header` [INFO] [stderr] --> src/main.rs:367:5 [INFO] [stderr] | [INFO] [stderr] 367 | fastq_header: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:363:10 [INFO] [stderr] | [INFO] [stderr] 363 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fastq_seq` [INFO] [stderr] --> src/main.rs:368:5 [INFO] [stderr] | [INFO] [stderr] 368 | fastq_seq: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:363:10 [INFO] [stderr] | [INFO] [stderr] 363 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fastq_qual` [INFO] [stderr] --> src/main.rs:369:5 [INFO] [stderr] | [INFO] [stderr] 369 | fastq_qual: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SnpResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:363:10 [INFO] [stderr] | [INFO] [stderr] 363 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: crate `MutationScan` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `mutation_scan` [INFO] [stderr] [INFO] [stderr] warning: `MutationScan` (bin "MutationScan" test) generated 26 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.77s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/MutationScan-62620f14939daccc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d031be567deed7f2e203692a67b9bd84051b70832637ad856dbcab57069d87e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d031be567deed7f2e203692a67b9bd84051b70832637ad856dbcab57069d87e3", kill_on_drop: false }` [INFO] [stdout] d031be567deed7f2e203692a67b9bd84051b70832637ad856dbcab57069d87e3