[INFO] fetching crate KiThe 0.1.3... [INFO] checking KiThe-0.1.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate KiThe 0.1.3 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate KiThe 0.1.3 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 crates.io crate KiThe 0.1.3 [INFO] finished tweaking crates.io crate KiThe 0.1.3 [INFO] tweaked toml for crates.io crate KiThe 0.1.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa72884017081b64fa7a4ea55c6405a91e67d02475d7014b996ac58894c8b188 [INFO] running `Command { std: "docker" "start" "-a" "aa72884017081b64fa7a4ea55c6405a91e67d02475d7014b996ac58894c8b188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa72884017081b64fa7a4ea55c6405a91e67d02475d7014b996ac58894c8b188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa72884017081b64fa7a4ea55c6405a91e67d02475d7014b996ac58894c8b188", kill_on_drop: false }` [INFO] [stdout] aa72884017081b64fa7a4ea55c6405a91e67d02475d7014b996ac58894c8b188 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5018124a7d8a3fcc35c6ddce3e037e786199726ff2dbd9a609f4d32b08c4957 [INFO] running `Command { std: "docker" "start" "-a" "a5018124a7d8a3fcc35c6ddce3e037e786199726ff2dbd9a609f4d32b08c4957", 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] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking KiThe v0.1.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/kinetics_lib_api.rs (1 fix) [INFO] [stderr] Fixed src/parsetask.rs (3 fixes) [INFO] [stderr] Fixed src/reaction_analyzer.rs (8 fixes) [INFO] [stderr] Fixed src/User_reactions.rs (2 fixes) [INFO] [stderr] Fixed src/mechfinder_api.rs (3 fixes) [INFO] [stdout] warning: variant `reactants` should have an upper camel case name [INFO] [stdout] --> src/kinetics_lib_api.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | reactants, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Reactants` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `products` should have an upper camel case name [INFO] [stdout] --> src/kinetics_lib_api.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | products [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Products` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/kinetics_lib_api.rs:93:77 [INFO] [stdout] | [INFO] [stdout] 93 | let substances: HashSet= substances.iter().cloned().collect();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items_to_clean` [INFO] [stdout] --> src/reaction_analyzer.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let items_to_clean = [" (", "(", "M)", "M)", ">"]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_items_to_clean` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/reaction_analyzer.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | #[warn(unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_of_stoichiometric` [INFO] [stdout] --> src/reaction_analyzer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let end_of_stoichiometric: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_of_stoichiometric` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/reaction_analyzer.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let end = captures.get(0).unwrap().end(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `element` is never read [INFO] [stdout] --> src/molmass.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | let mut element: &str = ""; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Substance` is never used [INFO] [stdout] --> src/kinetics_lib_api.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Substance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `KiThe` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `ki_the` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `User_reactions` should have a snake case name [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub mod User_reactions; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `user_reactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `User_substances` should have a snake case name [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub mod User_substances; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `user_substances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/reaction_analyzer.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | power_coeff==stec_coeff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = power_coeff==stec_coeff; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_off_DUP` should have a snake case name [INFO] [stdout] --> src/reaction_analyzer.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn clean_off_DUP( item: &mut String) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `clean_off_dup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `G_matrix_reag` should have a snake case name [INFO] [stdout] --> src/reaction_analyzer.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | pub G_matrix_reag: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `g_matrix_reag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `G_matrix_prod` should have a snake case name [INFO] [stdout] --> src/reaction_analyzer.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub G_matrix_prod: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `g_matrix_prod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReactionDataHash` should have a snake case name [INFO] [stdout] --> src/User_reactions.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let mut ReactionDataHash = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reaction_data_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reaction_data_Value` should have a snake case name [INFO] [stdout] --> src/User_reactions.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let reaction_data_Value = kin_instance.search_reactdata_by_reaction_id( &reaction_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `reaction_data_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReactionDataHash_for_lib` should have a snake case name [INFO] [stdout] --> src/User_reactions.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | ... let (ReactionDataHash_for_lib, vec_of_equations_for_lib) = parse_kinetic_data( lib, &vec_of_reactions, vec_of_reactions_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reaction_data_hash_for_lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ReactionAnalyzer_instance` should have a snake case name [INFO] [stdout] --> src/User_reactions.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut ReactionAnalyzer_instance =ReactionAnalyzer::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reaction_analyzer_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HashMapOfReactantsAndProducts` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub HashMapOfReactantsAndProducts: HashMap>>, // {'reaction ID':{'reagent'/"product": HashSet... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `hash_map_of_reactants_and_products` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LibKineticData` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub LibKineticData:HashMap, // {'reaction ID':{data of reaction}} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `lib_kinetic_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AllLibraries` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub AllLibraries: Vec, // all reaction libraries [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `all_libraries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AllEquations` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub AllEquations: Vec, // all reaction equations in library [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `all_equations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EquationReactionMap` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub EquationReactionMap: HashMap, // {'equation':'reaction ID'} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `equation_reaction_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `UserEquationReactionMap` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub UserEquationReactionMap: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `user_equation_reaction_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FoundReactionsByProducts` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub FoundReactionsByProducts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `found_reactions_by_products` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FoundReactionsByReagents` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub FoundReactionsByReagents: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `found_reactions_by_reagents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FoundReactionDatasByIDs` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub FoundReactionDatasByIDs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `found_reaction_datas_by_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EquationReactionIDMap` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | let EquationReactionIDMap: HashMap = all_equations [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `equation_reaction_idmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SubstanceType` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:92:72 [INFO] [stdout] | [INFO] [stdout] 92 | fn search_reaction_by_substances(&mut self, substances: Vec, SubstanceType: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `substance_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `all_reaction_ID` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let all_reaction_ID: Vec<&str> = self.LibKineticData.keys().map(|k| k.as_str()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_reaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search_reactdata_for_vector_of_IDs` should have a snake case name [INFO] [stdout] --> src/kinetics_lib_api.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn search_reactdata_for_vector_of_IDs(&mut self, reaction_ids: Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `search_reactdata_for_vector_of_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/parsetask.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | let res: HashSet = cipher_vector_of_shortcuts(map).into_iter().collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 78 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/parsetask.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | let exp: HashSet = expected_vec.into_iter().collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 78 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `reactants` should have an upper camel case name [INFO] [stdout] --> src/kinetics_lib_api.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | reactants, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Reactants` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `products` should have an upper camel case name [INFO] [stdout] --> src/kinetics_lib_api.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | products [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Products` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/kinetics_lib_api.rs:93:77 [INFO] [stdout] | [INFO] [stdout] 93 | let substances: HashSet= substances.iter().cloned().collect();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items_to_clean` [INFO] [stdout] --> src/reaction_analyzer.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let items_to_clean = [" (", "(", "M)", "M)", ">"]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_items_to_clean` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/reaction_analyzer.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | #[warn(unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_of_stoichiometric` [INFO] [stdout] --> src/reaction_analyzer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let end_of_stoichiometric: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_of_stoichiometric` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/reaction_analyzer.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let end = captures.get(0).unwrap().end(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `element` is never read [INFO] [stdout] --> src/molmass.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | let mut element: &str = ""; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `KiThe` (lib test) due to 3 previous errors; 7 warnings emitted [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" "a5018124a7d8a3fcc35c6ddce3e037e786199726ff2dbd9a609f4d32b08c4957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5018124a7d8a3fcc35c6ddce3e037e786199726ff2dbd9a609f4d32b08c4957", kill_on_drop: false }` [INFO] [stdout] a5018124a7d8a3fcc35c6ddce3e037e786199726ff2dbd9a609f4d32b08c4957