[INFO] cloning repository https://github.com/zhanif3/701 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhanif3/701" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhanif3%2F701", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhanif3%2F701'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04144afb7cf245596996350a6d5f8fa6eed1b886 [INFO] checking zhanif3/701 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhanif3%2F701" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhanif3/701 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhanif3/701 [INFO] finished tweaking git repo https://github.com/zhanif3/701 [INFO] tweaked toml for git repo https://github.com/zhanif3/701 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/zhanif3/701 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0792a8c4f3e2a9798df02949fded1818d52df6a587662f0be573969d323a13bf [INFO] running `Command { std: "docker" "start" "-a" "0792a8c4f3e2a9798df02949fded1818d52df6a587662f0be573969d323a13bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0792a8c4f3e2a9798df02949fded1818d52df6a587662f0be573969d323a13bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0792a8c4f3e2a9798df02949fded1818d52df6a587662f0be573969d323a13bf", kill_on_drop: false }` [INFO] [stdout] 0792a8c4f3e2a9798df02949fded1818d52df6a587662f0be573969d323a13bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e923af14d035a0978413604e1af1fa02d9c41522f1697d81905b879058d16161 [INFO] running `Command { std: "docker" "start" "-a" "e923af14d035a0978413604e1af1fa02d9c41522f1697d81905b879058d16161", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.53 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling bio v0.25.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling bv v0.10.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling bincode v1.1.3 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking statrs v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Checking csv v1.0.7 [INFO] [stderr] Checking multimap v0.4.0 [INFO] [stderr] Checking bio-types v0.5.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking tinytemplate v1.0.1 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking bwt v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/common/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/common/search.rs (7 fixes) [INFO] [stderr] Fixed src/common/suffix_array.rs (15 fixes) [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/common/search.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Counts` should have a snake case name [INFO] [stdout] --> src/common/search.rs:43:70 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn search(query: &str, zipped: &Vec<(&Nucleotide, &Nucleotide)>, Counts: &HashMap) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `counts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Counts` should have a snake case name [INFO] [stdout] --> src/common/search.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | fn get_pos_from_vec(rows: &Vec<&(&(char, usize), &(char, usize))>, Counts: &HashMap) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `counts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `L` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub L: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `F` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub F: Vec, // Character, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Index` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub Index: HashMap, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FCounts` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub FCounts: HashMap, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `fcounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let F: Vec = sa.iter().enumerate().map(|suffix| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let L: Vec = sa.iter().map(|suffix| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let Index: HashMap = (0 .. t.len()).into_par_iter().map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: function is never used: `test_search_capabilities_partial` [INFO] [stdout] --> src/common/search.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn test_search_capabilities_partial() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/comparative_benchmark.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/search_client.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/all_in_one.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/bwt_rosalind.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/benches/my_benchmark.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/common/search.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Counts` should have a snake case name [INFO] [stdout] --> src/common/search.rs:43:70 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn search(query: &str, zipped: &Vec<(&Nucleotide, &Nucleotide)>, Counts: &HashMap) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `counts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Counts` should have a snake case name [INFO] [stdout] --> src/common/search.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | fn get_pos_from_vec(rows: &Vec<&(&(char, usize), &(char, usize))>, Counts: &HashMap) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `counts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `L` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub L: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `F` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub F: Vec, // Character, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Index` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub Index: HashMap, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FCounts` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub FCounts: HashMap, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `fcounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let F: Vec = sa.iter().enumerate().map(|suffix| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let L: Vec = sa.iter().map(|suffix| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let Index: HashMap = (0 .. t.len()).into_par_iter().map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let T = "ABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/comparative_benchmark.rs (13 fixes) [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/comparative_benchmark.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/main.rs (12 fixes) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/all_in_one.rs (15 fixes) [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | lf_buffer.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/all_in_one.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/all_in_one.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/search_client.rs (10 fixes) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/all_in_one.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/search_client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/all_in_one.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/bwt_rosalind.rs (10 fixes) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/bwt_rosalind.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/bwt_rosalind.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::IndexedParallelIterator` [INFO] [stdout] --> src/bin/bwt_rosalind.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rayon::iter::IndexedParallelIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::ParallelIterator` [INFO] [stdout] --> src/bin/bwt_rosalind.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rayon::iter::ParallelIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn generate_l(T: &str) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let L: Vec = T.as_bytes().iter().map(|c| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn generate_f(T: &str) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut F: Vec = T.as_bytes().iter().map(|c| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let L = generate_l(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let F = generate_f(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let Index: HashMap = (0..T.len()).map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::IndexedParallelIterator` [INFO] [stdout] --> src/bin/bwt_rosalind.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rayon::iter::IndexedParallelIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::ParallelIterator` [INFO] [stdout] --> src/bin/bwt_rosalind.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rayon::iter::ParallelIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn generate_l(T: &str) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let L: Vec = T.as_bytes().iter().map(|c| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn generate_f(T: &str) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut F: Vec = T.as_bytes().iter().map(|c| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let L = generate_l(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let F = generate_f(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let Index: HashMap = (0..T.len()).map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ROSALIND_TEST_TRUE` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn ROSALIND_TEST_TRUE() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rosalind_test_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let T = "TTCCTAACG$A"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let L = generate_l(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let F = generate_f(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let Index: HashMap = (0..T.len()).map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/benches/my_benchmark.rs (2 fixes) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fibonacci` [INFO] [stdout] --> src/benches/my_benchmark.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn fibonacci(n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `criterion_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn criterion_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sa_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn sa_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reverse_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn reverse_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parallel_search_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn parallel_search_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sarr_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn sarr_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/benches/my_benchmark.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/benches/my_benchmark.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | lf_buffer.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/search_client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/comparative_benchmark.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.67s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking bwt v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `test_search_capabilities_partial` [INFO] [stdout] --> src/common/search.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn test_search_capabilities_partial() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/common/search.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Counts` should have a snake case name [INFO] [stdout] --> src/common/search.rs:43:70 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn search(query: &str, zipped: &Vec<(&Nucleotide, &Nucleotide)>, Counts: &HashMap) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `counts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Counts` should have a snake case name [INFO] [stdout] --> src/common/search.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | fn get_pos_from_vec(rows: &Vec<&(&(char, usize), &(char, usize))>, Counts: &HashMap) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `counts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/search.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `L` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub L: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `F` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub F: Vec, // Character, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Index` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub Index: HashMap, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FCounts` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub FCounts: HashMap, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `fcounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let F: Vec = sa.iter().enumerate().map(|suffix| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let L: Vec = sa.iter().map(|suffix| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let Index: HashMap = (0 .. t.len()).into_par_iter().map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let T = "ABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let T = "ABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABAABA$"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/common/search.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Counts` should have a snake case name [INFO] [stdout] --> src/common/search.rs:43:70 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn search(query: &str, zipped: &Vec<(&Nucleotide, &Nucleotide)>, Counts: &HashMap) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `counts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Counts` should have a snake case name [INFO] [stdout] --> src/common/search.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | fn get_pos_from_vec(rows: &Vec<&(&(char, usize), &(char, usize))>, Counts: &HashMap) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `counts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `L` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub L: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `F` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub F: Vec, // Character, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Index` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub Index: HashMap, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FCounts` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub FCounts: HashMap, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `fcounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let F: Vec = sa.iter().enumerate().map(|suffix| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let L: Vec = sa.iter().map(|suffix| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/common/suffix_array.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let Index: HashMap = (0 .. t.len()).into_par_iter().map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/search_client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/search_client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/comparative_benchmark.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/bwt_rosalind.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/all_in_one.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/all_in_one.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fibonacci` [INFO] [stdout] --> src/benches/my_benchmark.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn fibonacci(n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `criterion_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn criterion_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sa_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn sa_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reverse_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn reverse_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parallel_search_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn parallel_search_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sarr_benchmark` [INFO] [stdout] --> src/benches/my_benchmark.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn sarr_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/benches/my_benchmark.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/benches/my_benchmark.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/comparative_benchmark.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/bwt_rosalind.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/all_in_one.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/all_in_one.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::IndexedParallelIterator` [INFO] [stdout] --> src/bin/bwt_rosalind.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rayon::iter::IndexedParallelIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::ParallelIterator` [INFO] [stdout] --> src/bin/bwt_rosalind.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rayon::iter::ParallelIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::IndexedParallelIterator` [INFO] [stdout] --> src/bin/bwt_rosalind.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rayon::iter::IndexedParallelIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::ParallelIterator` [INFO] [stdout] --> src/bin/bwt_rosalind.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rayon::iter::ParallelIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn generate_l(T: &str) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let L: Vec = T.as_bytes().iter().map(|c| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn generate_f(T: &str) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut F: Vec = T.as_bytes().iter().map(|c| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let L = generate_l(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let F = generate_f(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let Index: HashMap = (0..T.len()).map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn generate_l(T: &str) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let L: Vec = T.as_bytes().iter().map(|c| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn generate_f(T: &str) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut F: Vec = T.as_bytes().iter().map(|c| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let L = generate_l(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let F = generate_f(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let Index: HashMap = (0..T.len()).map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ROSALIND_TEST_TRUE` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn ROSALIND_TEST_TRUE() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rosalind_test_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let T = "TTCCTAACG$A"; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let L = generate_l(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let F = generate_f(&T); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Index` should have a snake case name [INFO] [stdout] --> src/bin/bwt_rosalind.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let Index: HashMap = (0..T.len()).map(|i| { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | lf_buffer.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let T = file_contents.as_str(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | lf_buffer.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.48s [INFO] running `Command { std: "docker" "inspect" "e923af14d035a0978413604e1af1fa02d9c41522f1697d81905b879058d16161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e923af14d035a0978413604e1af1fa02d9c41522f1697d81905b879058d16161", kill_on_drop: false }` [INFO] [stdout] e923af14d035a0978413604e1af1fa02d9c41522f1697d81905b879058d16161