[INFO] cloning repository https://github.com/FrewtyPebbles/Neat-Object-Notation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrewtyPebbles/Neat-Object-Notation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrewtyPebbles%2FNeat-Object-Notation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrewtyPebbles%2FNeat-Object-Notation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba5fadea650421d3a3ae78ff333c54ce98c8a4fd [INFO] checking FrewtyPebbles/Neat-Object-Notation against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrewtyPebbles%2FNeat-Object-Notation" "/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/FrewtyPebbles/Neat-Object-Notation on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FrewtyPebbles/Neat-Object-Notation [INFO] finished tweaking git repo https://github.com/FrewtyPebbles/Neat-Object-Notation [INFO] tweaked toml for git repo https://github.com/FrewtyPebbles/Neat-Object-Notation written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FrewtyPebbles/Neat-Object-Notation 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.87 [INFO] [stderr] Downloaded serde v1.0.147 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3d097832e6d9f96d059f1c63bf8180292300b716e5200ccbde76785beb0ef43 [INFO] running `Command { std: "docker" "start" "-a" "e3d097832e6d9f96d059f1c63bf8180292300b716e5200ccbde76785beb0ef43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3d097832e6d9f96d059f1c63bf8180292300b716e5200ccbde76785beb0ef43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d097832e6d9f96d059f1c63bf8180292300b716e5200ccbde76785beb0ef43", kill_on_drop: false }` [INFO] [stdout] e3d097832e6d9f96d059f1c63bf8180292300b716e5200ccbde76785beb0ef43 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a1f1bcbaa456357966970cb32d64e665000bdd8c7767d275f6508674d557c09 [INFO] running `Command { std: "docker" "start" "-a" "3a1f1bcbaa456357966970cb32d64e665000bdd8c7767d275f6508674d557c09", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking Neat v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `alias_vec` [INFO] [stdout] --> src/neat/tokenizer.rs:11:72 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_mod_token(raw_mod_string: String, origin_file_path:&str, alias_vec:&mut HashMap>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alias_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias_name` [INFO] [stdout] --> src/neat/tokenizer.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut alias_name = String::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alias_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_char` is assigned to, but never used [INFO] [stdout] --> src/neat/tokenizer.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut last_char = ' '; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_char` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_char` is never read [INFO] [stdout] --> src/neat/tokenizer.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | last_char = chr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias_vec` [INFO] [stdout] --> src/neat/tokenizer.rs:11:72 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_mod_token(raw_mod_string: String, origin_file_path:&str, alias_vec:&mut HashMap>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alias_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias_name` [INFO] [stdout] --> src/neat/tokenizer.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut alias_name = String::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alias_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_char` is assigned to, but never used [INFO] [stdout] --> src/neat/tokenizer.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut last_char = ' '; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_char` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_char` is never read [INFO] [stdout] --> src/neat/tokenizer.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | last_char = chr; [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: variable does not need to be mutable [INFO] [stdout] --> src/neat/tokenizer.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn create_alias_token(raw_alias_string: String, mut alias_vec:&mut HashMap>){ [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/neat/tokenizer.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut alias_name = String::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_type_stack` [INFO] [stdout] --> src/neat/tokenizer.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let scope_type_stack = vec![ScopeType::None]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_type_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ln` [INFO] [stdout] --> src/neat/tokenizer.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | for (ln, raw_line) in file_content.clone().split("\n").enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ln` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cn` [INFO] [stdout] --> src/neat/tokenizer.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | for (cn, curr_character) in line.clone().chars().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/tokenizer.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn create_alias_token(raw_alias_string: String, mut alias_vec:&mut HashMap>){ [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/neat/tokenizer.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut alias_name = String::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_type_stack` [INFO] [stdout] --> src/neat/tokenizer.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let scope_type_stack = vec![ScopeType::None]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_type_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ln` [INFO] [stdout] --> src/neat/tokenizer.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | for (ln, raw_line) in file_content.clone().split("\n").enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ln` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cn` [INFO] [stdout] --> src/neat/tokenizer.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | for (cn, curr_character) in line.clone().chars().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/treebuilder.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | fn alias_get(alias:String, aliases:HashMap>, mut curr_scope:&mut Vec>){ [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/neat/treebuilder.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | let mut curr_a_list = aliases.iter(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a_list` is never read [INFO] [stdout] --> src/neat/treebuilder.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | let mut a_list = VType::Blank; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/treebuilder.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | fn alias_get(alias:String, aliases:HashMap>, mut curr_scope:&mut Vec>){ [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/neat/treebuilder.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | let mut curr_a_list = aliases.iter(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a_list` is never read [INFO] [stdout] --> src/neat/treebuilder.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | let mut a_list = VType::Blank; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/neat/treebuilder.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | VType::Alias(val) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/neat/treebuilder.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | VType::Alias(val) => todo!() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_tok` [INFO] [stdout] --> src/neat/treebuilder.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let last_tok = token_list[tlist_len - 2].clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `alias_scope_0_len` is never read [INFO] [stdout] --> src/neat/treebuilder.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | alias_scope_0_len = alias_scope.0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/neat/treebuilder.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | VType::Alias(val) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/neat/treebuilder.rs:92:62 [INFO] [stdout] | [INFO] [stdout] 92 | ...ox>, is_dict:bool, file_path:&str, alias_vec:&HashMap>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/neat/treebuilder.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | VType::Alias(val) => todo!() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_tok` [INFO] [stdout] --> src/neat/treebuilder.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let last_tok = token_list[tlist_len - 2].clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `alias_scope_0_len` is never read [INFO] [stdout] --> src/neat/treebuilder.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | alias_scope_0_len = alias_scope.0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/neat/treebuilder.rs:92:62 [INFO] [stdout] | [INFO] [stdout] 92 | ...ox>, is_dict:bool, file_path:&str, alias_vec:&HashMap>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/treebuilder.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | let mut aliases:HashMap> = alias_vec.clone(); [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/neat/treebuilder.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | let mut aliases:HashMap> = alias_vec.clone(); [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/neat/treebuilder.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut sets_scope = *alias_scope.1[alias_scope_1_len - 1][0].clone(); [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/neat/treebuilder.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | let mut curr_aliases = alias_scope.0[alias_scope_0_len - 1].clone(); [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/neat/treebuilder.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut sets_scope = *alias_scope.1[alias_scope_1_len - 1][0].clone(); [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/neat/treebuilder.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | let mut curr_aliases = alias_scope.0[alias_scope_0_len - 1].clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kval` [INFO] [stdout] --> src/neat/datatypes.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | ... NDSKeyType::Bool(kval) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kval` [INFO] [stdout] --> src/neat/datatypes.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | ... NDSKeyType::Bool(kval) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/datatypes.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | NDSType::Hashmap(mut val) => { [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/neat/datatypes.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | NDSType::Hashmap(mut val) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret_type` is never read [INFO] [stdout] --> src/neat/typeconversion.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ret_type: VType = VType::Blank; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c_string` is never read [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let mut c_string = String::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret_type` is never read [INFO] [stdout] --> src/neat/typeconversion.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ret_type: VType = VType::Blank; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c_string` is never read [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let mut c_string = String::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at` is never used [INFO] [stdout] --> src/neat/datatypes.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 240 | impl SerializedNode { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | fn at + Into + Into + Into + Into + From + From + From + From + 'sta... [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at` is never used [INFO] [stdout] --> src/neat/datatypes.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 240 | impl SerializedNode { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | fn at + Into + Into + Into + Into + From + From + From + From + 'sta... [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:358:30 [INFO] [stdout] | [INFO] [stdout] 358 | file_path.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:358:30 [INFO] [stdout] | [INFO] [stdout] 358 | file_path.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:368:30 [INFO] [stdout] | [INFO] [stdout] 368 | file_path.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:400:41 [INFO] [stdout] | [INFO] [stdout] 400 | for (cn, curr_character) in line.clone().chars().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:368:30 [INFO] [stdout] | [INFO] [stdout] 368 | file_path.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:400:41 [INFO] [stdout] | [INFO] [stdout] 400 | for (cn, curr_character) in line.clone().chars().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self`, `stdin` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{stdin, self}, env, collections::HashMap}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self`, `stdin` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{stdin, self}, env, collections::HashMap}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias_vec` [INFO] [stdout] --> src/neat/tokenizer.rs:11:72 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_mod_token(raw_mod_string: String, origin_file_path:&str, alias_vec:&mut HashMap>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alias_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias_name` [INFO] [stdout] --> src/neat/tokenizer.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut alias_name = String::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alias_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_char` is assigned to, but never used [INFO] [stdout] --> src/neat/tokenizer.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut last_char = ' '; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_char` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_char` is never read [INFO] [stdout] --> src/neat/tokenizer.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | last_char = chr; [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: variable does not need to be mutable [INFO] [stdout] --> src/neat/tokenizer.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn create_alias_token(raw_alias_string: String, mut alias_vec:&mut HashMap>){ [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/neat/tokenizer.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut alias_name = String::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_type_stack` [INFO] [stdout] --> src/neat/tokenizer.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let scope_type_stack = vec![ScopeType::None]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_type_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ln` [INFO] [stdout] --> src/neat/tokenizer.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | for (ln, raw_line) in file_content.clone().split("\n").enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ln` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cn` [INFO] [stdout] --> src/neat/tokenizer.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | for (cn, curr_character) in line.clone().chars().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias_vec` [INFO] [stdout] --> src/neat/tokenizer.rs:11:72 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_mod_token(raw_mod_string: String, origin_file_path:&str, alias_vec:&mut HashMap>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alias_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias_name` [INFO] [stdout] --> src/neat/tokenizer.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut alias_name = String::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alias_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_char` is assigned to, but never used [INFO] [stdout] --> src/neat/tokenizer.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut last_char = ' '; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_char` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_char` is never read [INFO] [stdout] --> src/neat/tokenizer.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | last_char = chr; [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: variable does not need to be mutable [INFO] [stdout] --> src/neat/tokenizer.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn create_alias_token(raw_alias_string: String, mut alias_vec:&mut HashMap>){ [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/neat/tokenizer.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut alias_name = String::new(); [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/neat/treebuilder.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | fn alias_get(alias:String, aliases:HashMap>, mut curr_scope:&mut Vec>){ [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_type_stack` [INFO] [stdout] --> src/neat/tokenizer.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let scope_type_stack = vec![ScopeType::None]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_type_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ln` [INFO] [stdout] --> src/neat/tokenizer.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | for (ln, raw_line) in file_content.clone().split("\n").enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ln` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cn` [INFO] [stdout] --> src/neat/tokenizer.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | for (cn, curr_character) in line.clone().chars().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/treebuilder.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | let mut curr_a_list = aliases.iter(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a_list` is never read [INFO] [stdout] --> src/neat/treebuilder.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | let mut a_list = VType::Blank; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/neat/treebuilder.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | VType::Alias(val) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/neat/treebuilder.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | VType::Alias(val) => todo!() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_tok` [INFO] [stdout] --> src/neat/treebuilder.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let last_tok = token_list[tlist_len - 2].clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `alias_scope_0_len` is never read [INFO] [stdout] --> src/neat/treebuilder.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | alias_scope_0_len = alias_scope.0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/neat/treebuilder.rs:92:62 [INFO] [stdout] | [INFO] [stdout] 92 | ...ox>, is_dict:bool, file_path:&str, alias_vec:&HashMap>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/treebuilder.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | let mut aliases:HashMap> = alias_vec.clone(); [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/neat/treebuilder.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut sets_scope = *alias_scope.1[alias_scope_1_len - 1][0].clone(); [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/neat/treebuilder.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | let mut curr_aliases = alias_scope.0[alias_scope_0_len - 1].clone(); [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/neat/treebuilder.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | fn alias_get(alias:String, aliases:HashMap>, mut curr_scope:&mut Vec>){ [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/neat/treebuilder.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | let mut curr_a_list = aliases.iter(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a_list` is never read [INFO] [stdout] --> src/neat/treebuilder.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | let mut a_list = VType::Blank; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/neat/treebuilder.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | VType::Alias(val) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/neat/treebuilder.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | VType::Alias(val) => todo!() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_tok` [INFO] [stdout] --> src/neat/treebuilder.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let last_tok = token_list[tlist_len - 2].clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `alias_scope_0_len` is never read [INFO] [stdout] --> src/neat/treebuilder.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | alias_scope_0_len = alias_scope.0.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/neat/treebuilder.rs:92:62 [INFO] [stdout] | [INFO] [stdout] 92 | ...ox>, is_dict:bool, file_path:&str, alias_vec:&HashMap>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kval` [INFO] [stdout] --> src/neat/datatypes.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | ... NDSKeyType::Bool(kval) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/datatypes.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | NDSType::Hashmap(mut val) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret_type` is never read [INFO] [stdout] --> src/neat/typeconversion.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ret_type: VType = VType::Blank; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at` is never used [INFO] [stdout] --> src/neat/datatypes.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 240 | impl SerializedNode { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | fn at + Into + Into + Into + Into + From + From + From + From + 'sta... [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/treebuilder.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | let mut aliases:HashMap> = alias_vec.clone(); [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/neat/treebuilder.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut sets_scope = *alias_scope.1[alias_scope_1_len - 1][0].clone(); [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/neat/treebuilder.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | let mut curr_aliases = alias_scope.0[alias_scope_0_len - 1].clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:358:30 [INFO] [stdout] | [INFO] [stdout] 358 | file_path.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:368:30 [INFO] [stdout] | [INFO] [stdout] 368 | file_path.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:400:41 [INFO] [stdout] | [INFO] [stdout] 400 | for (cn, curr_character) in line.clone().chars().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kval` [INFO] [stdout] --> src/neat/datatypes.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | ... NDSKeyType::Bool(kval) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/neat/datatypes.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | NDSType::Hashmap(mut val) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret_type` is never read [INFO] [stdout] --> src/neat/typeconversion.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ret_type: VType = VType::Blank; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `at` is never used [INFO] [stdout] --> src/neat/datatypes.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 240 | impl SerializedNode { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | fn at + Into + Into + Into + Into + From + From + From + From + 'sta... [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | filepath.push(path_buffer.trim().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:358:30 [INFO] [stdout] | [INFO] [stdout] 358 | file_path.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:368:30 [INFO] [stdout] | [INFO] [stdout] 368 | file_path.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/neat/tokenizer.rs:400:41 [INFO] [stdout] | [INFO] [stdout] 400 | for (cn, curr_character) in line.clone().chars().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "3a1f1bcbaa456357966970cb32d64e665000bdd8c7767d275f6508674d557c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a1f1bcbaa456357966970cb32d64e665000bdd8c7767d275f6508674d557c09", kill_on_drop: false }` [INFO] [stdout] 3a1f1bcbaa456357966970cb32d64e665000bdd8c7767d275f6508674d557c09