[INFO] cloning repository https://github.com/aqiq-marine/ChemicalExperientHelper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aqiq-marine/ChemicalExperientHelper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faqiq-marine%2FChemicalExperientHelper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faqiq-marine%2FChemicalExperientHelper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 251707078b8202c1aa844684efdd91b64e80e609 [INFO] checking aqiq-marine/ChemicalExperientHelper/251707078b8202c1aa844684efdd91b64e80e609 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faqiq-marine%2FChemicalExperientHelper" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aqiq-marine/ChemicalExperientHelper on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aqiq-marine/ChemicalExperientHelper [INFO] finished tweaking git repo https://github.com/aqiq-marine/ChemicalExperientHelper [INFO] tweaked toml for git repo https://github.com/aqiq-marine/ChemicalExperientHelper written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aqiq-marine/ChemicalExperientHelper 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f3e055dd064ee5219aa0d1a382961a9edfbe2030b95ad59961d5ce1b1fe9cda [INFO] running `Command { std: "docker" "start" "-a" "8f3e055dd064ee5219aa0d1a382961a9edfbe2030b95ad59961d5ce1b1fe9cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f3e055dd064ee5219aa0d1a382961a9edfbe2030b95ad59961d5ce1b1fe9cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3e055dd064ee5219aa0d1a382961a9edfbe2030b95ad59961d5ce1b1fe9cda", kill_on_drop: false }` [INFO] [stdout] 8f3e055dd064ee5219aa0d1a382961a9edfbe2030b95ad59961d5ce1b1fe9cda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7626a74e21d9fba5a9898941f1b0d76be27b2fe6584e5cb3020e704ca4671a8 [INFO] running `Command { std: "docker" "start" "-a" "c7626a74e21d9fba5a9898941f1b0d76be27b2fe6584e5cb3020e704ca4671a8", kill_on_drop: false }` [INFO] [stderr] Checking chemical_experience_helper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `substance::*` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use substance::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `apparatus::*` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use apparatus::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dim_sig_dig::*` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use dim_sig_dig::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/apparatus.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | mut flask: VolumetricFlask [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/apparatus.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | fn aspirate_solution(&mut self, mut s: Solution) { [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/apparatus.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | mut flask: VolumetricFlask [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: `pow10coe` [INFO] [stdout] --> src/dim_sig_dig/unit_system.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let mut pow10coe = 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pow10coe` [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/apparatus.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | fn aspirate_solution(&mut self, mut s: Solution) { [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/dim_sig_dig/unit_system.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut pow10coe = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pow10coe` [INFO] [stdout] --> src/dim_sig_dig/unit_system.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let mut pow10coe = 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pow10coe` [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/dim_sig_dig/unit_system.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut pow10coe = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Substance` is never constructed [INFO] [stdout] --> src/substance.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Substance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Substance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/substance.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Substance { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 11 | pub fn create(name: String, molar_mass: MolarMass) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solid` is never constructed [INFO] [stdout] --> src/substance.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Solid { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solid` 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 `create`, `get_name`, `get_mass`, `get_mol`, `add_same_substance`, and `zero` are never used [INFO] [stdout] --> src/substance.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Solid { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 24 | pub fn create(substance: Substance, mass: Mass, volume: Volume) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_mass(&self) -> Mass { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn get_mol(&self) -> Mol { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn add_same_substance(&mut self, s: Solid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn zero(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/substance.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solution` 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: multiple associated items are never used [INFO] [stdout] --> src/substance.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Solution { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 58 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_volume(&self) -> BasicDimSigDig<0, 0, 3> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_mass_by_name(&self, name: &str) -> Mass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_mol_by_name(&self, name: &str) -> Mol { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_concentration(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn add_substance(&mut self, s: Solid) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn add_solution(&mut self, s: Solution) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn to_be(&mut self, v: Volume) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn dispense(&mut self, v: Volume) -> Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasVolume` is never used [INFO] [stdout] --> src/apparatus.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait HasVolume { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Beaker` is never constructed [INFO] [stdout] --> src/apparatus.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Beaker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Beaker` 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 `new`, `add_solution`, `add_substance`, `fillup_to`, and `into_volumetric_flask` are never used [INFO] [stdout] --> src/apparatus.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Beaker { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn add_solution(mut self, l: Solution) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_substance(mut self, s: Solid) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn fillup_to(mut self, v: Volume) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn into_volumetric_flask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VolumetricFlask` is never constructed [INFO] [stdout] --> src/apparatus.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct VolumetricFlask { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VolumetricFlask` 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: multiple associated items are never used [INFO] [stdout] --> src/apparatus.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl VolumetricFlask { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 79 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_concentration(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_concentration_by_name(&self, name: &str) -> BasicDimSigDig<1, 0, -3> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_mol_by_name(&self, name: &str) -> Mol { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn add_solution(mut self, l: Solution) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn fillup(mut self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn into_pipette_mut(&mut self, pipette: &mut Pipette) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn into_pipette(&mut self, mut pipette: Pipette) -> Pipette { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pipette` is never constructed [INFO] [stdout] --> src/apparatus.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Pipette { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `aspirate_solution`, `into_flask_mut`, and `into_flask` are never used [INFO] [stdout] --> src/apparatus.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl Pipette { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 131 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn aspirate_solution(&mut self, mut s: Solution) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn into_flask_mut(&mut self, flask: &mut VolumetricFlask) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn into_flask(&mut self, mut flask: VolumetricFlask) -> VolumetricFlask { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BasicDimSigDig` is never used [INFO] [stdout] --> src/dim_sig_dig.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type BasicDimSigDig = DimSigDig; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Mol` is never used [INFO] [stdout] --> src/dim_sig_dig.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub type Mol = BasicDimSigDig<1, 0, 0>; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Mass` is never used [INFO] [stdout] --> src/dim_sig_dig.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Mass = BasicDimSigDig<0, 1, 0>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Volume` is never used [INFO] [stdout] --> src/dim_sig_dig.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub type Volume = BasicDimSigDig<0, 0, 3>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NoDim` is never used [INFO] [stdout] --> src/dim_sig_dig.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub type NoDim = BasicDimSigDig<0, 0, 0>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MolarMass` is never used [INFO] [stdout] --> src/dim_sig_dig.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub type MolarMass = BasicDimSigDig<-1, 1, 0>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_raw_num`, `is_close_to`, `normalized`, `pow10`, and `set_sig_dig` are never used [INFO] [stdout] --> src/dim_sig_dig.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 30 | / impl< [INFO] [stdout] 31 | | const N1: i8, [INFO] [stdout] 32 | | const M1: i8, [INFO] [stdout] 33 | | const L1: i8, [INFO] [stdout] ... | [INFO] [stdout] 37 | | const J1: i8, [INFO] [stdout] 38 | | > DimSigDig [INFO] [stdout] | |_______________________________________________- methods in this implementation [INFO] [stdout] 39 | { [INFO] [stdout] 40 | pub fn get_raw_num(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_close_to(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn normalized(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn pow10(&self, d: i8) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn set_sig_dig(&self, sig_dig: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gram_from` is never used [INFO] [stdout] --> src/dim_sig_dig.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Mass { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 93 | pub fn gram_from>(m: U) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `milli_liter_from`, `convert_to_milli_liter`, and `convert_to_liter` are never used [INFO] [stdout] --> src/dim_sig_dig.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Volume { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 101 | pub fn milli_liter_from>(v: U) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn convert_to_milli_liter(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn convert_to_liter(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `molar_mass_from` is never used [INFO] [stdout] --> src/dim_sig_dig.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl MolarMass { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 121 | pub fn molar_mass_from>(m: U) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `molar_from` and `convert_to_molar` are never used [INFO] [stdout] --> src/dim_sig_dig.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl BasicDimSigDig<1, 0, -3> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 129 | pub fn molar_from>(c: U) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn convert_to_molar(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `nodim_from` is never used [INFO] [stdout] --> src/dim_sig_dig.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl NoDim { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 145 | pub fn nodim_from>(x: U) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Deci`, `Centi`, and `Milli` are never constructed [INFO] [stdout] --> src/dim_sig_dig/unit_system.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum SIPrefix { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Deci, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Centi, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Milli, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SIPrefix` 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: type alias `BasicUnit` is never used [INFO] [stdout] --> src/dim_sig_dig/unit_system.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub type BasicUnit = UnitSystem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/dim_sig_dig/unit_system.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 56 | / impl< [INFO] [stdout] 57 | | const N: i8, [INFO] [stdout] 58 | | const M: i8, [INFO] [stdout] 59 | | const L: i8, [INFO] [stdout] ... | [INFO] [stdout] 63 | | const J: i8, [INFO] [stdout] 64 | | > UnitSystem [INFO] [stdout] | |_________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn debug_print(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set_gram_prefix(mut self, prefix: SIPrefix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_meter_prefix(mut self, prefix: SIPrefix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn convert_with_prefix(&self, prefix: [SIPrefix; 7]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn convert_meter_prefix(&self, meter_prefix: SIPrefix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn pow10(&self, d: i8) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn into_no_prefix(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_raw_num`, `is_close_to`, `pow10`, and `set_sig_dig` are never used [INFO] [stdout] --> src/dim_sig_dig/sig_dig.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SigDig { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 10 | pub fn get_raw_num(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn is_close_to(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn pow10(&mut self, d: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_sig_dig(&self, sig_dig: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mass` is never used [INFO] [stdout] --> src/substance.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Solid { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_mass(&self) -> Mass { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mass_by_name` is never used [INFO] [stdout] --> src/substance.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Solution { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_mass_by_name(&self, name: &str) -> Mass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_solution` is never used [INFO] [stdout] --> src/apparatus.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Beaker { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn add_solution(mut self, l: Solution) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_concentration` is never used [INFO] [stdout] --> src/apparatus.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl VolumetricFlask { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_concentration(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `convert_to_milli_liter` and `convert_to_liter` are never used [INFO] [stdout] --> src/dim_sig_dig.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Volume { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn convert_to_milli_liter(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn convert_to_liter(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Milli` is never constructed [INFO] [stdout] --> src/dim_sig_dig/unit_system.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum SIPrefix { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Milli, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SIPrefix` 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 `debug_print`, `set_gram_prefix`, and `into_no_prefix` are never used [INFO] [stdout] --> src/dim_sig_dig/unit_system.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 56 | / impl< [INFO] [stdout] 57 | | const N: i8, [INFO] [stdout] 58 | | const M: i8, [INFO] [stdout] 59 | | const L: i8, [INFO] [stdout] ... | [INFO] [stdout] 63 | | const J: i8, [INFO] [stdout] 64 | | > UnitSystem [INFO] [stdout] | |_________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn debug_print(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set_gram_prefix(mut self, prefix: SIPrefix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn into_no_prefix(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "c7626a74e21d9fba5a9898941f1b0d76be27b2fe6584e5cb3020e704ca4671a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7626a74e21d9fba5a9898941f1b0d76be27b2fe6584e5cb3020e704ca4671a8", kill_on_drop: false }` [INFO] [stdout] c7626a74e21d9fba5a9898941f1b0d76be27b2fe6584e5cb3020e704ca4671a8