[INFO] cloning repository https://github.com/ishworii/TinyBASIC-Transpiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ishworii/TinyBASIC-Transpiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishworii%2FTinyBASIC-Transpiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishworii%2FTinyBASIC-Transpiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a225ea3d12235e882a5c25596e8cde6381ce861 [INFO] linting ishworii/TinyBASIC-Transpiler against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishworii%2FTinyBASIC-Transpiler" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ishworii/TinyBASIC-Transpiler [INFO] finished tweaking git repo https://github.com/ishworii/TinyBASIC-Transpiler [INFO] tweaked toml for git repo https://github.com/ishworii/TinyBASIC-Transpiler written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ishworii/TinyBASIC-Transpiler on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ishworii/TinyBASIC-Transpiler 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f8badc6b8bf8dd042b15591faa9d921f3ae45be117424336cc563da7c7f726c [INFO] running `Command { std: "docker" "start" "-a" "4f8badc6b8bf8dd042b15591faa9d921f3ae45be117424336cc563da7c7f726c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f8badc6b8bf8dd042b15591faa9d921f3ae45be117424336cc563da7c7f726c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8badc6b8bf8dd042b15591faa9d921f3ae45be117424336cc563da7c7f726c", kill_on_drop: false }` [INFO] [stdout] 4f8badc6b8bf8dd042b15591faa9d921f3ae45be117424336cc563da7c7f726c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9242d17be69e44d8e86859cfd479b2a33ba5031bf08d75c7640b55d8d0ee310 [INFO] running `Command { std: "docker" "start" "-a" "c9242d17be69e44d8e86859cfd479b2a33ba5031bf08d75c7640b55d8d0ee310", kill_on_drop: false }` [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking tiny_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `check_peek` is never used [INFO] [stdout] --> src/parser.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Parser{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn check_peek(&mut self, token_type: TokenType) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexer.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | ...if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if !(self.curr_char != '\r' && self.curr_char != '\n' && self.curr_char != '\t' && self.curr_char != '\\' && self.curr_char != '%') { [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexer.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | ...if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' ||... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if !(self.curr_char != '\r' && self.curr_char != '\n' && self.curr_char != '\t' && self.curr_char != '\\') || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexer.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | ... if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if !(self.curr_char != '\r' && self.curr_char != '\n' && self.curr_char != '\t') || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexer.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | ... if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if !(self.curr_char != '\r' && self.curr_char != '\n') || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/lexer.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | _ if self.curr_char.is_digit(10) =>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.curr_char.is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/lexer.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | while self.peek().is_digit(10){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.peek().is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/lexer.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if !self.peek().is_digit(10){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.peek().is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/lexer.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | while self.peek().is_digit(10){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.peek().is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/lexer.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | if keyword == None{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `keyword.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] = note: `#[warn(clippy::partialeq_to_none)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Iterator::find` [INFO] [stdout] --> src/lexer.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | / for token_type in TokenType::iter(){ [INFO] [stdout] 159 | | if token_type.as_ref() == token_text && token_type.value() >= 100 && token_type.value() < 200{ [INFO] [stdout] 160 | | return Some(token_type); [INFO] [stdout] ... | [INFO] [stdout] 163 | | None [INFO] [stdout] | |____________^ help: replace with an iterator: `TokenType::iter().find(|&token_type| token_type.as_ref() == token_text && token_type.value() >= 100 && token_type.value() < 200)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_find [INFO] [stdout] = note: `#[warn(clippy::manual_find)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `EOF` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EOF = -1, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter (notice the capitalization): `Eof` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] = note: `#[warn(clippy::upper_case_acronyms)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `NEWLINE` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | NEWLINE = 0, [INFO] [stdout] | ^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Newline` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `NUMBER` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | NUMBER = 1, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Number` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `IDENT` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | IDENT = 2, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `STRING` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | STRING = 3, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `String` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `LABEL` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | LABEL = 101, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Label` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `GOTO` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | GOTO =102, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Goto` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PRINT` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | PRINT = 103, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Print` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `INPUT` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | INPUT = 104, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Input` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `LET` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | LET = 105, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Let` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `THEN` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | THEN=107, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Then` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `ENDIF` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ENDIF=108, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Endif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `WHILE` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | WHILE=109, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `While` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `REPEAT` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | REPEAT=110, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Repeat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `ENDWHILE` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | ENDWHILE=111, [INFO] [stdout] | ^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Endwhile` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PLUS` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | PLUS=202, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Plus` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `MINUS` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | MINUS=203, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Minus` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `ASTERISK` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ASTERISK=204, [INFO] [stdout] | ^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Asterisk` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `SLASH` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | SLASH=205, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Slash` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `EQEQ` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | EQEQ=206, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Eqeq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `NOTEQ` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | NOTEQ=207, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Noteq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `LTEQ` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | LTEQ=209, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Lteq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `GTEQ` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | GTEQ=211, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Gteq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_peek` is never used [INFO] [stdout] --> src/parser.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Parser{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn check_peek(&mut self, token_type: TokenType) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexer.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | ...if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if !(self.curr_char != '\r' && self.curr_char != '\n' && self.curr_char != '\t' && self.curr_char != '\\' && self.curr_char != '%') { [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexer.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | ...if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' ||... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if !(self.curr_char != '\r' && self.curr_char != '\n' && self.curr_char != '\t' && self.curr_char != '\\') || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexer.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | ... if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if !(self.curr_char != '\r' && self.curr_char != '\n' && self.curr_char != '\t') || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexer.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | ... if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if !(self.curr_char != '\r' && self.curr_char != '\n') || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] 103 - if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] 103 + if self.curr_char == '\r' || self.curr_char == '\n' || self.curr_char == '\t' || self.curr_char == '\\' || self.curr_char == '%' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/lexer.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | _ if self.curr_char.is_digit(10) =>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.curr_char.is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/lexer.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | while self.peek().is_digit(10){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.peek().is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/lexer.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if !self.peek().is_digit(10){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.peek().is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/lexer.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | while self.peek().is_digit(10){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.peek().is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/lexer.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | if keyword == None{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `keyword.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] = note: `#[warn(clippy::partialeq_to_none)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Iterator::find` [INFO] [stdout] --> src/lexer.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | / for token_type in TokenType::iter(){ [INFO] [stdout] 159 | | if token_type.as_ref() == token_text && token_type.value() >= 100 && token_type.value() < 200{ [INFO] [stdout] 160 | | return Some(token_type); [INFO] [stdout] ... | [INFO] [stdout] 163 | | None [INFO] [stdout] | |____________^ help: replace with an iterator: `TokenType::iter().find(|&token_type| token_type.as_ref() == token_text && token_type.value() >= 100 && token_type.value() < 200)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_find [INFO] [stdout] = note: `#[warn(clippy::manual_find)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `EOF` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EOF = -1, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter (notice the capitalization): `Eof` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] = note: `#[warn(clippy::upper_case_acronyms)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `NEWLINE` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | NEWLINE = 0, [INFO] [stdout] | ^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Newline` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `NUMBER` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | NUMBER = 1, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Number` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `IDENT` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | IDENT = 2, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `STRING` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | STRING = 3, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `String` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `LABEL` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | LABEL = 101, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Label` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `GOTO` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | GOTO =102, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Goto` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PRINT` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | PRINT = 103, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Print` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `INPUT` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | INPUT = 104, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Input` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `LET` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | LET = 105, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Let` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `THEN` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | THEN=107, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Then` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `ENDIF` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ENDIF=108, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Endif` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `WHILE` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | WHILE=109, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `While` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `REPEAT` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | REPEAT=110, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Repeat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `ENDWHILE` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | ENDWHILE=111, [INFO] [stdout] | ^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Endwhile` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PLUS` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | PLUS=202, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Plus` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `MINUS` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | MINUS=203, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Minus` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `ASTERISK` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ASTERISK=204, [INFO] [stdout] | ^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Asterisk` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `SLASH` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | SLASH=205, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Slash` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `EQEQ` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | EQEQ=206, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Eqeq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `NOTEQ` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | NOTEQ=207, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Noteq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `LTEQ` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | LTEQ=209, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Lteq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `GTEQ` contains a capitalized acronym [INFO] [stdout] --> src/token.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | GTEQ=211, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Gteq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.13s [INFO] running `Command { std: "docker" "inspect" "c9242d17be69e44d8e86859cfd479b2a33ba5031bf08d75c7640b55d8d0ee310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9242d17be69e44d8e86859cfd479b2a33ba5031bf08d75c7640b55d8d0ee310", kill_on_drop: false }` [INFO] [stdout] c9242d17be69e44d8e86859cfd479b2a33ba5031bf08d75c7640b55d8d0ee310