[INFO] cloning repository https://github.com/Yellowly/chem-reaction-solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yellowly/chem-reaction-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYellowly%2Fchem-reaction-solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYellowly%2Fchem-reaction-solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0eb4b4ca75a3227550f20d4463dc1a04b519ba9e [INFO] checking Yellowly/chem-reaction-solver/0eb4b4ca75a3227550f20d4463dc1a04b519ba9e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYellowly%2Fchem-reaction-solver" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yellowly/chem-reaction-solver 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/Yellowly/chem-reaction-solver [INFO] finished tweaking git repo https://github.com/Yellowly/chem-reaction-solver [INFO] tweaked toml for git repo https://github.com/Yellowly/chem-reaction-solver written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Yellowly/chem-reaction-solver 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9b1269aed480b8dd96e467a0a029af7b18cf3abfc2c6f8a9e1591bda349e87d2 [INFO] running `Command { std: "docker" "start" "-a" "9b1269aed480b8dd96e467a0a029af7b18cf3abfc2c6f8a9e1591bda349e87d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b1269aed480b8dd96e467a0a029af7b18cf3abfc2c6f8a9e1591bda349e87d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b1269aed480b8dd96e467a0a029af7b18cf3abfc2c6f8a9e1591bda349e87d2", kill_on_drop: false }` [INFO] [stdout] 9b1269aed480b8dd96e467a0a029af7b18cf3abfc2c6f8a9e1591bda349e87d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a791a829b0480294d75a4ba5f27bdccffda7ba21cac6c5c8b0b004509d2fc0da [INFO] running `Command { std: "docker" "start" "-a" "a791a829b0480294d75a4ba5f27bdccffda7ba21cac6c5c8b0b004509d2fc0da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking scoped-tls-hkt v0.1.2 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking js-sys v0.3.57 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.57 [INFO] [stderr] Checking gloo-timers v0.2.3 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.30 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-utils v0.1.2 [INFO] [stderr] Checking gloo-render v0.1.0 [INFO] [stderr] Checking gloo-console v0.2.1 [INFO] [stderr] Checking gloo-dialogs v0.1.0 [INFO] [stderr] Checking gloo-storage v0.2.0 [INFO] [stderr] Checking gloo-file v0.2.1 [INFO] [stderr] Checking gloo v0.4.2 [INFO] [stderr] Checking yew v0.19.3 [INFO] [stderr] Checking chem-reaction-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Chars`, `cmp`, `fmt::Display`, and `string::ParseError` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops, fmt::Display, cmp, io, str::{Chars, FromStr}, string::ParseError}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | mg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Mg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 635 | cg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Cg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:636:5 [INFO] [stdout] | [INFO] [stdout] 636 | dg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Dg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g` should have an upper camel case name [INFO] [stdout] --> src/main.rs:637:5 [INFO] [stdout] | [INFO] [stdout] 637 | g, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `G` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dag` should have an upper camel case name [INFO] [stdout] --> src/main.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 638 | dag, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Dag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `hg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | hg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Hg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `kg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:640:5 [INFO] [stdout] | [INFO] [stdout] 640 | kg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Kg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atm` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1578:5 [INFO] [stdout] | [INFO] [stdout] 1578 | atm(f32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Atm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `kPa` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1579:5 [INFO] [stdout] | [INFO] [stdout] 1579 | kPa(f32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `KPa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mmHg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1580:5 [INFO] [stdout] | [INFO] [stdout] 1580 | mmHg(f32), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `MmHg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `psi` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1582:5 [INFO] [stdout] | [INFO] [stdout] 1582 | psi(f32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Psi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1630:5 [INFO] [stdout] | [INFO] [stdout] 1630 | mL(f32), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `ML` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cm3` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1632:5 [INFO] [stdout] | [INFO] [stdout] 1632 | cm3(f32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cm3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chars`, `cmp`, `fmt::Display`, and `string::ParseError` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops, fmt::Display, cmp, io, str::{Chars, FromStr}, string::ParseError}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | mg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Mg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:635:5 [INFO] [stdout] | [INFO] [stdout] 635 | cg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Cg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:636:5 [INFO] [stdout] | [INFO] [stdout] 636 | dg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Dg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `g` should have an upper camel case name [INFO] [stdout] --> src/main.rs:637:5 [INFO] [stdout] | [INFO] [stdout] 637 | g, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `G` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dag` should have an upper camel case name [INFO] [stdout] --> src/main.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 638 | dag, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Dag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `hg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | hg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Hg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `kg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:640:5 [INFO] [stdout] | [INFO] [stdout] 640 | kg, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Kg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atm` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1578:5 [INFO] [stdout] | [INFO] [stdout] 1578 | atm(f32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Atm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `kPa` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1579:5 [INFO] [stdout] | [INFO] [stdout] 1579 | kPa(f32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `KPa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mmHg` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1580:5 [INFO] [stdout] | [INFO] [stdout] 1580 | mmHg(f32), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `MmHg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `psi` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1582:5 [INFO] [stdout] | [INFO] [stdout] 1582 | psi(f32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Psi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1630:5 [INFO] [stdout] | [INFO] [stdout] 1630 | mL(f32), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `ML` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cm3` should have an upper camel case name [INFO] [stdout] --> src/main.rs:1632:5 [INFO] [stdout] | [INFO] [stdout] 1632 | cm3(f32), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cm3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let table: PeriodicTable = PeriodicTable::build(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | for i in 0..f.len(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut run: bool = true; [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: unused variable: `units` [INFO] [stdout] --> src/main.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | fn get_unit_varients(units: Vec<(String,i8)>){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_units` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let table: PeriodicTable = PeriodicTable::build(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | for i in 0..f.len(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paren_count` [INFO] [stdout] --> src/main.rs:473:29 [INFO] [stdout] | [INFO] [stdout] 473 | fn set_priority(&mut self,paren_count:u8){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut run: bool = true; [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: unused variable: `units` [INFO] [stdout] --> src/main.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | fn get_unit_varients(units: Vec<(String,i8)>){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_units` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paren_count` [INFO] [stdout] --> src/main.rs:473:29 [INFO] [stdout] | [INFO] [stdout] 473 | fn set_priority(&mut self,paren_count:u8){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_unit_varients` is never used [INFO] [stdout] --> src/main.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn get_unit_varients(units: Vec<(String,i8)>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_reduced_roechelon` is never used [INFO] [stdout] --> src/main.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn to_reduced_roechelon(mut m: Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcf` is never used [INFO] [stdout] --> src/main.rs:295:4 [INFO] [stdout] | [INFO] [stdout] 295 | fn gcf(a: i32, b: i32) -> i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findGCF` is never used [INFO] [stdout] --> src/main.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn findGCF(nums: &[i32]) -> i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solvePressure` is never used [INFO] [stdout] --> src/main.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn solvePressure(volume: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveVolume` is never used [INFO] [stdout] --> src/main.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn solveVolume(pressure: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveTemp` is never used [INFO] [stdout] --> src/main.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn solveTemp(pressure: MeasuredValue, volume: MeasuredValue, num_particles: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveNumParticles` is never used [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn solveNumParticles(pressure: MeasuredValue, volume: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveConstant` is never used [INFO] [stdout] --> src/main.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn solveConstant(pressure: MeasuredValue, volume: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pressureConverter` is never used [INFO] [stdout] --> src/main.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn pressureConverter(value: f32, unit: &str) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/main.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 372 | impl Operator{ [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | fn build(c: char, pri: u8) -> Option{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Value`, `Unit`, and `MulUnits` are never constructed [INFO] [stdout] --> src/main.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 409 | enum Token{ [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 412 | Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 413 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 414 | MulUnits, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_unit_varients` is never used [INFO] [stdout] --> src/main.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn get_unit_varients(units: Vec<(String,i8)>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_reduced_roechelon` is never used [INFO] [stdout] --> src/main.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn to_reduced_roechelon(mut m: Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcf` is never used [INFO] [stdout] --> src/main.rs:295:4 [INFO] [stdout] | [INFO] [stdout] 295 | fn gcf(a: i32, b: i32) -> i32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findGCF` is never used [INFO] [stdout] --> src/main.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn findGCF(nums: &[i32]) -> i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solvePressure` is never used [INFO] [stdout] --> src/main.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn solvePressure(volume: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveVolume` is never used [INFO] [stdout] --> src/main.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn solveVolume(pressure: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveTemp` is never used [INFO] [stdout] --> src/main.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn solveTemp(pressure: MeasuredValue, volume: MeasuredValue, num_particles: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveNumParticles` is never used [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn solveNumParticles(pressure: MeasuredValue, volume: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveConstant` is never used [INFO] [stdout] --> src/main.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn solveConstant(pressure: MeasuredValue, volume: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pressureConverter` is never used [INFO] [stdout] --> src/main.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn pressureConverter(value: f32, unit: &str) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/main.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 372 | impl Operator{ [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | fn build(c: char, pri: u8) -> Option{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Value`, `Unit`, and `MulUnits` are never constructed [INFO] [stdout] --> src/main.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 409 | enum Token{ [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 412 | Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 413 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 414 | MulUnits, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | MesVal(MeasuredValue), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 418 | MesVal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | Op(Operator), [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 419 | Op(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:420:11 [INFO] [stdout] | [INFO] [stdout] 420 | Value(Value), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 420 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:421:10 [INFO] [stdout] | [INFO] [stdout] 421 | Unit(Unit), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 421 | Unit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | MesVal(MeasuredValue), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 418 | MesVal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:422:14 [INFO] [stdout] | [INFO] [stdout] 422 | MulUnits(MulUnits), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 422 | MulUnits(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Solver` is never used [INFO] [stdout] --> src/main.rs:478:7 [INFO] [stdout] | [INFO] [stdout] 478 | trait Solver{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Prioritizer` is never used [INFO] [stdout] --> src/main.rs:486:7 [INFO] [stdout] | [INFO] [stdout] 486 | trait Prioritizer{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `formula` is never read [INFO] [stdout] --> src/main.rs:492:3 [INFO] [stdout] | [INFO] [stdout] 491 | struct Formula{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 492 | formula: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | Op(Operator), [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 419 | Op(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keep_digits` is never used [INFO] [stdout] --> src/main.rs:601:4 [INFO] [stdout] | [INFO] [stdout] 601 | fn keep_digits(n: f32, d: u32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MassUnits` is never used [INFO] [stdout] --> src/main.rs:633:6 [INFO] [stdout] | [INFO] [stdout] 633 | enum MassUnits{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:420:11 [INFO] [stdout] | [INFO] [stdout] 420 | Value(Value), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 420 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Area` and `Time` are never constructed [INFO] [stdout] --> src/main.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 644 | enum UnitType{ [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 645 | Volume, [INFO] [stdout] 646 | Area, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | Time, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eq_unit`, `get_unit_varient`, and `same_type` are never used [INFO] [stdout] --> src/main.rs:715:6 [INFO] [stdout] | [INFO] [stdout] 714 | impl Unit{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 715 | fn eq_unit(&self, other: &Self) -> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 813 | fn get_unit_varient(&self) -> (UnitType,i8){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | fn same_type(&self, other: &Self) -> bool{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `same_varients` and `is_empty` are never used [INFO] [stdout] --> src/main.rs:920:6 [INFO] [stdout] | [INFO] [stdout] 911 | impl MulUnits{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 920 | fn same_varients(&self, varients: Vec<(UnitType,i8)>) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | fn is_empty(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:421:10 [INFO] [stdout] | [INFO] [stdout] 421 | Unit(Unit), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 421 | Unit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mvf` is never used [INFO] [stdout] --> src/main.rs:1100:4 [INFO] [stdout] | [INFO] [stdout] 1100 | fn mvf(s: &str) -> MeasuredValue{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one` is never used [INFO] [stdout] --> src/main.rs:1211:8 [INFO] [stdout] | [INFO] [stdout] 1130 | impl MeasuredValue{ [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1211 | fn one() -> MeasuredValue{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GasVariables` is never used [INFO] [stdout] --> src/main.rs:1502:6 [INFO] [stdout] | [INFO] [stdout] 1502 | enum GasVariables{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:422:14 [INFO] [stdout] | [INFO] [stdout] 422 | MulUnits(MulUnits), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 422 | MulUnits(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from` and `get_num` are never used [INFO] [stdout] --> src/main.rs:1510:8 [INFO] [stdout] | [INFO] [stdout] 1509 | impl GasVariables{ [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 1510 | fn from(v: f32, t: &str, u: &str) -> GasVariables{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1519 | fn get_num(&self) -> u32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Solver` is never used [INFO] [stdout] --> src/main.rs:478:7 [INFO] [stdout] | [INFO] [stdout] 478 | trait Solver{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Temp` is never used [INFO] [stdout] --> src/main.rs:1530:6 [INFO] [stdout] | [INFO] [stdout] 1530 | enum Temp{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Prioritizer` is never used [INFO] [stdout] --> src/main.rs:486:7 [INFO] [stdout] | [INFO] [stdout] 486 | trait Prioritizer{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `formula` is never read [INFO] [stdout] --> src/main.rs:492:3 [INFO] [stdout] | [INFO] [stdout] 491 | struct Formula{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 492 | formula: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keep_digits` is never used [INFO] [stdout] --> src/main.rs:601:4 [INFO] [stdout] | [INFO] [stdout] 601 | fn keep_digits(n: f32, d: u32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `to_other`, `to_kelvin`, `to_celsius`, and `get_val` are never used [INFO] [stdout] --> src/main.rs:1536:8 [INFO] [stdout] | [INFO] [stdout] 1535 | impl Temp{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 1536 | fn from(v: f32, t: &str) -> Temp{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1547 | fn to_other(&self, other: Temp) -> Temp{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1554 | fn to_kelvin(&self) -> Temp{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1561 | fn to_celsius(&self) -> Temp{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1568 | fn get_val(&self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MassUnits` is never used [INFO] [stdout] --> src/main.rs:633:6 [INFO] [stdout] | [INFO] [stdout] 633 | enum MassUnits{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pressure` is never used [INFO] [stdout] --> src/main.rs:1577:6 [INFO] [stdout] | [INFO] [stdout] 1577 | enum Pressure{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Area` and `Time` are never constructed [INFO] [stdout] --> src/main.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 644 | enum UnitType{ [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 645 | Volume, [INFO] [stdout] 646 | Area, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | Time, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `to_base_unit`, `to_other`, and `get_val` are never used [INFO] [stdout] --> src/main.rs:1587:8 [INFO] [stdout] | [INFO] [stdout] 1586 | impl Pressure{ [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 1587 | fn from(v: f32, t: &str) -> Pressure{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1597 | fn to_base_unit(&self) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1607 | fn to_other(&self, other: &Pressure) -> Pressure{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1617 | fn get_val(&self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eq_unit`, `get_unit_varient`, and `same_type` are never used [INFO] [stdout] --> src/main.rs:715:6 [INFO] [stdout] | [INFO] [stdout] 714 | impl Unit{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 715 | fn eq_unit(&self, other: &Self) -> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 813 | fn get_unit_varient(&self) -> (UnitType,i8){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | fn same_type(&self, other: &Self) -> bool{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Volume` is never used [INFO] [stdout] --> src/main.rs:1629:6 [INFO] [stdout] | [INFO] [stdout] 1629 | enum Volume{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `same_varients` and `is_empty` are never used [INFO] [stdout] --> src/main.rs:920:6 [INFO] [stdout] | [INFO] [stdout] 911 | impl MulUnits{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 920 | fn same_varients(&self, varients: Vec<(UnitType,i8)>) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | fn is_empty(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `to_base_unit`, `to_other`, and `get_val` are never used [INFO] [stdout] --> src/main.rs:1635:8 [INFO] [stdout] | [INFO] [stdout] 1634 | impl Volume{ [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 1635 | fn from(v: f32, t: &str) -> Volume{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | fn to_base_unit(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1651 | fn to_other(&self, other: &Volume) -> Volume{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1658 | fn get_val(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mvf` is never used [INFO] [stdout] --> src/main.rs:1100:4 [INFO] [stdout] | [INFO] [stdout] 1100 | fn mvf(s: &str) -> MeasuredValue{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one` is never used [INFO] [stdout] --> src/main.rs:1211:8 [INFO] [stdout] | [INFO] [stdout] 1130 | impl MeasuredValue{ [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1211 | fn one() -> MeasuredValue{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GasVariables` is never used [INFO] [stdout] --> src/main.rs:1502:6 [INFO] [stdout] | [INFO] [stdout] 1502 | enum GasVariables{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from` and `get_num` are never used [INFO] [stdout] --> src/main.rs:1510:8 [INFO] [stdout] | [INFO] [stdout] 1509 | impl GasVariables{ [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 1510 | fn from(v: f32, t: &str, u: &str) -> GasVariables{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1519 | fn get_num(&self) -> u32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Temp` is never used [INFO] [stdout] --> src/main.rs:1530:6 [INFO] [stdout] | [INFO] [stdout] 1530 | enum Temp{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UpdateFields` is never constructed [INFO] [stdout] --> src/main.rs:1733:5 [INFO] [stdout] | [INFO] [stdout] 1730 | enum Msg{ [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1733 | UpdateFields(usize,String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prev_answers` and `store` are never read [INFO] [stdout] --> src/main.rs:1741:5 [INFO] [stdout] | [INFO] [stdout] 1737 | struct CounterComponent{ [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1741 | prev_answers: Vec, //previous unformatted answers [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1744 | store: Storage [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `to_other`, `to_kelvin`, `to_celsius`, and `get_val` are never used [INFO] [stdout] --> src/main.rs:1536:8 [INFO] [stdout] | [INFO] [stdout] 1535 | impl Temp{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 1536 | fn from(v: f32, t: &str) -> Temp{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1547 | fn to_other(&self, other: Temp) -> Temp{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1554 | fn to_kelvin(&self) -> Temp{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1561 | fn to_celsius(&self) -> Temp{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1568 | fn get_val(&self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pressure` is never used [INFO] [stdout] --> src/main.rs:1577:6 [INFO] [stdout] | [INFO] [stdout] 1577 | enum Pressure{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreviousInput` is never constructed [INFO] [stdout] --> src/main.rs:1841:8 [INFO] [stdout] | [INFO] [stdout] 1841 | struct PreviousInput{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasConstants` is never constructed [INFO] [stdout] --> src/main.rs:1847:8 [INFO] [stdout] | [INFO] [stdout] 1847 | struct GasConstants{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `to_base_unit`, `to_other`, and `get_val` are never used [INFO] [stdout] --> src/main.rs:1587:8 [INFO] [stdout] | [INFO] [stdout] 1586 | impl Pressure{ [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 1587 | fn from(v: f32, t: &str) -> Pressure{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1597 | fn to_base_unit(&self) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1607 | fn to_other(&self, other: &Pressure) -> Pressure{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1617 | fn get_val(&self) -> f32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Volume` is never used [INFO] [stdout] --> src/main.rs:1629:6 [INFO] [stdout] | [INFO] [stdout] 1629 | enum Volume{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table`, `polyatomics`, and `ions` are never read [INFO] [stdout] --> src/main.rs:1853:5 [INFO] [stdout] | [INFO] [stdout] 1852 | struct Storage{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 1853 | table: PeriodicTable, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1854 | polyatomics: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1855 | ions: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `to_base_unit`, `to_other`, and `get_val` are never used [INFO] [stdout] --> src/main.rs:1635:8 [INFO] [stdout] | [INFO] [stdout] 1634 | impl Volume{ [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 1635 | fn from(v: f32, t: &str) -> Volume{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | fn to_base_unit(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1651 | fn to_other(&self, other: &Volume) -> Volume{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1658 | fn get_val(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make_polyatomic` is never used [INFO] [stdout] --> src/main.rs:1866:8 [INFO] [stdout] | [INFO] [stdout] 1858 | impl Storage{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1866 | fn make_polyatomic(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UpdateFields` is never constructed [INFO] [stdout] --> src/main.rs:1733:5 [INFO] [stdout] | [INFO] [stdout] 1730 | enum Msg{ [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1733 | UpdateFields(usize,String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `atomic_number`, `symbol`, and `name` are never read [INFO] [stdout] --> src/main.rs:1873:5 [INFO] [stdout] | [INFO] [stdout] 1872 | struct Element{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 1873 | atomic_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1874 | molar_mass: f32, [INFO] [stdout] 1875 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1876 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prev_answers` and `store` are never read [INFO] [stdout] --> src/main.rs:1741:5 [INFO] [stdout] | [INFO] [stdout] 1737 | struct CounterComponent{ [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1741 | prev_answers: Vec, //previous unformatted answers [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1744 | store: Storage [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreviousInput` is never constructed [INFO] [stdout] --> src/main.rs:1841:8 [INFO] [stdout] | [INFO] [stdout] 1841 | struct PreviousInput{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasConstants` is never constructed [INFO] [stdout] --> src/main.rs:1847:8 [INFO] [stdout] | [INFO] [stdout] 1847 | struct GasConstants{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table`, `polyatomics`, and `ions` are never read [INFO] [stdout] --> src/main.rs:1853:5 [INFO] [stdout] | [INFO] [stdout] 1852 | struct Storage{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 1853 | table: PeriodicTable, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1854 | polyatomics: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1855 | ions: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make_polyatomic` is never used [INFO] [stdout] --> src/main.rs:1866:8 [INFO] [stdout] | [INFO] [stdout] 1858 | impl Storage{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1866 | fn make_polyatomic(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `atomic_number`, `symbol`, and `name` are never read [INFO] [stdout] --> src/main.rs:1873:5 [INFO] [stdout] | [INFO] [stdout] 1872 | struct Element{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 1873 | atomic_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1874 | molar_mass: f32, [INFO] [stdout] 1875 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1876 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_moles` and `to_grams` are never used [INFO] [stdout] --> src/main.rs:1888:8 [INFO] [stdout] | [INFO] [stdout] 1879 | impl Element{ [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1888 | fn to_moles(&self, mass: MeasuredValue)-> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1894 | fn to_grams(&self, moles: MeasuredValue)-> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_moles` and `to_grams` are never used [INFO] [stdout] --> src/main.rs:1888:8 [INFO] [stdout] | [INFO] [stdout] 1879 | impl Element{ [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1888 | fn to_moles(&self, mass: MeasuredValue)-> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1894 | fn to_grams(&self, moles: MeasuredValue)-> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `molar_mass`, `name`, and `elements` are never read [INFO] [stdout] --> src/main.rs:1904:5 [INFO] [stdout] | [INFO] [stdout] 1902 | struct Polyatomic{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1903 | //element atomic number, num of that element [INFO] [stdout] 1904 | molar_mass: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1905 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1906 | elements: Vec<(u8,u8)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_hash` is never used [INFO] [stdout] --> src/main.rs:1911:8 [INFO] [stdout] | [INFO] [stdout] 1909 | impl Polyatomic{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 1910 | //hashes are generated by the base 128 representation of [INFO] [stdout] 1911 | fn get_hash(&self) -> u32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `molar_mass`, `name`, and `elements` are never read [INFO] [stdout] --> src/main.rs:1904:5 [INFO] [stdout] | [INFO] [stdout] 1902 | struct Polyatomic{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1903 | //element atomic number, num of that element [INFO] [stdout] 1904 | molar_mass: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1905 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1906 | elements: Vec<(u8,u8)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_hash` is never used [INFO] [stdout] --> src/main.rs:1911:8 [INFO] [stdout] | [INFO] [stdout] 1909 | impl Polyatomic{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 1910 | //hashes are generated by the base 128 representation of [INFO] [stdout] 1911 | fn get_hash(&self) -> u32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IonicCompound` is never constructed [INFO] [stdout] --> src/main.rs:1916:8 [INFO] [stdout] | [INFO] [stdout] 1916 | struct IonicCompound{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IonicCompound` is never constructed [INFO] [stdout] --> src/main.rs:1916:8 [INFO] [stdout] | [INFO] [stdout] 1916 | struct IonicCompound{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MolecularCompound` is never constructed [INFO] [stdout] --> src/main.rs:1920:8 [INFO] [stdout] | [INFO] [stdout] 1920 | struct MolecularCompound{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elements` is never read [INFO] [stdout] --> src/main.rs:1927:5 [INFO] [stdout] | [INFO] [stdout] 1926 | struct PeriodicTable{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 1927 | elements: [Element; 109] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MolecularCompound` is never constructed [INFO] [stdout] --> src/main.rs:1920:8 [INFO] [stdout] | [INFO] [stdout] 1920 | struct MolecularCompound{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elements` is never read [INFO] [stdout] --> src/main.rs:1927:5 [INFO] [stdout] | [INFO] [stdout] 1926 | struct PeriodicTable{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 1927 | elements: [Element; 109] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_elem` and `elem_from_symbol` are never used [INFO] [stdout] --> src/main.rs:1931:8 [INFO] [stdout] | [INFO] [stdout] 1930 | impl PeriodicTable{ [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 1931 | fn get_elem(&self, atomic_number : u8) -> &Element{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2051 | fn elem_from_symbol(&self, symbol: &str) -> &Element{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_elem` and `elem_from_symbol` are never used [INFO] [stdout] --> src/main.rs:1931:8 [INFO] [stdout] | [INFO] [stdout] 1930 | impl PeriodicTable{ [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 1931 | fn get_elem(&self, atomic_number : u8) -> &Element{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2051 | fn elem_from_symbol(&self, symbol: &str) -> &Element{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findGCF` should have a snake case name [INFO] [stdout] --> src/main.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn findGCF(nums: &[i32]) -> i32{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `find_gcf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solvePressure` should have a snake case name [INFO] [stdout] --> src/main.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn solvePressure(volume: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `solve_pressure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveVolume` should have a snake case name [INFO] [stdout] --> src/main.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn solveVolume(pressure: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `solve_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveTemp` should have a snake case name [INFO] [stdout] --> src/main.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn solveTemp(pressure: MeasuredValue, volume: MeasuredValue, num_particles: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `solve_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findGCF` should have a snake case name [INFO] [stdout] --> src/main.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn findGCF(nums: &[i32]) -> i32{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `find_gcf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solvePressure` should have a snake case name [INFO] [stdout] --> src/main.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn solvePressure(volume: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `solve_pressure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveNumParticles` should have a snake case name [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn solveNumParticles(pressure: MeasuredValue, volume: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `solve_num_particles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveVolume` should have a snake case name [INFO] [stdout] --> src/main.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn solveVolume(pressure: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `solve_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveTemp` should have a snake case name [INFO] [stdout] --> src/main.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn solveTemp(pressure: MeasuredValue, volume: MeasuredValue, num_particles: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `solve_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveConstant` should have a snake case name [INFO] [stdout] --> src/main.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn solveConstant(pressure: MeasuredValue, volume: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `solve_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveNumParticles` should have a snake case name [INFO] [stdout] --> src/main.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn solveNumParticles(pressure: MeasuredValue, volume: MeasuredValue, temp: MeasuredValue, r_constant: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `solve_num_particles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pressureConverter` should have a snake case name [INFO] [stdout] --> src/main.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn pressureConverter(value: f32, unit: &str) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pressure_converter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solveConstant` should have a snake case name [INFO] [stdout] --> src/main.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn solveConstant(pressure: MeasuredValue, volume: MeasuredValue, num_particles: MeasuredValue, temp: MeasuredValue) -> MeasuredValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `solve_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pressureConverter` should have a snake case name [INFO] [stdout] --> src/main.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn pressureConverter(value: f32, unit: &str) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pressure_converter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/main.rs:834:9 [INFO] [stdout] | [INFO] [stdout] 834 | format!("{}{}",self.unit,self.exp.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/main.rs:834:9 [INFO] [stdout] | [INFO] [stdout] 834 | format!("{}{}",self.unit,self.exp.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80 [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" "a791a829b0480294d75a4ba5f27bdccffda7ba21cac6c5c8b0b004509d2fc0da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a791a829b0480294d75a4ba5f27bdccffda7ba21cac6c5c8b0b004509d2fc0da", kill_on_drop: false }` [INFO] [stdout] a791a829b0480294d75a4ba5f27bdccffda7ba21cac6c5c8b0b004509d2fc0da