[INFO] cloning repository https://github.com/Luk13Mad/dnasr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luk13Mad/dnasr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuk13Mad%2Fdnasr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuk13Mad%2Fdnasr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f06556b058c2e404cfd08d456bf9fb304678dff6 [INFO] checking Luk13Mad/dnasr/f06556b058c2e404cfd08d456bf9fb304678dff6 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuk13Mad%2Fdnasr" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luk13Mad/dnasr on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Luk13Mad/dnasr [INFO] finished tweaking git repo https://github.com/Luk13Mad/dnasr [INFO] tweaked toml for git repo https://github.com/Luk13Mad/dnasr written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Luk13Mad/dnasr already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded triple_accel v0.3.4 [INFO] [stderr] Downloaded enum-map-derive v0.4.6 [INFO] [stderr] Downloaded getset v0.0.9 [INFO] [stderr] Downloaded multimap v0.8.2 [INFO] [stderr] Downloaded array-macro v1.0.5 [INFO] [stderr] Downloaded bio-types v0.10.0 [INFO] [stderr] Downloaded statrs v0.12.0 [INFO] [stderr] Downloaded enum-map v0.6.4 [INFO] [stderr] Downloaded bio v0.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffebbf21cd79a79cff953514fb059ee9a907fc69d62d53fac9ed82dd751a8c12 [INFO] running `Command { std: "docker" "start" "-a" "ffebbf21cd79a79cff953514fb059ee9a907fc69d62d53fac9ed82dd751a8c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffebbf21cd79a79cff953514fb059ee9a907fc69d62d53fac9ed82dd751a8c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffebbf21cd79a79cff953514fb059ee9a907fc69d62d53fac9ed82dd751a8c12", kill_on_drop: false }` [INFO] [stdout] ffebbf21cd79a79cff953514fb059ee9a907fc69d62d53fac9ed82dd751a8c12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1087b9cca50a5439af1313370c0ce242dfb24d0ffc05d302c4d63b70018cfa1d [INFO] running `Command { std: "docker" "start" "-a" "1087b9cca50a5439af1313370c0ce242dfb24d0ffc05d302c4d63b70018cfa1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Compiling bio v0.32.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking statrs v0.12.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking triple_accel v0.3.4 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling enum-map-derive v0.4.6 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Checking enum-map v0.6.4 [INFO] [stderr] Checking bio-types v0.10.0 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking multimap v0.8.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking dnasr v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Generate_Config` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Generate_Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateConfig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if (mdim % sub == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - if (mdim % sub == 0){ [INFO] [stdout] 86 + if mdim % sub == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/lib.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | for k in (3..kmer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - for k in (3..kmer){ [INFO] [stdout] 87 + for k in 3..kmer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | if (base.pow(k) % sub != 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if (base.pow(k) % sub != 0){ [INFO] [stdout] 88 + if base.pow(k) % sub != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Search_Config` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Search_Config { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SearchConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ad_couple` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:484:10 [INFO] [stdout] | [INFO] [stdout] 484 | enum ad_couple{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AdCouple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `db_couple` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | db_couple(u32,String), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DbCouple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `query_couple` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | query_couple(u32), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `QueryCouple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Generate_Config` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Generate_Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateConfig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if (mdim % sub == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - if (mdim % sub == 0){ [INFO] [stdout] 86 + if mdim % sub == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/lib.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | for k in (3..kmer){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - for k in (3..kmer){ [INFO] [stdout] 87 + for k in 3..kmer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | if (base.pow(k) % sub != 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if (base.pow(k) % sub != 0){ [INFO] [stdout] 88 + if base.pow(k) % sub != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Search_Config` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Search_Config { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SearchConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ad_couple` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:484:10 [INFO] [stdout] | [INFO] [stdout] 484 | enum ad_couple{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AdCouple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `db_couple` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | db_couple(u32,String), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DbCouple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `query_couple` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | query_couple(u32), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `QueryCouple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:614:24 [INFO] [stdout] | [INFO] [stdout] 614 | pub fn search_main(config: Search_Config) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id_red` is never read [INFO] [stdout] --> src/lib.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 476 | pub struct Point{ [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 477 | abs_position : u32, [INFO] [stdout] 478 | id_red : u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:614:24 [INFO] [stdout] | [INFO] [stdout] 614 | pub fn search_main(config: Search_Config) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isValid` should have a snake case name [INFO] [stdout] --> src/lib.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn isValid(&self) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | let seq = std::str::from_utf8(seq.clone()).unwrap().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_H` should have a snake case name [INFO] [stdout] --> src/lib.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | fn calc_H(&mut self) -> () { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `calc_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_FeatureExtraction` should have a snake case name [INFO] [stdout] --> src/lib.rs:490:16 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn from_FeatureExtraction(feature:&FeatureExtraction,config : &Generate_Config)-> Result,&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_feature_extraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id_red` is never read [INFO] [stdout] --> src/lib.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 476 | pub struct Point{ [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 477 | abs_position : u32, [INFO] [stdout] 478 | id_red : u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isValid` should have a snake case name [INFO] [stdout] --> src/lib.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn isValid(&self) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | let seq = std::str::from_utf8(seq.clone()).unwrap().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_H` should have a snake case name [INFO] [stdout] --> src/lib.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | fn calc_H(&mut self) -> () { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `calc_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_FeatureExtraction` should have a snake case name [INFO] [stdout] --> src/lib.rs:490:16 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn from_FeatureExtraction(feature:&FeatureExtraction,config : &Generate_Config)-> Result,&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_feature_extraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | write!(&mut writer, "{}\t{}\t{}\n",a.0,c.0,c.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | write!(&mut writer, "{}\t{}\t{}\n",a.0,c.0,c.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.81s [INFO] running `Command { std: "docker" "inspect" "1087b9cca50a5439af1313370c0ce242dfb24d0ffc05d302c4d63b70018cfa1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1087b9cca50a5439af1313370c0ce242dfb24d0ffc05d302c4d63b70018cfa1d", kill_on_drop: false }` [INFO] [stdout] 1087b9cca50a5439af1313370c0ce242dfb24d0ffc05d302c4d63b70018cfa1d