[INFO] fetching crate microBioRust-seqmetrics 0.1.1... [INFO] checking microBioRust-seqmetrics-0.1.1 against master#249cb84316401daf040832cdbb8a45e0f5ab6af8 for pr-138438 [INFO] extracting crate microBioRust-seqmetrics 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate microBioRust-seqmetrics 0.1.1 on toolchain 249cb84316401daf040832cdbb8a45e0f5ab6af8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate microBioRust-seqmetrics 0.1.1 [INFO] finished tweaking crates.io crate microBioRust-seqmetrics 0.1.1 [INFO] tweaked toml for crates.io crate microBioRust-seqmetrics 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate microBioRust-seqmetrics 0.1.1 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" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getset v0.1.3 [INFO] [stderr] Downloaded microBioRust v0.1.1 [INFO] [stderr] Downloaded protein-translate v0.2.0 [INFO] [stderr] Downloaded bio v0.37.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d864edee620eaf65a8684a2b4482115074a7a8a55fc9e4d18a6d4b52c81cfd5 [INFO] running `Command { std: "docker" "start" "-a" "8d864edee620eaf65a8684a2b4482115074a7a8a55fc9e4d18a6d4b52c81cfd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d864edee620eaf65a8684a2b4482115074a7a8a55fc9e4d18a6d4b52c81cfd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d864edee620eaf65a8684a2b4482115074a7a8a55fc9e4d18a6d4b52c81cfd5", kill_on_drop: false }` [INFO] [stdout] 8d864edee620eaf65a8684a2b4482115074a7a8a55fc9e4d18a6d4b52c81cfd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0281f25188812aa874743da978d4cb6087859665fec42c93a3fa19fd80a9d7b [INFO] running `Command { std: "docker" "start" "-a" "b0281f25188812aa874743da978d4cb6087859665fec42c93a3fa19fd80a9d7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling bio v0.37.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Checking triple_accel v0.4.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking protein-translate v0.2.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling enum-map-derive v0.6.0 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Checking enum-map v1.1.1 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling getset v0.1.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bio-types v1.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking nalgebra v0.27.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking statrs v0.15.0 [INFO] [stderr] Checking microBioRust v0.1.1 [INFO] [stderr] Checking microBioRust-seqmetrics v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/metrics.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `microBioRust::gbk::Reader` [INFO] [stdout] --> src/metrics.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | use microBioRust::gbk::Reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/metrics.rs:412:10 [INFO] [stdout] | [INFO] [stdout] 412 | for (index, window) in windows.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | let mut hydrophobicity: Hydrophobicity = Hydrophobicity::new_KD(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let mut windows: Vec = protein_seq [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `percentages` is never read [INFO] [stdout] --> src/metrics.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | let mut percentages: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/metrics.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 198 | impl $struct_name { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | (Alanine, alanine, Ala, A), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 278 | (Arginine, arginine, Arg, R), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 279 | (Asparagine, asparagine, Asn, N), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 280 | (Aspartate, aspartate, Asp, D), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 281 | (Cysteine, cysteine, Cys, C), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 282 | (Glutamine, glutamine, Gln, Q), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 283 | (Glutamate, glutamate, Glu, E), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 284 | (Glycine, glycine, Gly, G), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 285 | (Histidine, histidine, His, H), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 286 | (Isoleucine, isoleucine, Ile, I), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 287 | (Leucine, leucine, Leu, L), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 288 | (Lysine, lysine, Lys, K), [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 289 | (Methionine, methionine, Met, M), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 290 | (Phenylalanine, phenylalanine, Phe, F), [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 291 | (Proline, proline, Pro, P), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 292 | (Serine, serine, Ser, S), [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 293 | (Threonine, threonine, Thr, T), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 294 | (Tryptophan, trytophan, Trp, W), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 295 | (Tyrosine, tyrosine, Tyr, Y), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 296 | (Valine, valine, Val, V) [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `amino_acid_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/metrics.rs:385:15 [INFO] [stdout] | [INFO] [stdout] 198 | impl $struct_name { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 385 | (Alanine, alanine, Ala, A), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 386 | (Arginine, arginine, Arg, R), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 387 | (Asparagine, asparagine, Asn, N), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 388 | (Aspartate, aspartate, Asp, D), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 389 | (Cysteine, cysteine, Cys, C), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 390 | (Glutamine, glutamine, Gln, Q), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 391 | (Glutamate, glutamate, Glu, E), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 392 | (Glycine, glycine, Gly, G), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 393 | (Histidine, histidine, His, H), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 394 | (Isoleucine, isoleucine, Ile, I), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 395 | (Leucine, leucine, Leu, L), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 396 | (Lysine, lysine, Lys, K), [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 397 | (Methionine, methionine, Met, M), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 398 | (Phenylalanine, phenylalanine, Phe, F), [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 399 | (Proline, proline, Pro, P), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 400 | (Serine, serine, Ser, S), [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 401 | (Threonine, threonine, Thr, T), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 402 | (Tryptophan, trytophan, Trp, W), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 403 | (Tyrosine, tyrosine, Tyr, Y), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 404 | (Valine, valine, Val, V) [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `amino_acid_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `microBioRust_seqmetrics` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `micro_bio_rust_seqmetrics` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Alanine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | Alanine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `alanine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Arginine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | Arginine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arginine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Asparagine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | Asparagine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `asparagine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Aspartate` should have a snake case name [INFO] [stdout] --> src/metrics.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | Aspartate: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `aspartate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cysteine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | Cysteine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cysteine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glutamate` should have a snake case name [INFO] [stdout] --> src/metrics.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | Glutamate: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `glutamate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glutamine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | Glutamine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `glutamine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glycine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | Glycine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `glycine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Histidine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | Histidine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `histidine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Isoleucine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | Isoleucine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `isoleucine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Leucine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | Leucine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `leucine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Lysine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | Lysine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `lysine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Methionine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | Methionine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `methionine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Phenylalanine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | Phenylalanine: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `phenylalanine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Proline` should have a snake case name [INFO] [stdout] --> src/metrics.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | Proline: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `proline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Serine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | Serine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `serine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Threonine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | Threonine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `threonine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tryptophan` should have a snake case name [INFO] [stdout] --> src/metrics.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | Tryptophan: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tryptophan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tyrosine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | Tyrosine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tyrosine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Valine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | Valine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `valine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/metrics.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | impl $struct_name { [INFO] [stdout] | ^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `MolWeights` is not local [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn molecular_weight(protein_seq: &str) -> f64 { [INFO] [stdout] | ------------------------------------------------- move the `impl` block outside of this function `molecular_weight` [INFO] [stdout] 275 | let amino_weights: MolWeights = MolWeights::new(); [INFO] [stdout] 276 | / amino_acid_getters!(MolWeights, [INFO] [stdout] 277 | | (Alanine, alanine, Ala, A), [INFO] [stdout] 278 | | (Arginine, arginine, Arg, R), [INFO] [stdout] 279 | | (Asparagine, asparagine, Asn, N), [INFO] [stdout] ... | [INFO] [stdout] 296 | | (Valine, valine, Val, V) [INFO] [stdout] 297 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `amino_acid_getters` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `amino_acid_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Alanine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | Alanine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `alanine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Arginine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | Arginine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arginine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Asparagine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | Asparagine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `asparagine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Aspartate` should have a snake case name [INFO] [stdout] --> src/metrics.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | Aspartate: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `aspartate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/metrics.rs:412:10 [INFO] [stdout] | [INFO] [stdout] 412 | for (index, window) in windows.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cysteine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | Cysteine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cysteine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glutamate` should have a snake case name [INFO] [stdout] --> src/metrics.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | Glutamate: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `glutamate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glutamine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | Glutamine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `glutamine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glycine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | Glycine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `glycine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Histidine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | Histidine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `histidine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Isoleucine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | Isoleucine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `isoleucine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Leucine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | Leucine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `leucine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Lysine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | Lysine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `lysine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Methionine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | Methionine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `methionine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Phenylalanine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | Phenylalanine: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `phenylalanine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Proline` should have a snake case name [INFO] [stdout] --> src/metrics.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | Proline: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `proline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Serine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | Serine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `serine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Threonine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | Threonine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `threonine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tryptophan` should have a snake case name [INFO] [stdout] --> src/metrics.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | Tryptophan: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tryptophan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tyrosine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | Tyrosine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tyrosine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Valine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | Valine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `valine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_KD` should have a snake case name [INFO] [stdout] --> src/metrics.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn new_KD() -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_kd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/metrics.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | impl $struct_name { [INFO] [stdout] | ^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `Hydrophobicity` is not local [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn hydrophobicity(protein_seq: &str, window_size: usize) -> Vec { [INFO] [stdout] | ------------------------------------------------------------------------ move the `impl` block outside of this function `hydrophobicity` [INFO] [stdout] ... [INFO] [stdout] 384 | / amino_acid_getters!(Hydrophobicity, [INFO] [stdout] 385 | | (Alanine, alanine, Ala, A), [INFO] [stdout] 386 | | (Arginine, arginine, Arg, R), [INFO] [stdout] 387 | | (Asparagine, asparagine, Asn, N), [INFO] [stdout] ... | [INFO] [stdout] 404 | | (Valine, valine, Val, V) [INFO] [stdout] 405 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `amino_acid_getters` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `amino_acid_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | let mut hydrophobicity: Hydrophobicity = Hydrophobicity::new_KD(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let mut windows: Vec = protein_seq [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `percentages` is never read [INFO] [stdout] --> src/metrics.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | let mut percentages: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/metrics.rs:479:32 [INFO] [stdout] | [INFO] [stdout] 479 | for (k, v) in &record.cds.attributes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/metrics.rs:484:21 [INFO] [stdout] | [INFO] [stdout] 484 | let mut result = String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | let mut reader = Reader::new(file_gbk); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:476:29 [INFO] [stdout] | [INFO] [stdout] 476 | Some(Ok(mut record)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | let mut result = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `molecular_weight_total` is never read [INFO] [stdout] --> src/metrics.rs:513:14 [INFO] [stdout] | [INFO] [stdout] 513 | let mut molecular_weight_total: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/metrics.rs:519:32 [INFO] [stdout] | [INFO] [stdout] 519 | for (k, v) in &record.cds.attributes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let mut reader = Reader::new(file_gbk); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:516:29 [INFO] [stdout] | [INFO] [stdout] 516 | Some(Ok(mut record)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `results` is never read [INFO] [stdout] --> src/metrics.rs:545:14 [INFO] [stdout] | [INFO] [stdout] 545 | let mut results: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/metrics.rs:551:32 [INFO] [stdout] | [INFO] [stdout] 551 | for (k, v) in &record.cds.attributes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | let mut reader = Reader::new(file_gbk); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:548:29 [INFO] [stdout] | [INFO] [stdout] 548 | Some(Ok(mut record)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `results` is never read [INFO] [stdout] --> src/metrics.rs:578:10 [INFO] [stdout] | [INFO] [stdout] 578 | let mut results: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/metrics.rs:582:20 [INFO] [stdout] | [INFO] [stdout] 582 | for (k, v) in &record.cds.attributes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:576:6 [INFO] [stdout] | [INFO] [stdout] 576 | let mut reader = Reader::new(file_gbk); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:581:16 [INFO] [stdout] | [INFO] [stdout] 581 | Some(Ok(mut record)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/metrics.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 198 | impl $struct_name { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | (Alanine, alanine, Ala, A), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 278 | (Arginine, arginine, Arg, R), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 279 | (Asparagine, asparagine, Asn, N), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 280 | (Aspartate, aspartate, Asp, D), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 281 | (Cysteine, cysteine, Cys, C), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 282 | (Glutamine, glutamine, Gln, Q), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 283 | (Glutamate, glutamate, Glu, E), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 284 | (Glycine, glycine, Gly, G), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 285 | (Histidine, histidine, His, H), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 286 | (Isoleucine, isoleucine, Ile, I), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 287 | (Leucine, leucine, Leu, L), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 288 | (Lysine, lysine, Lys, K), [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 289 | (Methionine, methionine, Met, M), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 290 | (Phenylalanine, phenylalanine, Phe, F), [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 291 | (Proline, proline, Pro, P), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 292 | (Serine, serine, Ser, S), [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 293 | (Threonine, threonine, Thr, T), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 294 | (Tryptophan, trytophan, Trp, W), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 295 | (Tyrosine, tyrosine, Tyr, Y), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 296 | (Valine, valine, Val, V) [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `amino_acid_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/metrics.rs:385:15 [INFO] [stdout] | [INFO] [stdout] 198 | impl $struct_name { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 385 | (Alanine, alanine, Ala, A), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 386 | (Arginine, arginine, Arg, R), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 387 | (Asparagine, asparagine, Asn, N), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 388 | (Aspartate, aspartate, Asp, D), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 389 | (Cysteine, cysteine, Cys, C), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 390 | (Glutamine, glutamine, Gln, Q), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 391 | (Glutamate, glutamate, Glu, E), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 392 | (Glycine, glycine, Gly, G), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 393 | (Histidine, histidine, His, H), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 394 | (Isoleucine, isoleucine, Ile, I), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 395 | (Leucine, leucine, Leu, L), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 396 | (Lysine, lysine, Lys, K), [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 397 | (Methionine, methionine, Met, M), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] 398 | (Phenylalanine, phenylalanine, Phe, F), [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] 399 | (Proline, proline, Pro, P), [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] 400 | (Serine, serine, Ser, S), [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 401 | (Threonine, threonine, Thr, T), [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 402 | (Tryptophan, trytophan, Trp, W), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] 403 | (Tyrosine, tyrosine, Tyr, Y), [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] 404 | (Valine, valine, Val, V) [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `amino_acid_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Alanine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | Alanine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `alanine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Arginine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | Arginine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arginine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Asparagine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | Asparagine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `asparagine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Aspartate` should have a snake case name [INFO] [stdout] --> src/metrics.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | Aspartate: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `aspartate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cysteine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | Cysteine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cysteine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glutamate` should have a snake case name [INFO] [stdout] --> src/metrics.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | Glutamate: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `glutamate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glutamine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | Glutamine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `glutamine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glycine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | Glycine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `glycine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Histidine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | Histidine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `histidine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Isoleucine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | Isoleucine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `isoleucine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Leucine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | Leucine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `leucine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Lysine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | Lysine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `lysine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Methionine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | Methionine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `methionine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Phenylalanine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | Phenylalanine: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `phenylalanine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Proline` should have a snake case name [INFO] [stdout] --> src/metrics.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | Proline: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `proline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Serine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | Serine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `serine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Threonine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | Threonine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `threonine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tryptophan` should have a snake case name [INFO] [stdout] --> src/metrics.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | Tryptophan: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tryptophan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tyrosine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | Tyrosine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tyrosine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Valine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | Valine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `valine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/metrics.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | impl $struct_name { [INFO] [stdout] | ^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `MolWeights` is not local [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn molecular_weight(protein_seq: &str) -> f64 { [INFO] [stdout] | ------------------------------------------------- move the `impl` block outside of this function `molecular_weight` [INFO] [stdout] 275 | let amino_weights: MolWeights = MolWeights::new(); [INFO] [stdout] 276 | / amino_acid_getters!(MolWeights, [INFO] [stdout] 277 | | (Alanine, alanine, Ala, A), [INFO] [stdout] 278 | | (Arginine, arginine, Arg, R), [INFO] [stdout] 279 | | (Asparagine, asparagine, Asn, N), [INFO] [stdout] ... | [INFO] [stdout] 296 | | (Valine, valine, Val, V) [INFO] [stdout] 297 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `amino_acid_getters` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `amino_acid_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Alanine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | Alanine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `alanine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Arginine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | Arginine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `arginine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Asparagine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | Asparagine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `asparagine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Aspartate` should have a snake case name [INFO] [stdout] --> src/metrics.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | Aspartate: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `aspartate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Cysteine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | Cysteine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cysteine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glutamate` should have a snake case name [INFO] [stdout] --> src/metrics.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | Glutamate: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `glutamate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glutamine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | Glutamine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `glutamine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Glycine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | Glycine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `glycine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Histidine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | Histidine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `histidine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Isoleucine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | Isoleucine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `isoleucine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Leucine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | Leucine: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `leucine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Lysine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | Lysine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `lysine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Methionine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | Methionine: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `methionine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Phenylalanine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | Phenylalanine: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `phenylalanine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Proline` should have a snake case name [INFO] [stdout] --> src/metrics.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | Proline: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `proline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Serine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | Serine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `serine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Threonine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | Threonine: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `threonine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tryptophan` should have a snake case name [INFO] [stdout] --> src/metrics.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | Tryptophan: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tryptophan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tyrosine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | Tyrosine: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tyrosine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Valine` should have a snake case name [INFO] [stdout] --> src/metrics.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | Valine: f64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `valine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_KD` should have a snake case name [INFO] [stdout] --> src/metrics.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn new_KD() -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_kd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/metrics.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | impl $struct_name { [INFO] [stdout] | ^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `Hydrophobicity` is not local [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn hydrophobicity(protein_seq: &str, window_size: usize) -> Vec { [INFO] [stdout] | ------------------------------------------------------------------------ move the `impl` block outside of this function `hydrophobicity` [INFO] [stdout] ... [INFO] [stdout] 384 | / amino_acid_getters!(Hydrophobicity, [INFO] [stdout] 385 | | (Alanine, alanine, Ala, A), [INFO] [stdout] 386 | | (Arginine, arginine, Arg, R), [INFO] [stdout] 387 | | (Asparagine, asparagine, Asn, N), [INFO] [stdout] ... | [INFO] [stdout] 404 | | (Valine, valine, Val, V) [INFO] [stdout] 405 | | ); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `amino_acid_getters` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `amino_acid_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nalgebra v0.27.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b0281f25188812aa874743da978d4cb6087859665fec42c93a3fa19fd80a9d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0281f25188812aa874743da978d4cb6087859665fec42c93a3fa19fd80a9d7b", kill_on_drop: false }` [INFO] [stdout] b0281f25188812aa874743da978d4cb6087859665fec42c93a3fa19fd80a9d7b