[INFO] cloning repository https://github.com/Belovedbb/Crlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Belovedbb/Crlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBelovedbb%2FCrlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBelovedbb%2FCrlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f10c382efbfa3ba700ded859cf26f96548b48c44 [INFO] linting Belovedbb/Crlox against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBelovedbb%2FCrlox" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Belovedbb/Crlox [INFO] finished tweaking git repo https://github.com/Belovedbb/Crlox [INFO] tweaked toml for git repo https://github.com/Belovedbb/Crlox written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Belovedbb/Crlox 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/Belovedbb/Crlox 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mopa v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e159d095ef1c73c5caf6b41855e8883eb7a1c38d610e1b6d038ffe7331a29798 [INFO] running `Command { std: "docker" "start" "-a" "e159d095ef1c73c5caf6b41855e8883eb7a1c38d610e1b6d038ffe7331a29798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e159d095ef1c73c5caf6b41855e8883eb7a1c38d610e1b6d038ffe7331a29798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e159d095ef1c73c5caf6b41855e8883eb7a1c38d610e1b6d038ffe7331a29798", kill_on_drop: false }` [INFO] [stdout] e159d095ef1c73c5caf6b41855e8883eb7a1c38d610e1b6d038ffe7331a29798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ad62f9dd4e62636916a7c402ec8917c4e948336eb304522218bfb4c5dba41018 [INFO] running `Command { std: "docker" "start" "-a" "ad62f9dd4e62636916a7c402ec8917c4e948336eb304522218bfb4c5dba41018", kill_on_drop: false }` [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking crlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/compiler.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/compiler.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/vm.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/vm.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `if let` to pattern match a bool [INFO] [stdout] --> src/value.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | if let true = (*value.get_as_ref()).get_boolean_ref().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using the condition directly: `(*value.get_as_ref()).get_boolean_ref().unwrap()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `if let` to pattern match a bool [INFO] [stdout] --> src/value.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | if let true = (*value.get_as_ref()).get_boolean_ref().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using the condition directly: `(*value.get_as_ref()).get_boolean_ref().unwrap()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/compiler.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | return !self.had_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 76 - return !self.had_error; [INFO] [stdout] 76 + !self.had_error [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/compiler.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | return !self.had_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 76 - return !self.had_error; [INFO] [stdout] 76 + !self.had_error [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/compiler.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | (&self.current_compiler.locals[(count - 1) as usize]).depth > self.current_compiler.scope_depth as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.current_compiler.locals[(count - 1) as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/compiler.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | (&self.current_compiler.locals[(count - 1) as usize]).depth > self.current_compiler.scope_depth as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.current_compiler.locals[(count - 1) as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/compiler.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | return *self.current.get_type() == token_kind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 229 - return *self.current.get_type() == token_kind; [INFO] [stdout] 229 + *self.current.get_type() == token_kind [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/compiler.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | fn block(&mut self) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/compiler.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | return *self.current.get_type() == token_kind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 229 - return *self.current.get_type() == token_kind; [INFO] [stdout] 229 + *self.current.get_type() == token_kind [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/compiler.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | fn block(&mut self) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/vm.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | disassemble_chunk(&self.chunk.unwrap(), "test chunk"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.chunk.unwrap()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/vm.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | disassemble_chunk(&self.chunk.unwrap(), "test chunk"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.chunk.unwrap()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `COMMA` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, COMMA, DOT, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Comma` [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 `COMMA` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, COMMA, DOT, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Comma` [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 `DOT` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, COMMA, DOT, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Dot` [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 `DOT` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, COMMA, DOT, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Dot` [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/scanner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [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 `SLASH` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [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 `STAR` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Star` [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/scanner.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [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/scanner.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [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 `SEMICOLON` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [INFO] [stdout] | ^^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Semicolon` [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 `NOT` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | NOT, NOT_EQUAL, LESS, LESS_EQUAL, EQUAL, EQUAL_EQUAL, GREATER, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Not` [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 `LESS` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | NOT, NOT_EQUAL, LESS, LESS_EQUAL, EQUAL, EQUAL_EQUAL, GREATER, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Less` [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 `EQUAL` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | NOT, NOT_EQUAL, LESS, LESS_EQUAL, EQUAL, EQUAL_EQUAL, GREATER, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Equal` [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 `GREATER` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | NOT, NOT_EQUAL, LESS, LESS_EQUAL, EQUAL, EQUAL_EQUAL, GREATER, [INFO] [stdout] | ^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Greater` [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 `IDENTIFIER` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | IDENTIFIER, STRING, NUMBER, [INFO] [stdout] | ^^^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Identifier` [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/scanner.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | IDENTIFIER, STRING, NUMBER, [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 `NUMBER` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | IDENTIFIER, STRING, NUMBER, [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 `TRUE` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `True` [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 `FALSE` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `False` [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 `AND` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `And` [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 `NIL` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Nil` [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/scanner.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [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 `FOR` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `For` [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 `CLASS` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Class` [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 `ELSE` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Else` [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 `RETURN` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Return` [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 `VAR` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Var` [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 `SUPER` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Super` [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 `THIS` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `This` [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 `FUN` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Fun` [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/scanner.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [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 `EOF` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | EOF, ERROR [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] [INFO] [stdout] [INFO] [stdout] warning: name `ERROR` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | EOF, ERROR [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Error` [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 `STAR` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Star` [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/scanner.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [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/scanner.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [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 `SEMICOLON` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | SLASH, STAR, PLUS, MINUS, SEMICOLON, [INFO] [stdout] | ^^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Semicolon` [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 `NOT` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | NOT, NOT_EQUAL, LESS, LESS_EQUAL, EQUAL, EQUAL_EQUAL, GREATER, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Not` [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 `LESS` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | NOT, NOT_EQUAL, LESS, LESS_EQUAL, EQUAL, EQUAL_EQUAL, GREATER, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Less` [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 `EQUAL` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | NOT, NOT_EQUAL, LESS, LESS_EQUAL, EQUAL, EQUAL_EQUAL, GREATER, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Equal` [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 `GREATER` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | NOT, NOT_EQUAL, LESS, LESS_EQUAL, EQUAL, EQUAL_EQUAL, GREATER, [INFO] [stdout] | ^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Greater` [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 `IDENTIFIER` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | IDENTIFIER, STRING, NUMBER, [INFO] [stdout] | ^^^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Identifier` [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/scanner.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | IDENTIFIER, STRING, NUMBER, [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 `NUMBER` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | IDENTIFIER, STRING, NUMBER, [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 `TRUE` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `True` [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 `FALSE` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `False` [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 `AND` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `And` [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 `NIL` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Nil` [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/scanner.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [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 `FOR` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `For` [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 `CLASS` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | TRUE, FALSE, AND, OR, NIL, WHILE, FOR, CLASS, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Class` [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 `ELSE` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Else` [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 `RETURN` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Return` [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 `VAR` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Var` [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 `SUPER` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Super` [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 `THIS` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `This` [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 `FUN` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Fun` [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/scanner.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | IF, ELSE, RETURN, VAR, SUPER, THIS, FUN, PRINT, [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 `EOF` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | EOF, ERROR [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] [INFO] [stdout] [INFO] [stdout] warning: name `ERROR` contains a capitalized acronym [INFO] [stdout] --> src/scanner.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | EOF, ERROR [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Error` [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: this boolean expression can be simplified [INFO] [stdout] --> src/scanner.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | if !(self.content.chars().nth(self.current ).unwrap() == expected) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(self.content.chars().nth(self.current ).unwrap() != expected)` [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] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/scanner.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | return true; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 175 - return true; [INFO] [stdout] 175 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/scanner.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | if !(self.content.chars().nth(self.current ).unwrap() == expected) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(self.content.chars().nth(self.current ).unwrap() != expected)` [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] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/scanner.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | return true; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 175 - return true; [INFO] [stdout] 175 + true [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/scanner.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | while !self.is_at_end() && !(self.peek_() == '\n') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(self.peek_() != '\n')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/scanner.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | return self.content.chars().nth(self.current).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 205 - return self.content.chars().nth(self.current).unwrap(); [INFO] [stdout] 205 + self.content.chars().nth(self.current).unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/scanner.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | while !self.is_at_end() && !(self.peek_() == '\n') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(self.peek_() != '\n')` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/scanner.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | return self.content.chars().nth(self.current).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 205 - return self.content.chars().nth(self.current).unwrap(); [INFO] [stdout] 205 + self.content.chars().nth(self.current).unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/scanner.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | return self.content.chars().nth(self.current + 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 212 - return self.content.chars().nth(self.current + 1).unwrap(); [INFO] [stdout] 212 + self.content.chars().nth(self.current + 1).unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/scanner.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | return self.content.chars().nth(self.current + 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 212 - return self.content.chars().nth(self.current + 1).unwrap(); [INFO] [stdout] 212 + self.content.chars().nth(self.current + 1).unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/scanner.rs:230:15 [INFO] [stdout] | [INFO] [stdout] 230 | 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] = 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/scanner.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | if self.peek_() == '.' && self.peek_next_().is_digit(10) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.peek_next_().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/scanner.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | 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/scanner.rs:230:15 [INFO] [stdout] | [INFO] [stdout] 230 | 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] = 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/scanner.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | if self.peek_() == '.' && self.peek_next_().is_digit(10) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.peek_next_().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/scanner.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | 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: unneeded unit return type [INFO] [stdout] --> src/parser.rs:334:66 [INFO] [stdout] | [INFO] [stdout] 334 | fn parse_binary(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:334:66 [INFO] [stdout] | [INFO] [stdout] 334 | fn parse_binary(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `TokenType` which implements the `Copy` trait [INFO] [stdout] --> src/parser.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | let op = (*compiler.get_prev().get_type()).clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `(*compiler.get_prev().get_type())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `TokenType` which implements the `Copy` trait [INFO] [stdout] --> src/parser.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | let op = (*compiler.get_prev().get_type()).clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `(*compiler.get_prev().get_type())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:353:68 [INFO] [stdout] | [INFO] [stdout] 353 | fn parse_grouping(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:353:68 [INFO] [stdout] | [INFO] [stdout] 353 | fn parse_grouping(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:359:66 [INFO] [stdout] | [INFO] [stdout] 359 | fn parse_number(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:364:67 [INFO] [stdout] | [INFO] [stdout] 364 | fn parse_variable(compiler: &mut CompilerParser, can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Token<'_>` which implements the `Copy` trait [INFO] [stdout] --> src/parser.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 365 | let token_name = compiler.prev.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `compiler.prev` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:369:81 [INFO] [stdout] | [INFO] [stdout] 369 | fn named_variable(compiler: &mut CompilerParser, name: &Token, can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:359:66 [INFO] [stdout] | [INFO] [stdout] 359 | fn parse_number(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:364:67 [INFO] [stdout] | [INFO] [stdout] 364 | fn parse_variable(compiler: &mut CompilerParser, can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:389:65 [INFO] [stdout] | [INFO] [stdout] 389 | fn parse_unary(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Token<'_>` which implements the `Copy` trait [INFO] [stdout] --> src/parser.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 365 | let token_name = compiler.prev.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `compiler.prev` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:369:81 [INFO] [stdout] | [INFO] [stdout] 369 | fn named_variable(compiler: &mut CompilerParser, name: &Token, can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:389:65 [INFO] [stdout] | [INFO] [stdout] 389 | fn parse_unary(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:398:67 [INFO] [stdout] | [INFO] [stdout] 398 | fn parse_literal(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:398:67 [INFO] [stdout] | [INFO] [stdout] 398 | fn parse_literal(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:407:66 [INFO] [stdout] | [INFO] [stdout] 407 | fn parse_string(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/parser.rs:407:66 [INFO] [stdout] | [INFO] [stdout] 407 | fn parse_string(compiler: &mut CompilerParser, _can_assign: bool) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut ()`) to a reference type (`&T`) [INFO] [stdout] --> src/object.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mopafy!(Obj); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: `#[warn(clippy::transmute_ptr_to_ref)]` on by default [INFO] [stdout] = note: this warning originates in the macro `mopafy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut ()`) to a reference type (`&T`) [INFO] [stdout] --> src/object.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mopafy!(Obj); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: `#[warn(clippy::transmute_ptr_to_ref)]` on by default [INFO] [stdout] = note: this warning originates in the macro `mopafy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut ()`) to a reference type (`&mut T`) [INFO] [stdout] --> src/object.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mopafy!(Obj); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: this warning originates in the macro `mopafy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute from a pointer type (`*mut ()`) to a reference type (`&mut T`) [INFO] [stdout] --> src/object.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mopafy!(Obj); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stdout] = note: this warning originates in the macro `mopafy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_prev(&self) -> &Token { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_prev(&self) -> &Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compiler.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_prev(&self) -> &Token { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_prev(&self) -> &Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "ad62f9dd4e62636916a7c402ec8917c4e948336eb304522218bfb4c5dba41018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad62f9dd4e62636916a7c402ec8917c4e948336eb304522218bfb4c5dba41018", kill_on_drop: false }` [INFO] [stdout] ad62f9dd4e62636916a7c402ec8917c4e948336eb304522218bfb4c5dba41018