[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 try#ccf408f4326a858c00dd845a64a86b16f360a801 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aqiq-marine/ChemicalExperientHelper on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9b5dd598baa22255d5914fe10038e05e5db883f6b9ead8569d528df4f67c7f0 [INFO] running `Command { std: "docker" "start" "-a" "b9b5dd598baa22255d5914fe10038e05e5db883f6b9ead8569d528df4f67c7f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9b5dd598baa22255d5914fe10038e05e5db883f6b9ead8569d528df4f67c7f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b5dd598baa22255d5914fe10038e05e5db883f6b9ead8569d528df4f67c7f0", kill_on_drop: false }` [INFO] [stdout] b9b5dd598baa22255d5914fe10038e05e5db883f6b9ead8569d528df4f67c7f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a4fb1ccb4c69cf0ca139d9aa55d6e895ff6aff8d4639f37240aaa7cbada7ab4 [INFO] running `Command { std: "docker" "start" "-a" "9a4fb1ccb4c69cf0ca139d9aa55d6e895ff6aff8d4639f37240aaa7cbada7ab4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking chemical_experience_helper v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stderr] Fixed src/apparatus.rs (2 fixes) [INFO] [stderr] Fixed src/dim_sig_dig/unit_system.rs (1 fix) [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 variable: `pow10coe` [INFO] [stdout] --> src/dim_sig_dig/unit_system.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let 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: 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, 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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beaker` [INFO] [stdout] --> src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let mut beaker = Beaker::<100>::new() [INFO] [stdout] | ^^^^^^ use of undeclared type `Beaker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::Beaker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Solid` [INFO] [stdout] --> src/lib.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | .add_substance(Solid::create( [INFO] [stdout] | ^^^^^ use of undeclared type `Solid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::substance::Solid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Substance` [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Substance::create( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Substance` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::substance::Substance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DimSigDig` [INFO] [stdout] --> src/lib.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | DimSigDig::molar_mass_from(392.1).set_sig_dig(4), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DimSigDig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::dim_sig_dig::DimSigDig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DimSigDig` [INFO] [stdout] --> src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | DimSigDig::gram_from(0.4019).set_sig_dig(4), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DimSigDig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::dim_sig_dig::DimSigDig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Volume` [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | .fillup_to(Volume::milli_liter_from(20).set_sig_dig(2)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Volume` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 + use crate::dim_sig_dig::Volume; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VolumetricFlask` [INFO] [stdout] --> src/lib.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | .into_volumetric_flask(VolumetricFlask::<100>::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VolumetricFlask` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::VolumetricFlask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pipette` [INFO] [stdout] --> src/lib.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | .into_pipette(Pipette::<5>::new()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Pipette` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::Pipette; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VolumetricFlask` [INFO] [stdout] --> src/lib.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | .into_flask(VolumetricFlask::<200>::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VolumetricFlask` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::VolumetricFlask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DimSigDig` [INFO] [stdout] --> src/lib.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | let expected = DimSigDig::molar_from(2.562).pow10(-4).set_sig_dig(4); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DimSigDig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::dim_sig_dig::DimSigDig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pipette` [INFO] [stdout] --> src/lib.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | let mut pipette = Pipette::<5>::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Pipette` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::Pipette; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VolumetricFlask` in this scope [INFO] [stdout] --> src/lib.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let into_flask = |flask: &mut VolumetricFlask<200>, pipette: &mut Pipette<5>, n_times: usize| -> VolumetricFlask<50> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::VolumetricFlask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pipette` in this scope [INFO] [stdout] --> src/lib.rs:42:75 [INFO] [stdout] | [INFO] [stdout] 42 | let into_flask = |flask: &mut VolumetricFlask<200>, pipette: &mut Pipette<5>, n_times: usize| -> VolumetricFlask<50> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::Pipette; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VolumetricFlask` in this scope [INFO] [stdout] --> src/lib.rs:42:106 [INFO] [stdout] | [INFO] [stdout] 42 | let into_flask = |flask: &mut VolumetricFlask<200>, pipette: &mut Pipette<5>, n_times: usize| -> VolumetricFlask<50> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::VolumetricFlask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VolumetricFlask` [INFO] [stdout] --> src/lib.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let mut v_flask = VolumetricFlask::<50>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VolumetricFlask` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::VolumetricFlask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VolumetricFlask` [INFO] [stdout] --> src/lib.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | let mut v_flasks = [0; 5].map(|_| VolumetricFlask::<50>::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VolumetricFlask` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::VolumetricFlask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DimSigDig` [INFO] [stdout] --> src/lib.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | .map(|i| expected * DimSigDig::nodim_from(i as f64 / 10.0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DimSigDig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::dim_sig_dig::DimSigDig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beaker` [INFO] [stdout] --> src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let c = Beaker::<100>::new() [INFO] [stdout] | ^^^^^^ use of undeclared type `Beaker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::Beaker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Solid` [INFO] [stdout] --> src/lib.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | .add_substance(Solid::create( [INFO] [stdout] | ^^^^^ use of undeclared type `Solid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::substance::Solid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Substance` [INFO] [stdout] --> src/lib.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | Substance::create( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Substance` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::substance::Substance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DimSigDig` [INFO] [stdout] --> src/lib.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | DimSigDig::molar_mass_from(55.85).set_sig_dig(4), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DimSigDig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::dim_sig_dig::DimSigDig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Volume` [INFO] [stdout] --> src/lib.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | )).fillup_to(Volume::milli_liter_from(46)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Volume` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 12 + use crate::dim_sig_dig::Volume; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VolumetricFlask` [INFO] [stdout] --> src/lib.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | .into_volumetric_flask(VolumetricFlask::<100>::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VolumetricFlask` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use crate::apparatus::VolumetricFlask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chemical_experience_helper` (lib test) due to 24 previous errors; 3 warnings emitted [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: `super::*` [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pow10coe` [INFO] [stdout] --> src/dim_sig_dig/unit_system.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let 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] error: aborting due to 23 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9a4fb1ccb4c69cf0ca139d9aa55d6e895ff6aff8d4639f37240aaa7cbada7ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4fb1ccb4c69cf0ca139d9aa55d6e895ff6aff8d4639f37240aaa7cbada7ab4", kill_on_drop: false }` [INFO] [stdout] 9a4fb1ccb4c69cf0ca139d9aa55d6e895ff6aff8d4639f37240aaa7cbada7ab4