[INFO] cloning repository https://github.com/ZijianF/EBNF_check [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZijianF/EBNF_check" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZijianF%2FEBNF_check", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZijianF%2FEBNF_check'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 698319d361834af40849002e9d2b9364656dc84a [INFO] documenting ZijianF/EBNF_check against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZijianF%2FEBNF_check" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZijianF/EBNF_check on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZijianF/EBNF_check [INFO] finished tweaking git repo https://github.com/ZijianF/EBNF_check [INFO] tweaked toml for git repo https://github.com/ZijianF/EBNF_check written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ZijianF/EBNF_check already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5284094710ff626b60c6a5e724feba9030054af96939442facdcfc1d834f13b8 [INFO] running `Command { std: "docker" "start" "-a" "5284094710ff626b60c6a5e724feba9030054af96939442facdcfc1d834f13b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5284094710ff626b60c6a5e724feba9030054af96939442facdcfc1d834f13b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5284094710ff626b60c6a5e724feba9030054af96939442facdcfc1d834f13b8", kill_on_drop: false }` [INFO] [stdout] 5284094710ff626b60c6a5e724feba9030054af96939442facdcfc1d834f13b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48b669e18a36c23bbb7f58babace617b0a357515cc6e8b3b18b22ee072bfbc25 [INFO] running `Command { std: "docker" "start" "-a" "48b669e18a36c23bbb7f58babace617b0a357515cc6e8b3b18b22ee072bfbc25", kill_on_drop: false }` [INFO] [stderr] Documenting p2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> character_stream.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | if(self.current_index >= self.input.len() - 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if(self.current_index >= self.input.len() - 1) [INFO] [stdout] 23 + if self.current_index >= self.input.len() - 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> character_stream.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | if(self.more_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - if(self.more_available()) [INFO] [stdout] 35 + if self.more_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> character_stream.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | if(self.more_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if(self.more_available()) [INFO] [stdout] 65 + if self.more_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> scanner.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | while (cs.more_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - while (cs.more_available()) [INFO] [stdout] 53 + while cs.more_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if (cs.peek_next_char().unwrap() == '-') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - if (cs.peek_next_char().unwrap() == '-') [INFO] [stdout] 56 + if cs.peek_next_char().unwrap() == '-' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> scanner.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | ...le (!Scanner::ends_token(cs.peek_next_char().unwrap()) && !Scanner::is_single_operator(cs.peek_next_char().unwrap(), cs.peek_ahead_char(1))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - while (!Scanner::ends_token(cs.peek_next_char().unwrap()) && !Scanner::is_single_operator(cs.peek_next_char().unwrap(), cs.peek_ahead_char(1))) [INFO] [stdout] 60 + while !Scanner::ends_token(cs.peek_next_char().unwrap()) && !Scanner::is_single_operator(cs.peek_next_char().unwrap(), cs.peek_ahead_char(1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | if (adding_new) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - if (adding_new) [INFO] [stdout] 62 + if adding_new [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | if (temp_char == '_' || Scanner::is_alphabet(temp_char)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if (temp_char == '_' || Scanner::is_alphabet(temp_char)) [INFO] [stdout] 66 + if temp_char == '_' || Scanner::is_alphabet(temp_char) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | else if (Scanner::is_digit(temp_char)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - else if (Scanner::is_digit(temp_char)) [INFO] [stdout] 72 + else if Scanner::is_digit(temp_char) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | else if (temp_char == '-') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - else if (temp_char == '-') [INFO] [stdout] 77 + else if temp_char == '-' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | if (!stw_neg_sign) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - if (!stw_neg_sign) [INFO] [stdout] 79 + if !stw_neg_sign [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | if (stw_letter) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if (stw_letter) [INFO] [stdout] 96 + if stw_letter [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | if(Scanner::is_alphabet(temp_char) || Scanner::is_digit(temp_char) || temp_char == '_') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - if(Scanner::is_alphabet(temp_char) || Scanner::is_digit(temp_char) || temp_char == '_') [INFO] [stdout] 99 + if Scanner::is_alphabet(temp_char) || Scanner::is_digit(temp_char) || temp_char == '_' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | else if (stw_digit) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - else if (stw_digit) [INFO] [stdout] 111 + else if stw_digit [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | if (Scanner::is_digit(temp_char)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - if (Scanner::is_digit(temp_char)) [INFO] [stdout] 115 + if Scanner::is_digit(temp_char) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | else if (temp_char == '.') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - else if (temp_char == '.') [INFO] [stdout] 120 + else if temp_char == '.' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | ... if (!is_decimal) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - if (!is_decimal) [INFO] [stdout] 122 + if !is_decimal [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | if (!adding_new) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - if (!adding_new) [INFO] [stdout] 156 + if !adding_new [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | if (stw_letter) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 - if (stw_letter) [INFO] [stdout] 158 + if stw_letter [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | if (Scanner::is_keyword(&token_string)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 160 - if (Scanner::is_keyword(&token_string)) [INFO] [stdout] 160 + if Scanner::is_keyword(&token_string) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | else if (stw_digit) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - else if (stw_digit) [INFO] [stdout] 178 + else if stw_digit [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 180 | if (is_decimal) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - if (is_decimal) [INFO] [stdout] 180 + if is_decimal [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | if (Scanner::is_single_operator(temp, cs.peek_ahead_char(0))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - if (Scanner::is_single_operator(temp, cs.peek_ahead_char(0))) [INFO] [stdout] 205 + if Scanner::is_single_operator(temp, cs.peek_ahead_char(0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | if (!cs.more_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 208 - if (!cs.more_available()) [INFO] [stdout] 208 + if !cs.more_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | if (Scanner::is_double_operator(&temp_op)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - if (Scanner::is_double_operator(&temp_op)) [INFO] [stdout] 223 + if Scanner::is_double_operator(&temp_op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | if (temp == '!') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - if (temp == '!') [INFO] [stdout] 238 + if temp == '!' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | else if (Scanner::ends_token(temp)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - else if (Scanner::ends_token(temp)) [INFO] [stdout] 255 + else if Scanner::ends_token(temp) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if (temp == ' ') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 257 - if (temp == ' ') [INFO] [stdout] 257 + if temp == ' ' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | else if (temp == '\n') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 262 - else if (temp == '\n') [INFO] [stdout] 262 + else if temp == '\n' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | if (c >= '0' && c <= '9') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 326 - if (c >= '0' && c <= '9') [INFO] [stdout] 326 + if c >= '0' && c <= '9' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 335 | if (c == ' ' || c == '\n' || Scanner::is_single_operator(c, None) || c == '\t') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if (c == ' ' || c == '\n' || Scanner::is_single_operator(c, None) || c == '\t') [INFO] [stdout] 335 + if c == ' ' || c == '\n' || Scanner::is_single_operator(c, None) || c == '\t' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | if (single_operators.contains(&c)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 363 - if (single_operators.contains(&c)) [INFO] [stdout] 363 + if single_operators.contains(&c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | if (c == '-') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 365 - if (c == '-') [INFO] [stdout] 365 + if c == '-' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | if (next != None) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 367 - if (next != None) [INFO] [stdout] 367 + if next != None [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:369:24 [INFO] [stdout] | [INFO] [stdout] 369 | if (Scanner::is_digit(next.unwrap())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 369 - if (Scanner::is_digit(next.unwrap())) [INFO] [stdout] 369 + if Scanner::is_digit(next.unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | if (double_operators.contains(&op)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 398 - if (double_operators.contains(&op)) [INFO] [stdout] 398 + if double_operators.contains(&op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> scanner.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | if (self.cur_index >= self.tokens.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 420 - if (self.cur_index >= self.tokens.len()) [INFO] [stdout] 420 + if self.cur_index >= self.tokens.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if (next_token.get_text() != "+" && next_token.get_text() != "-") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if (next_token.get_text() != "+" && next_token.get_text() != "-") [INFO] [stdout] 46 + if next_token.get_text() != "+" && next_token.get_text() != "-" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if (next_token.get_text() != "*" && next_token.get_text() != "/") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (next_token.get_text() != "*" && next_token.get_text() != "/") [INFO] [stdout] 59 + if next_token.get_text() != "*" && next_token.get_text() != "/" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | if (self.scanner.more_tokens_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - if (self.scanner.more_tokens_available()) [INFO] [stdout] 72 + if self.scanner.more_tokens_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if (self.scanner.peek_next_token().get_text() == "(") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 - if (self.scanner.peek_next_token().get_text() == "(") [INFO] [stdout] 74 + if self.scanner.peek_next_token().get_text() == "(" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | if (!self.Expression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - if (!self.Expression()) [INFO] [stdout] 77 + if !self.Expression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | if (next_token.get_text() != ")") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - if (next_token.get_text() != ")") [INFO] [stdout] 85 + if next_token.get_text() != ")" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | if (!self.Constant()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if (!self.Constant()) [INFO] [stdout] 96 + if !self.Constant() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | if (self.Identifier()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - if (self.Identifier()) [INFO] [stdout] 99 + if self.Identifier() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | if (self.scanner.peek_next_token().get_text() == "(") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - if (self.scanner.peek_next_token().get_text() == "(") [INFO] [stdout] 102 + if self.scanner.peek_next_token().get_text() == "(" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | ... if (self.scanner.peek_next_token().get_text() == ")") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - if (self.scanner.peek_next_token().get_text() == ")") [INFO] [stdout] 105 + if self.scanner.peek_next_token().get_text() == ")" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | ... else if (self.Expression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - else if (self.Expression()) [INFO] [stdout] 110 + else if self.Expression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | ... while (true) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - while (true) [INFO] [stdout] 113 + while true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | ... if (self.scanner.peek_next_token().get_text() != ",") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - if (self.scanner.peek_next_token().get_text() != ",") [INFO] [stdout] 115 + if self.scanner.peek_next_token().get_text() != "," [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | ... if (!self.Expression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if (!self.Expression()) [INFO] [stdout] 121 + if !self.Expression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | ... if (next_token.get_text() != ")") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - if (next_token.get_text() != ")") [INFO] [stdout] 136 + if next_token.get_text() != ")" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | if (!self.Factor()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - if (!self.Factor()) [INFO] [stdout] 171 + if !self.Factor() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | while (true) // optional [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - while (true) // optional [INFO] [stdout] 180 + while true // optional [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | if (self.MultOperator()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 - if (self.MultOperator()) [INFO] [stdout] 183 + if self.MultOperator() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | if (self.Factor()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if (self.Factor()) [INFO] [stdout] 185 + if self.Factor() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | if (!self.Term()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 211 - if (!self.Term()) [INFO] [stdout] 211 + if !self.Term() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:219:15 [INFO] [stdout] | [INFO] [stdout] 219 | while (true) // optional [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - while (true) // optional [INFO] [stdout] 219 + while true // optional [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | if (self.AddOperator()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 222 - if (self.AddOperator()) [INFO] [stdout] 222 + if self.AddOperator() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | if (self.Term()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 224 - if (self.Term()) [INFO] [stdout] 224 + if self.Term() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | if (next_token.get_text() != "==" && next_token.get_text() != "<" [INFO] [stdout] | ^ [INFO] [stdout] 251 | && next_token.get_text() != ">" && next_token.get_text() != "<=" [INFO] [stdout] 252 | && next_token.get_text() != ">=" && next_token.get_text() != "!=") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 250 ~ if next_token.get_text() != "==" && next_token.get_text() != "<" [INFO] [stdout] 251 | && next_token.get_text() != ">" && next_token.get_text() != "<=" [INFO] [stdout] 252 ~ && next_token.get_text() != ">=" && next_token.get_text() != "!=" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | if (self.scanner.more_tokens_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 264 - if (self.scanner.more_tokens_available()) [INFO] [stdout] 264 + if self.scanner.more_tokens_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:267:16 [INFO] [stdout] | [INFO] [stdout] 267 | if (next_token.get_text() == "unsigned") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - if (next_token.get_text() == "unsigned") [INFO] [stdout] 267 + if next_token.get_text() == "unsigned" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:273:16 [INFO] [stdout] | [INFO] [stdout] 273 | if (next_token.get_text() != "char" && next_token.get_text() != "short" [INFO] [stdout] | ^ [INFO] [stdout] 274 | && next_token.get_text() != "int" && next_token.get_text() != "long") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 273 ~ if next_token.get_text() != "char" && next_token.get_text() != "short" [INFO] [stdout] 274 ~ && next_token.get_text() != "int" && next_token.get_text() != "long" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | if (self.scanner.more_tokens_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 291 - if (self.scanner.more_tokens_available()) [INFO] [stdout] 291 + if self.scanner.more_tokens_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:294:16 [INFO] [stdout] | [INFO] [stdout] 294 | if (next_token.get_text() != "float" && next_token.get_text() != "double") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 294 - if (next_token.get_text() != "float" && next_token.get_text() != "double") [INFO] [stdout] 294 + if next_token.get_text() != "float" && next_token.get_text() != "double" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | if (!self.SimpleExpression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 314 - if (!self.SimpleExpression()) [INFO] [stdout] 314 + if !self.SimpleExpression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | if (self.RelationOperator()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - if (self.RelationOperator()) [INFO] [stdout] 323 + if self.RelationOperator() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | if (!self.SimpleExpression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 325 - if (!self.SimpleExpression()) [INFO] [stdout] 325 + if !self.SimpleExpression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> parser.rs:355:67 [INFO] [stdout] | [INFO] [stdout] 355 | let mut variable_index = self.scanner.get_current_index();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | if (!self.DataType()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - if (!self.DataType()) [INFO] [stdout] 347 + if !self.DataType() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | if (!self.Identifier()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 357 - if (!self.Identifier()) [INFO] [stdout] 357 + if !self.Identifier() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 368 | if (self.scanner.tokens[i].get_text() == self.scanner.tokens[variable_index].get_text()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 368 - if (self.scanner.tokens[i].get_text() == self.scanner.tokens[variable_index].get_text()) [INFO] [stdout] 368 + if self.scanner.tokens[i].get_text() == self.scanner.tokens[variable_index].get_text() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 379 | if (!self.Identifier()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 379 - if (!self.Identifier()) [INFO] [stdout] 379 + if !self.Identifier() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | if (next_token.get_text() != "=") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 388 - if (next_token.get_text() != "=") [INFO] [stdout] 388 + if next_token.get_text() != "=" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | while (true) // optional [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 396 - while (true) // optional [INFO] [stdout] 396 + while true // optional [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:399:16 [INFO] [stdout] | [INFO] [stdout] 399 | if (!self.Identifier()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 399 - if (!self.Identifier()) [INFO] [stdout] 399 + if !self.Identifier() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | if (next_token.get_text() != "=") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 406 - if (next_token.get_text() != "=") [INFO] [stdout] 406 + if next_token.get_text() != "=" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | if (!self.Expression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 416 - if (!self.Expression()) [INFO] [stdout] 416 + if !self.Expression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | if (next_token.get_text() != ";") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 427 - if (next_token.get_text() != ";") [INFO] [stdout] 427 + if next_token.get_text() != ";" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | if (next_token.get_text() != "while") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 441 - if (next_token.get_text() != "while") [INFO] [stdout] 441 + if next_token.get_text() != "while" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | if (next_token.get_text() != "(") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 451 - if (next_token.get_text() != "(") [INFO] [stdout] 451 + if next_token.get_text() != "(" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:459:12 [INFO] [stdout] | [INFO] [stdout] 459 | if (!self.Expression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 459 - if (!self.Expression()) [INFO] [stdout] 459 + if !self.Expression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | if (next_token.get_text() != ")") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 468 - if (next_token.get_text() != ")") [INFO] [stdout] 468 + if next_token.get_text() != ")" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 476 | if (!self.Block()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 476 - if (!self.Block()) [INFO] [stdout] 476 + if !self.Block() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:489:12 [INFO] [stdout] | [INFO] [stdout] 489 | if (next_token.get_text() != "if") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 489 - if (next_token.get_text() != "if") [INFO] [stdout] 489 + if next_token.get_text() != "if" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 498 | if (next_token.get_text() != "(") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 498 - if (next_token.get_text() != "(") [INFO] [stdout] 498 + if next_token.get_text() != "(" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 506 | if (!self.Expression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 506 - if (!self.Expression()) [INFO] [stdout] 506 + if !self.Expression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | if (next_token.get_text() != ")") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 515 - if (next_token.get_text() != ")") [INFO] [stdout] 515 + if next_token.get_text() != ")" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | if (!self.Block()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 522 - if (!self.Block()) [INFO] [stdout] 522 + if !self.Block() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 537 | if (next_token.get_text() != "return") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 537 - if (next_token.get_text() != "return") [INFO] [stdout] 537 + if next_token.get_text() != "return" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | if (!self.Expression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 544 - if (!self.Expression()) [INFO] [stdout] 544 + if !self.Expression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:553:12 [INFO] [stdout] | [INFO] [stdout] 553 | if (next_token.get_text() != ";") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 553 - if (next_token.get_text() != ";") [INFO] [stdout] 553 + if next_token.get_text() != ";" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:566:12 [INFO] [stdout] | [INFO] [stdout] 566 | if (next_token.get_type().as_str() == "IntConstant" || next_token.get_type().as_str() == "FloatConstant") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 566 - if (next_token.get_type().as_str() == "IntConstant" || next_token.get_type().as_str() == "FloatConstant") [INFO] [stdout] 566 + if next_token.get_type().as_str() == "IntConstant" || next_token.get_type().as_str() == "FloatConstant" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 577 | if (!self.IntegerType()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - if (!self.IntegerType()) [INFO] [stdout] 577 + if !self.IntegerType() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:580:16 [INFO] [stdout] | [INFO] [stdout] 580 | if (!self.FloatType()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 580 - if (!self.FloatType()) [INFO] [stdout] 580 + if !self.FloatType() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | if (next_token.get_type().as_str() == "Identifier" ||next_token.get_type().as_str() == "Variable" [INFO] [stdout] | ^ [INFO] [stdout] 601 | ||next_token.get_type().as_str() == "Function") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 600 ~ if next_token.get_type().as_str() == "Identifier" ||next_token.get_type().as_str() == "Variable" [INFO] [stdout] 601 ~ ||next_token.get_type().as_str() == "Function" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | if (!self.Assignment()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 611 - if (!self.Assignment()) [INFO] [stdout] 611 + if !self.Assignment() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:614:16 [INFO] [stdout] | [INFO] [stdout] 614 | if (!self.WhileLoop()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 614 - if (!self.WhileLoop()) [INFO] [stdout] 614 + if !self.WhileLoop() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:617:20 [INFO] [stdout] | [INFO] [stdout] 617 | if (!self.IfStatement()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 617 - if (!self.IfStatement()) [INFO] [stdout] 617 + if !self.IfStatement() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:620:24 [INFO] [stdout] | [INFO] [stdout] 620 | if (!self.ReturnStatement()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 620 - if (!self.ReturnStatement()) [INFO] [stdout] 620 + if !self.ReturnStatement() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:632:28 [INFO] [stdout] | [INFO] [stdout] 632 | if (!self.Expression()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 632 - if (!self.Expression()) [INFO] [stdout] 632 + if !self.Expression() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:641:28 [INFO] [stdout] | [INFO] [stdout] 641 | if (next_token.get_text() != ";") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 641 - if (next_token.get_text() != ";") [INFO] [stdout] 641 + if next_token.get_text() != ";" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:683:12 [INFO] [stdout] | [INFO] [stdout] 683 | if (self.DataType()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 683 - if (self.DataType()) [INFO] [stdout] 683 + if self.DataType() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:685:16 [INFO] [stdout] | [INFO] [stdout] 685 | if (self.Identifier()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 - if (self.Identifier()) [INFO] [stdout] 685 + if self.Identifier() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:708:12 [INFO] [stdout] | [INFO] [stdout] 708 | if (next_token.get_text() != "(") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 708 - if (next_token.get_text() != "(") [INFO] [stdout] 708 + if next_token.get_text() != "(" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:718:12 [INFO] [stdout] | [INFO] [stdout] 718 | if (self.Parameter()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 718 - if (self.Parameter()) [INFO] [stdout] 718 + if self.Parameter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:721:19 [INFO] [stdout] | [INFO] [stdout] 721 | while (true) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 721 - while (true) [INFO] [stdout] 721 + while true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | if (self.scanner.peek_next_token().get_text() != ",") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 723 - if (self.scanner.peek_next_token().get_text() != ",") [INFO] [stdout] 723 + if self.scanner.peek_next_token().get_text() != "," [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:729:20 [INFO] [stdout] | [INFO] [stdout] 729 | if (!self.Parameter()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 729 - if (!self.Parameter()) [INFO] [stdout] 729 + if !self.Parameter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | if (next_token.get_text() != ")") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 744 - if (next_token.get_text() != ")") [INFO] [stdout] 744 + if next_token.get_text() != ")" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:756:12 [INFO] [stdout] | [INFO] [stdout] 756 | if (!self.ParameterBlock()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 756 - if (!self.ParameterBlock()) [INFO] [stdout] 756 + if !self.ParameterBlock() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:763:12 [INFO] [stdout] | [INFO] [stdout] 763 | if (next_token.get_text() != ";") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 763 - if (next_token.get_text() != ";") [INFO] [stdout] 763 + if next_token.get_text() != ";" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 775 | if (self.scanner.peek_next_token().get_text() == "=") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 775 - if (self.scanner.peek_next_token().get_text() == "=") [INFO] [stdout] 775 + if self.scanner.peek_next_token().get_text() == "=" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:778:16 [INFO] [stdout] | [INFO] [stdout] 778 | if (!self.Constant()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 778 - if (!self.Constant()) [INFO] [stdout] 778 + if !self.Constant() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:795:12 [INFO] [stdout] | [INFO] [stdout] 795 | if (next_token.get_text() != ";") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 795 - if (next_token.get_text() != ";") [INFO] [stdout] 795 + if next_token.get_text() != ";" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 808 | if (next_token.get_text() != "{") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 808 - if (next_token.get_text() != "{") [INFO] [stdout] 808 + if next_token.get_text() != "{" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:816:15 [INFO] [stdout] | [INFO] [stdout] 816 | while (true) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 816 - while (true) [INFO] [stdout] 816 + while true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:818:16 [INFO] [stdout] | [INFO] [stdout] 818 | if (!self.Declaration()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 818 - if (!self.Declaration()) [INFO] [stdout] 818 + if !self.Declaration() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:827:15 [INFO] [stdout] | [INFO] [stdout] 827 | while (true) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 827 - while (true) [INFO] [stdout] 827 + while true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:829:16 [INFO] [stdout] | [INFO] [stdout] 829 | if (!self.Statement()) //48 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 829 - if (!self.Statement()) //48 [INFO] [stdout] 829 + if !self.Statement() //48 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:838:15 [INFO] [stdout] | [INFO] [stdout] 838 | while (true) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 838 - while (true) [INFO] [stdout] 838 + while true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:840:16 [INFO] [stdout] | [INFO] [stdout] 840 | if (!self.FunctionDefinition()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 840 - if (!self.FunctionDefinition()) [INFO] [stdout] 840 + if !self.FunctionDefinition() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | if (next_token.get_text() == "}") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 850 - if (next_token.get_text() == "}") [INFO] [stdout] 850 + if next_token.get_text() == "}" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:863:15 [INFO] [stdout] | [INFO] [stdout] 863 | while (true) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 863 - while (true) [INFO] [stdout] 863 + while true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:865:16 [INFO] [stdout] | [INFO] [stdout] 865 | if (self.scanner.more_tokens_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 865 - if (self.scanner.more_tokens_available()) [INFO] [stdout] 865 + if self.scanner.more_tokens_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:868:20 [INFO] [stdout] | [INFO] [stdout] 868 | if (temp_next_token.get_type().as_str() == "Identifier" || temp_next_token.get_type().as_str() == "Function" [INFO] [stdout] | ^ [INFO] [stdout] 869 | || temp_next_token.get_type().as_str() == "Variable") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 868 ~ if temp_next_token.get_type().as_str() == "Identifier" || temp_next_token.get_type().as_str() == "Function" [INFO] [stdout] 869 ~ || temp_next_token.get_type().as_str() == "Variable" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:883:12 [INFO] [stdout] | [INFO] [stdout] 883 | if (!self.DeclarationType()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 883 - if (!self.DeclarationType()) [INFO] [stdout] 883 + if !self.DeclarationType() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:894:12 [INFO] [stdout] | [INFO] [stdout] 894 | if (!self.VariableDeclaration()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 894 - if (!self.VariableDeclaration()) [INFO] [stdout] 894 + if !self.VariableDeclaration() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:898:16 [INFO] [stdout] | [INFO] [stdout] 898 | if (!self.FunctionDeclaration()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 898 - if (!self.FunctionDeclaration()) [INFO] [stdout] 898 + if !self.FunctionDeclaration() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:907:24 [INFO] [stdout] | [INFO] [stdout] 907 | if (self.scanner.tokens[i].get_text() == self.scanner.tokens[variable_index].get_text()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 907 - if (self.scanner.tokens[i].get_text() == self.scanner.tokens[variable_index].get_text()) [INFO] [stdout] 907 + if self.scanner.tokens[i].get_text() == self.scanner.tokens[variable_index].get_text() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:919:20 [INFO] [stdout] | [INFO] [stdout] 919 | if (self.scanner.tokens[i].get_text() == self.scanner.tokens[variable_index].get_text()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 919 - if (self.scanner.tokens[i].get_text() == self.scanner.tokens[variable_index].get_text()) [INFO] [stdout] 919 + if self.scanner.tokens[i].get_text() == self.scanner.tokens[variable_index].get_text() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:933:12 [INFO] [stdout] | [INFO] [stdout] 933 | if (next_token.get_text() == "void") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 933 - if (next_token.get_text() == "void") [INFO] [stdout] 933 + if next_token.get_text() == "void" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:936:16 [INFO] [stdout] | [INFO] [stdout] 936 | if (next_token.get_text() == "main") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 936 - if (next_token.get_text() == "main") [INFO] [stdout] 936 + if next_token.get_text() == "main" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:939:20 [INFO] [stdout] | [INFO] [stdout] 939 | if (next_token.get_text() == "(") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 939 - if (next_token.get_text() == "(") [INFO] [stdout] 939 + if next_token.get_text() == "(" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:942:24 [INFO] [stdout] | [INFO] [stdout] 942 | if (next_token.get_text() == ")") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 942 - if (next_token.get_text() == ")") [INFO] [stdout] 942 + if next_token.get_text() == ")" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:944:28 [INFO] [stdout] | [INFO] [stdout] 944 | if (self.Block()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 944 - if (self.Block()) [INFO] [stdout] 944 + if self.Block() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:993:12 [INFO] [stdout] | [INFO] [stdout] 993 | if (self.DeclarationType()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 993 - if (self.DeclarationType()) [INFO] [stdout] 993 + if self.DeclarationType() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:996:16 [INFO] [stdout] | [INFO] [stdout] 996 | if (self.ParameterBlock()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 996 - if (self.ParameterBlock()) [INFO] [stdout] 996 + if self.ParameterBlock() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:999:20 [INFO] [stdout] | [INFO] [stdout] 999 | if (self.Block()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 999 - if (self.Block()) [INFO] [stdout] 999 + if self.Block() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:1043:15 [INFO] [stdout] | [INFO] [stdout] 1043 | while (true) // optional [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1043 - while (true) // optional [INFO] [stdout] 1043 + while true // optional [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1046:16 [INFO] [stdout] | [INFO] [stdout] 1046 | if (!self.Declaration()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1046 - if (!self.Declaration()) [INFO] [stdout] 1046 + if !self.Declaration() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1055:12 [INFO] [stdout] | [INFO] [stdout] 1055 | if (!self.MainDeclaration()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1055 - if (!self.MainDeclaration()) [INFO] [stdout] 1055 + if !self.MainDeclaration() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1065:12 [INFO] [stdout] | [INFO] [stdout] 1065 | if (self.scanner.more_tokens_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1065 - if (self.scanner.more_tokens_available()) [INFO] [stdout] 1065 + if self.scanner.more_tokens_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> parser.rs:1068:19 [INFO] [stdout] | [INFO] [stdout] 1068 | while (true) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1068 - while (true) [INFO] [stdout] 1068 + while true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1070:20 [INFO] [stdout] | [INFO] [stdout] 1070 | if (!self.FunctionDefinition()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1070 - if (!self.FunctionDefinition()) [INFO] [stdout] 1070 + if !self.FunctionDefinition() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1079:12 [INFO] [stdout] | [INFO] [stdout] 1079 | if (self.scanner.more_tokens_available()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1079 - if (self.scanner.more_tokens_available()) [INFO] [stdout] 1079 + if self.scanner.more_tokens_available() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1091:12 [INFO] [stdout] | [INFO] [stdout] 1091 | if (self.Program()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1091 - if (self.Program()) [INFO] [stdout] 1091 + if self.Program() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1130:16 [INFO] [stdout] | [INFO] [stdout] 1130 | if (token.get_type().as_str() == "Function") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1130 - if (token.get_type().as_str() == "Function") [INFO] [stdout] 1130 + if token.get_type().as_str() == "Function" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1134:21 [INFO] [stdout] | [INFO] [stdout] 1134 | else if (token.get_type().as_str() == "Variable") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1134 - else if (token.get_type().as_str() == "Variable") [INFO] [stdout] 1134 + else if token.get_type().as_str() == "Variable" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1138:21 [INFO] [stdout] | [INFO] [stdout] 1138 | else if (token.get_type().as_str() == "FloatConstant") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1138 - else if (token.get_type().as_str() == "FloatConstant") [INFO] [stdout] 1138 + else if token.get_type().as_str() == "FloatConstant" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1142:21 [INFO] [stdout] | [INFO] [stdout] 1142 | else if (token.get_type().as_str() == "IntConstant") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1142 - else if (token.get_type().as_str() == "IntConstant") [INFO] [stdout] 1142 + else if token.get_type().as_str() == "IntConstant" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1146:21 [INFO] [stdout] | [INFO] [stdout] 1146 | else if (token.get_type().as_str() == "Operator") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1146 - else if (token.get_type().as_str() == "Operator") [INFO] [stdout] 1146 + else if token.get_type().as_str() == "Operator" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> parser.rs:1150:21 [INFO] [stdout] | [INFO] [stdout] 1150 | else if (token.get_type().as_str() == "Keyword") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1150 - else if (token.get_type().as_str() == "Keyword") [INFO] [stdout] 1150 + else if token.get_type().as_str() == "Keyword" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 154 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.22s [INFO] running `Command { std: "docker" "inspect" "48b669e18a36c23bbb7f58babace617b0a357515cc6e8b3b18b22ee072bfbc25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b669e18a36c23bbb7f58babace617b0a357515cc6e8b3b18b22ee072bfbc25", kill_on_drop: false }` [INFO] [stdout] 48b669e18a36c23bbb7f58babace617b0a357515cc6e8b3b18b22ee072bfbc25