[INFO] cloning repository https://github.com/lkeix/rtog
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lkeix/rtog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flkeix%2Frtog", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flkeix%2Frtog'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f2b0c455752ec110c3d3a1ae89d4b73df3e183e8
[INFO] checking lkeix/rtog against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flkeix%2Frtog" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lkeix/rtog
[INFO] finished tweaking git repo https://github.com/lkeix/rtog
[INFO] tweaked toml for git repo https://github.com/lkeix/rtog written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lkeix/rtog on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lkeix/rtog 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ctor v0.1.22
[INFO] [stderr]   Downloaded speculate v0.1.2
[INFO] [stderr]   Downloaded rstest_macros v0.13.0
[INFO] [stderr]   Downloaded async-io v1.7.0
[INFO] [stderr]   Downloaded async-global-executor v2.2.0
[INFO] [stderr]   Downloaded semver v1.0.10
[INFO] [stderr]   Downloaded rstest v0.13.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa19255588bbce29edf0edee3eba81ae0dde559616afd67416f3f81b9803bbe6
[INFO] running `Command { std: "docker" "start" "-a" "aa19255588bbce29edf0edee3eba81ae0dde559616afd67416f3f81b9803bbe6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa19255588bbce29edf0edee3eba81ae0dde559616afd67416f3f81b9803bbe6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa19255588bbce29edf0edee3eba81ae0dde559616afd67416f3f81b9803bbe6", kill_on_drop: false }`
[INFO] [stdout] aa19255588bbce29edf0edee3eba81ae0dde559616afd67416f3f81b9803bbe6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 085e9a42928a3747bc75e03321acb1ed3b8b55a5f7d29302fa997e25b43b988b
[INFO] running `Command { std: "docker" "start" "-a" "085e9a42928a3747bc75e03321acb1ed3b8b55a5f7d29302fa997e25b43b988b", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.9
[INFO] [stderr]    Compiling semver v1.0.10
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking async-task v4.2.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.10
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking futures-lite v1.12.0
[INFO] [stderr]     Checking async-channel v1.6.1
[INFO] [stderr]    Compiling rstest_macros v0.13.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking blocking v1.2.0
[INFO] [stderr]     Checking async-executor v1.4.1
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]    Compiling speculate v0.1.2
[INFO] [stderr]     Checking rtog v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/token/token.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(FromPrimitive)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_NOT` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:128:3
[INFO] [stdout]     |
[INFO] [stdout] 128 |   AND_NOT,
[INFO] [stdout]     |   ^^^^^^^ help: convert the identifier to upper camel case: `AndNot`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ADD_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:129:3
[INFO] [stdout]     |
[INFO] [stdout] 129 |   ADD_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `AddAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SUB_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:130:3
[INFO] [stdout]     |
[INFO] [stdout] 130 |   SUB_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `SubAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `MUL_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 |   MUL_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `MulAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `QUO_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:132:3
[INFO] [stdout]     |
[INFO] [stdout] 132 |   QUO_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `QuoAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `REM_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:133:3
[INFO] [stdout]     |
[INFO] [stdout] 133 |   REM_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `RemAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:134:3
[INFO] [stdout]     |
[INFO] [stdout] 134 |   AND_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `AndAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:135:3
[INFO] [stdout]     |
[INFO] [stdout] 135 |   OR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^ help: convert the identifier to upper camel case: `OrAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `XOR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 |   XOR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `XorAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SHL_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:137:3
[INFO] [stdout]     |
[INFO] [stdout] 137 |   SHL_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `ShlAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SHR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:138:3
[INFO] [stdout]     |
[INFO] [stdout] 138 |   SHR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `ShrAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_NOT_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:139:3
[INFO] [stdout]     |
[INFO] [stdout] 139 |   AND_NOT_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AndNotAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `token::*`
[INFO] [stdout]  --> src/lib.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use token::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `keyword_num` is never used
[INFO] [stdout]    --> src/token/token.rs:105:7
[INFO] [stdout]     |
[INFO] [stdout] 105 | const keyword_num: usize = 25;
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `keyword_num` should have an upper case name
[INFO] [stdout]    --> src/token/token.rs:105:7
[INFO] [stdout]     |
[INFO] [stdout] 105 | const keyword_num: usize = 25;
[INFO] [stdout]     |       ^^^^^^^^^^^ help: convert the identifier to upper case: `KEYWORD_NUM`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/token/token.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(FromPrimitive)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TokenIndex`
[INFO] [stdout] 108 | pub enum TokenIndex {
[INFO] [stdout]     |          ---------- `TokenIndex` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `String` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:306:10
[INFO] [stdout]     |
[INFO] [stdout] 306 |   pub fn String(self) -> String {
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Precedence` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:318:10
[INFO] [stdout]     |
[INFO] [stdout] 318 |   pub fn Precedence(self) -> i64 {
[INFO] [stdout]     |          ^^^^^^^^^^ help: convert the identifier to snake case: `precedence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Lookup` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:356:10
[INFO] [stdout]     |
[INFO] [stdout] 356 |   pub fn Lookup(self, ident: String) -> i64 {
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to snake case: `lookup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/token/token.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(FromPrimitive)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_NOT` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:128:3
[INFO] [stdout]     |
[INFO] [stdout] 128 |   AND_NOT,
[INFO] [stdout]     |   ^^^^^^^ help: convert the identifier to upper camel case: `AndNot`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ADD_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:129:3
[INFO] [stdout]     |
[INFO] [stdout] 129 |   ADD_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `AddAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SUB_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:130:3
[INFO] [stdout]     |
[INFO] [stdout] 130 |   SUB_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `SubAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `MUL_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 |   MUL_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `MulAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `QUO_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:132:3
[INFO] [stdout]     |
[INFO] [stdout] 132 |   QUO_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `QuoAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `REM_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:133:3
[INFO] [stdout]     |
[INFO] [stdout] 133 |   REM_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `RemAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:134:3
[INFO] [stdout]     |
[INFO] [stdout] 134 |   AND_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `AndAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:135:3
[INFO] [stdout]     |
[INFO] [stdout] 135 |   OR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^ help: convert the identifier to upper camel case: `OrAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `XOR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 |   XOR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `XorAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SHL_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:137:3
[INFO] [stdout]     |
[INFO] [stdout] 137 |   SHL_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `ShlAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SHR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:138:3
[INFO] [stdout]     |
[INFO] [stdout] 138 |   SHR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `ShrAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_NOT_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:139:3
[INFO] [stdout]     |
[INFO] [stdout] 139 |   AND_NOT_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AndNotAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `keyword_num` is never used
[INFO] [stdout]    --> src/token/token.rs:105:7
[INFO] [stdout]     |
[INFO] [stdout] 105 | const keyword_num: usize = 25;
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenIndex` is never used
[INFO] [stdout]    --> src/token/token.rs:108:10
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub enum TokenIndex {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]    --> src/token/token.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub struct Token {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/token/token.rs:204:10
[INFO] [stdout]     |
[INFO] [stdout] 203 | impl Token {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] 204 |   pub fn new(self) -> Self {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |   pub fn String(self) -> String {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |   pub fn Precedence(self) -> i64 {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |   pub fn Lookup(self, ident: String) -> i64 {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |   pub fn is_literal(self) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 382 |   pub fn is_operator(self) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 396 |   pub fn is_keyword(self) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EOF` is never used
[INFO] [stdout]  --> src/token/token.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |   pub const EOF: &str = "EOF";
[INFO] [stdout]   |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COMMENT` is never used
[INFO] [stdout]  --> src/token/token.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |   pub const COMMENT: &str = "COMMENT";
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IDENT` is never used
[INFO] [stdout]   --> src/token/token.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |   pub const IDENT: &str = "IDENT";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INT` is never used
[INFO] [stdout]   --> src/token/token.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |   pub const INT: &str = "INT";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLOAT` is never used
[INFO] [stdout]   --> src/token/token.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |   pub const FLOAT: &str = "FLOAT";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IMAG` is never used
[INFO] [stdout]   --> src/token/token.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |   pub const IMAG: &str = "IMAG";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHAR` is never used
[INFO] [stdout]   --> src/token/token.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |   pub const CHAR: &str = "CHAR";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STRING` is never used
[INFO] [stdout]   --> src/token/token.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |   pub const STRING: &str = "STRING";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ADD` is never used
[INFO] [stdout]   --> src/token/token.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |   pub const ADD: &str = "+";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUB` is never used
[INFO] [stdout]   --> src/token/token.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |   pub const SUB: &str = "-";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MUL` is never used
[INFO] [stdout]   --> src/token/token.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |   pub const MUL: &str = "*";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUO` is never used
[INFO] [stdout]   --> src/token/token.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |   pub const QUO: &str = "/";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REM` is never used
[INFO] [stdout]   --> src/token/token.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |   pub const REM: &str = "%";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AND` is never used
[INFO] [stdout]   --> src/token/token.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |   pub const AND: &str = "&";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OR` is never used
[INFO] [stdout]   --> src/token/token.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |   pub const OR: &str = "|";
[INFO] [stdout]    |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR` is never used
[INFO] [stdout]   --> src/token/token.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |   pub const XOR: &str = "^";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SHL` is never used
[INFO] [stdout]   --> src/token/token.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub const SHL: &str = "<<";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SHR` is never used
[INFO] [stdout]   --> src/token/token.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |   pub const SHR: &str = ">>";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AND_NOT` is never used
[INFO] [stdout]   --> src/token/token.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |   pub const AND_NOT: &str = "&^";
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ADD_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub const ADD_ASSIGN: &str = "+=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUB_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |   pub const SUB_ASSIGN: &str = "-=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MUL_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |   pub const MUL_ASSIGN: &str = "*=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUO_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub const QUO_ASSIGN: &str = "/=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REM_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |   pub const REM_ASSIGN: &str = "%=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AND_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |   pub const AND_ASSIGN: &str = "&=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OR_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |   pub const OR_ASSIGN: &str = "|=";
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |   pub const XOR_ASSIGN: &str = "^=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SHL_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |   pub const SHL_ASSIGN: &str = "<<=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SHR_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |   pub const SHR_ASSIGN: &str = ">>=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AND_NOT_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |   pub const AND_NOT_ASSIGN: &str = "&^=";
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LAND` is never used
[INFO] [stdout]   --> src/token/token.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |   pub const LAND: &str = "&&";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOR` is never used
[INFO] [stdout]   --> src/token/token.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |   pub const LOR: &str = "||";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARROW` is never used
[INFO] [stdout]   --> src/token/token.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |   pub const ARROW: &str = "<-";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INC` is never used
[INFO] [stdout]   --> src/token/token.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |   pub const INC: &str = "++";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEC` is never used
[INFO] [stdout]   --> src/token/token.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |   pub const DEC: &str = "--";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EQL` is never used
[INFO] [stdout]   --> src/token/token.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |   pub const EQL: &str = "==";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LSS` is never used
[INFO] [stdout]   --> src/token/token.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |   pub const LSS: &str = "<";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GTR` is never used
[INFO] [stdout]   --> src/token/token.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |   pub const GTR: &str = ">";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |   pub const ASSIGN: &str = "=";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NOT` is never used
[INFO] [stdout]   --> src/token/token.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |   pub const NOT: &str = "!";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NEQ` is never used
[INFO] [stdout]   --> src/token/token.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |   pub const NEQ: &str = "!=";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LEQ` is never used
[INFO] [stdout]   --> src/token/token.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |   pub const LEQ: &str = "<=";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GEQ` is never used
[INFO] [stdout]   --> src/token/token.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |   pub const GEQ: &str = ">=";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFINE` is never used
[INFO] [stdout]   --> src/token/token.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |   pub const DEFINE: &str = ":=";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELLIPSIS` is never used
[INFO] [stdout]   --> src/token/token.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |   pub const ELLIPSIS: &str = "...";
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LPAREN` is never used
[INFO] [stdout]   --> src/token/token.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |   pub const LPAREN: &str = "(";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LBRACK` is never used
[INFO] [stdout]   --> src/token/token.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |   pub const LBRACK: &str = "[";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LBRACE` is never used
[INFO] [stdout]   --> src/token/token.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |   pub const LBRACE: &str = "{";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COMMA` is never used
[INFO] [stdout]   --> src/token/token.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |   pub const COMMA: &str = ",";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PERIOD` is never used
[INFO] [stdout]   --> src/token/token.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |   pub const PERIOD: &str = ".";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RPAREN` is never used
[INFO] [stdout]   --> src/token/token.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |   pub const RPAREN: &str = ")";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RBRACK` is never used
[INFO] [stdout]   --> src/token/token.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |   pub const RBRACK: &str = "]";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RBRACE` is never used
[INFO] [stdout]   --> src/token/token.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |   pub const RBRACE: &str = "}";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SEMICOLON` is never used
[INFO] [stdout]   --> src/token/token.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |   pub const SEMICOLON: &str = ";";
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COLON` is never used
[INFO] [stdout]   --> src/token/token.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |   pub const COLON: &str = ":";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BREAK` is never used
[INFO] [stdout]   --> src/token/token.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |   pub const BREAK: &str = "break";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASE` is never used
[INFO] [stdout]   --> src/token/token.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |   pub const CASE: &str = "case";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHAN` is never used
[INFO] [stdout]   --> src/token/token.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |   pub const CHAN: &str = "chan";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONST` is never used
[INFO] [stdout]   --> src/token/token.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |   pub const CONST: &str = "const";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONTINUE` is never used
[INFO] [stdout]   --> src/token/token.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |   pub const CONTINUE: &str = "continue";
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULE` is never used
[INFO] [stdout]   --> src/token/token.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |   pub const DEFAULE: &str = "default";
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFER` is never used
[INFO] [stdout]   --> src/token/token.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |   pub const DEFER: &str = "defer";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELSE` is never used
[INFO] [stdout]   --> src/token/token.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |   pub const ELSE: &str = "else";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FALLTHROUGH` is never used
[INFO] [stdout]   --> src/token/token.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |   pub const FALLTHROUGH: &str = "fallthrough";
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FOR` is never used
[INFO] [stdout]   --> src/token/token.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |   pub const FOR: &str = "for";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNC` is never used
[INFO] [stdout]   --> src/token/token.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |   pub const FUNC: &str = "func";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GO` is never used
[INFO] [stdout]   --> src/token/token.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |   pub const GO: &str = "go";
[INFO] [stdout]    |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GOTO` is never used
[INFO] [stdout]   --> src/token/token.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |   pub const GOTO: &str = "goto";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IF` is never used
[INFO] [stdout]   --> src/token/token.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |   pub const IF: &str = "if";
[INFO] [stdout]    |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IMPORT` is never used
[INFO] [stdout]   --> src/token/token.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |   pub const IMPORT: &str = "import";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INTERFACE` is never used
[INFO] [stdout]   --> src/token/token.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |   pub const INTERFACE: &str = "interface";
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAP` is never used
[INFO] [stdout]   --> src/token/token.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |   pub const MAP: &str = "map";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PACKAGE` is never used
[INFO] [stdout]   --> src/token/token.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |   pub const PACKAGE: &str = "package";
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANGE` is never used
[INFO] [stdout]   --> src/token/token.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |   pub const RANGE: &str = "range";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RETURN` is never used
[INFO] [stdout]   --> src/token/token.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |   pub const RETURN: &str = "return";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SELECT` is never used
[INFO] [stdout]   --> src/token/token.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |   pub const SELECT: &str = "select";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STRUCT` is never used
[INFO] [stdout]   --> src/token/token.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |   pub const STRUCT: &str = "struct";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SWITCH` is never used
[INFO] [stdout]   --> src/token/token.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |   pub const SWITCH: &str = "switch";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE` is never used
[INFO] [stdout]    --> src/token/token.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |   pub const TYPE: &str = "type";
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VAR` is never used
[INFO] [stdout]    --> src/token/token.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |   pub const VAR: &str = "var";
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TILDE` is never used
[INFO] [stdout]    --> src/token/token.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub const TILDE: &str = "~";
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `keyword_num` should have an upper case name
[INFO] [stdout]    --> src/token/token.rs:105:7
[INFO] [stdout]     |
[INFO] [stdout] 105 | const keyword_num: usize = 25;
[INFO] [stdout]     |       ^^^^^^^^^^^ help: convert the identifier to upper case: `KEYWORD_NUM`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/token/token.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(FromPrimitive)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TokenIndex`
[INFO] [stdout] 108 | pub enum TokenIndex {
[INFO] [stdout]     |          ---------- `TokenIndex` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `String` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:306:10
[INFO] [stdout]     |
[INFO] [stdout] 306 |   pub fn String(self) -> String {
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Precedence` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:318:10
[INFO] [stdout]     |
[INFO] [stdout] 318 |   pub fn Precedence(self) -> i64 {
[INFO] [stdout]     |          ^^^^^^^^^^ help: convert the identifier to snake case: `precedence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Lookup` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:356:10
[INFO] [stdout]     |
[INFO] [stdout] 356 |   pub fn Lookup(self, ident: String) -> i64 {
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to snake case: `lookup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ctor v0.1.22
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]     Checking polling v2.2.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking async-io v1.7.0
[INFO] [stderr]     Checking async-global-executor v2.2.0
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking rstest v0.13.0
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/token/token.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(FromPrimitive)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_NOT` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:128:3
[INFO] [stdout]     |
[INFO] [stdout] 128 |   AND_NOT,
[INFO] [stdout]     |   ^^^^^^^ help: convert the identifier to upper camel case: `AndNot`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ADD_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:129:3
[INFO] [stdout]     |
[INFO] [stdout] 129 |   ADD_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `AddAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SUB_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:130:3
[INFO] [stdout]     |
[INFO] [stdout] 130 |   SUB_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `SubAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `MUL_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 |   MUL_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `MulAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `QUO_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:132:3
[INFO] [stdout]     |
[INFO] [stdout] 132 |   QUO_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `QuoAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `REM_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:133:3
[INFO] [stdout]     |
[INFO] [stdout] 133 |   REM_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `RemAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:134:3
[INFO] [stdout]     |
[INFO] [stdout] 134 |   AND_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `AndAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:135:3
[INFO] [stdout]     |
[INFO] [stdout] 135 |   OR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^ help: convert the identifier to upper camel case: `OrAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `XOR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 |   XOR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `XorAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SHL_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:137:3
[INFO] [stdout]     |
[INFO] [stdout] 137 |   SHL_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `ShlAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SHR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:138:3
[INFO] [stdout]     |
[INFO] [stdout] 138 |   SHR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `ShrAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_NOT_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:139:3
[INFO] [stdout]     |
[INFO] [stdout] 139 |   AND_NOT_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AndNotAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `token::*`
[INFO] [stdout]  --> src/lib.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use token::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/token/token.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(FromPrimitive)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_NOT` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:128:3
[INFO] [stdout]     |
[INFO] [stdout] 128 |   AND_NOT,
[INFO] [stdout]     |   ^^^^^^^ help: convert the identifier to upper camel case: `AndNot`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ADD_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:129:3
[INFO] [stdout]     |
[INFO] [stdout] 129 |   ADD_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `AddAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SUB_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:130:3
[INFO] [stdout]     |
[INFO] [stdout] 130 |   SUB_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `SubAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `MUL_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 |   MUL_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `MulAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `QUO_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:132:3
[INFO] [stdout]     |
[INFO] [stdout] 132 |   QUO_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `QuoAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `REM_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:133:3
[INFO] [stdout]     |
[INFO] [stdout] 133 |   REM_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `RemAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:134:3
[INFO] [stdout]     |
[INFO] [stdout] 134 |   AND_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `AndAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:135:3
[INFO] [stdout]     |
[INFO] [stdout] 135 |   OR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^ help: convert the identifier to upper camel case: `OrAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `XOR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 |   XOR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `XorAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SHL_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:137:3
[INFO] [stdout]     |
[INFO] [stdout] 137 |   SHL_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `ShlAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SHR_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:138:3
[INFO] [stdout]     |
[INFO] [stdout] 138 |   SHR_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^ help: convert the identifier to upper camel case: `ShrAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AND_NOT_ASSIGN` should have an upper camel case name
[INFO] [stdout]    --> src/token/token.rs:139:3
[INFO] [stdout]     |
[INFO] [stdout] 139 |   AND_NOT_ASSIGN,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AndNotAssign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `keyword_num` is never used
[INFO] [stdout]    --> src/token/token.rs:105:7
[INFO] [stdout]     |
[INFO] [stdout] 105 | const keyword_num: usize = 25;
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `keyword_num` should have an upper case name
[INFO] [stdout]    --> src/token/token.rs:105:7
[INFO] [stdout]     |
[INFO] [stdout] 105 | const keyword_num: usize = 25;
[INFO] [stdout]     |       ^^^^^^^^^^^ help: convert the identifier to upper case: `KEYWORD_NUM`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/token/token.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(FromPrimitive)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TokenIndex`
[INFO] [stdout] 108 | pub enum TokenIndex {
[INFO] [stdout]     |          ---------- `TokenIndex` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `String` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:306:10
[INFO] [stdout]     |
[INFO] [stdout] 306 |   pub fn String(self) -> String {
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Precedence` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:318:10
[INFO] [stdout]     |
[INFO] [stdout] 318 |   pub fn Precedence(self) -> i64 {
[INFO] [stdout]     |          ^^^^^^^^^^ help: convert the identifier to snake case: `precedence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Lookup` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:356:10
[INFO] [stdout]     |
[INFO] [stdout] 356 |   pub fn Lookup(self, ident: String) -> i64 {
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to snake case: `lookup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `keyword_num` is never used
[INFO] [stdout]    --> src/token/token.rs:105:7
[INFO] [stdout]     |
[INFO] [stdout] 105 | const keyword_num: usize = 25;
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TokenIndex` is never used
[INFO] [stdout]    --> src/token/token.rs:108:10
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub enum TokenIndex {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]    --> src/token/token.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub struct Token {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/token/token.rs:204:10
[INFO] [stdout]     |
[INFO] [stdout] 203 | impl Token {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] 204 |   pub fn new(self) -> Self {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |   pub fn String(self) -> String {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |   pub fn Precedence(self) -> i64 {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |   pub fn Lookup(self, ident: String) -> i64 {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |   pub fn is_literal(self) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 382 |   pub fn is_operator(self) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 396 |   pub fn is_keyword(self) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EOF` is never used
[INFO] [stdout]  --> src/token/token.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |   pub const EOF: &str = "EOF";
[INFO] [stdout]   |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COMMENT` is never used
[INFO] [stdout]  --> src/token/token.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |   pub const COMMENT: &str = "COMMENT";
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IDENT` is never used
[INFO] [stdout]   --> src/token/token.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |   pub const IDENT: &str = "IDENT";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INT` is never used
[INFO] [stdout]   --> src/token/token.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |   pub const INT: &str = "INT";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLOAT` is never used
[INFO] [stdout]   --> src/token/token.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |   pub const FLOAT: &str = "FLOAT";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IMAG` is never used
[INFO] [stdout]   --> src/token/token.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |   pub const IMAG: &str = "IMAG";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHAR` is never used
[INFO] [stdout]   --> src/token/token.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |   pub const CHAR: &str = "CHAR";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STRING` is never used
[INFO] [stdout]   --> src/token/token.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |   pub const STRING: &str = "STRING";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ADD` is never used
[INFO] [stdout]   --> src/token/token.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |   pub const ADD: &str = "+";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUB` is never used
[INFO] [stdout]   --> src/token/token.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |   pub const SUB: &str = "-";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MUL` is never used
[INFO] [stdout]   --> src/token/token.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |   pub const MUL: &str = "*";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUO` is never used
[INFO] [stdout]   --> src/token/token.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |   pub const QUO: &str = "/";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REM` is never used
[INFO] [stdout]   --> src/token/token.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |   pub const REM: &str = "%";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AND` is never used
[INFO] [stdout]   --> src/token/token.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |   pub const AND: &str = "&";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OR` is never used
[INFO] [stdout]   --> src/token/token.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |   pub const OR: &str = "|";
[INFO] [stdout]    |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR` is never used
[INFO] [stdout]   --> src/token/token.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |   pub const XOR: &str = "^";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SHL` is never used
[INFO] [stdout]   --> src/token/token.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub const SHL: &str = "<<";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SHR` is never used
[INFO] [stdout]   --> src/token/token.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |   pub const SHR: &str = ">>";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AND_NOT` is never used
[INFO] [stdout]   --> src/token/token.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |   pub const AND_NOT: &str = "&^";
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ADD_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub const ADD_ASSIGN: &str = "+=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUB_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |   pub const SUB_ASSIGN: &str = "-=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MUL_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |   pub const MUL_ASSIGN: &str = "*=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUO_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub const QUO_ASSIGN: &str = "/=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REM_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |   pub const REM_ASSIGN: &str = "%=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AND_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |   pub const AND_ASSIGN: &str = "&=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OR_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |   pub const OR_ASSIGN: &str = "|=";
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |   pub const XOR_ASSIGN: &str = "^=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SHL_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |   pub const SHL_ASSIGN: &str = "<<=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SHR_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |   pub const SHR_ASSIGN: &str = ">>=";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AND_NOT_ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |   pub const AND_NOT_ASSIGN: &str = "&^=";
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LAND` is never used
[INFO] [stdout]   --> src/token/token.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |   pub const LAND: &str = "&&";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOR` is never used
[INFO] [stdout]   --> src/token/token.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |   pub const LOR: &str = "||";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARROW` is never used
[INFO] [stdout]   --> src/token/token.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |   pub const ARROW: &str = "<-";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INC` is never used
[INFO] [stdout]   --> src/token/token.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |   pub const INC: &str = "++";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEC` is never used
[INFO] [stdout]   --> src/token/token.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |   pub const DEC: &str = "--";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EQL` is never used
[INFO] [stdout]   --> src/token/token.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |   pub const EQL: &str = "==";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LSS` is never used
[INFO] [stdout]   --> src/token/token.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |   pub const LSS: &str = "<";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GTR` is never used
[INFO] [stdout]   --> src/token/token.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |   pub const GTR: &str = ">";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ASSIGN` is never used
[INFO] [stdout]   --> src/token/token.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |   pub const ASSIGN: &str = "=";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NOT` is never used
[INFO] [stdout]   --> src/token/token.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |   pub const NOT: &str = "!";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NEQ` is never used
[INFO] [stdout]   --> src/token/token.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |   pub const NEQ: &str = "!=";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LEQ` is never used
[INFO] [stdout]   --> src/token/token.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |   pub const LEQ: &str = "<=";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GEQ` is never used
[INFO] [stdout]   --> src/token/token.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |   pub const GEQ: &str = ">=";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFINE` is never used
[INFO] [stdout]   --> src/token/token.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |   pub const DEFINE: &str = ":=";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELLIPSIS` is never used
[INFO] [stdout]   --> src/token/token.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |   pub const ELLIPSIS: &str = "...";
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LPAREN` is never used
[INFO] [stdout]   --> src/token/token.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |   pub const LPAREN: &str = "(";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LBRACK` is never used
[INFO] [stdout]   --> src/token/token.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |   pub const LBRACK: &str = "[";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LBRACE` is never used
[INFO] [stdout]   --> src/token/token.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |   pub const LBRACE: &str = "{";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COMMA` is never used
[INFO] [stdout]   --> src/token/token.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |   pub const COMMA: &str = ",";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PERIOD` is never used
[INFO] [stdout]   --> src/token/token.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |   pub const PERIOD: &str = ".";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RPAREN` is never used
[INFO] [stdout]   --> src/token/token.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |   pub const RPAREN: &str = ")";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RBRACK` is never used
[INFO] [stdout]   --> src/token/token.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |   pub const RBRACK: &str = "]";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RBRACE` is never used
[INFO] [stdout]   --> src/token/token.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |   pub const RBRACE: &str = "}";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SEMICOLON` is never used
[INFO] [stdout]   --> src/token/token.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |   pub const SEMICOLON: &str = ";";
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COLON` is never used
[INFO] [stdout]   --> src/token/token.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |   pub const COLON: &str = ":";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BREAK` is never used
[INFO] [stdout]   --> src/token/token.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |   pub const BREAK: &str = "break";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASE` is never used
[INFO] [stdout]   --> src/token/token.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |   pub const CASE: &str = "case";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHAN` is never used
[INFO] [stdout]   --> src/token/token.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |   pub const CHAN: &str = "chan";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONST` is never used
[INFO] [stdout]   --> src/token/token.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |   pub const CONST: &str = "const";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONTINUE` is never used
[INFO] [stdout]   --> src/token/token.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |   pub const CONTINUE: &str = "continue";
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULE` is never used
[INFO] [stdout]   --> src/token/token.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |   pub const DEFAULE: &str = "default";
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFER` is never used
[INFO] [stdout]   --> src/token/token.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |   pub const DEFER: &str = "defer";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELSE` is never used
[INFO] [stdout]   --> src/token/token.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |   pub const ELSE: &str = "else";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FALLTHROUGH` is never used
[INFO] [stdout]   --> src/token/token.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |   pub const FALLTHROUGH: &str = "fallthrough";
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FOR` is never used
[INFO] [stdout]   --> src/token/token.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |   pub const FOR: &str = "for";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNC` is never used
[INFO] [stdout]   --> src/token/token.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |   pub const FUNC: &str = "func";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GO` is never used
[INFO] [stdout]   --> src/token/token.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |   pub const GO: &str = "go";
[INFO] [stdout]    |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GOTO` is never used
[INFO] [stdout]   --> src/token/token.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |   pub const GOTO: &str = "goto";
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IF` is never used
[INFO] [stdout]   --> src/token/token.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |   pub const IF: &str = "if";
[INFO] [stdout]    |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IMPORT` is never used
[INFO] [stdout]   --> src/token/token.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |   pub const IMPORT: &str = "import";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INTERFACE` is never used
[INFO] [stdout]   --> src/token/token.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |   pub const INTERFACE: &str = "interface";
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAP` is never used
[INFO] [stdout]   --> src/token/token.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |   pub const MAP: &str = "map";
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PACKAGE` is never used
[INFO] [stdout]   --> src/token/token.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |   pub const PACKAGE: &str = "package";
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANGE` is never used
[INFO] [stdout]   --> src/token/token.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |   pub const RANGE: &str = "range";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RETURN` is never used
[INFO] [stdout]   --> src/token/token.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |   pub const RETURN: &str = "return";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SELECT` is never used
[INFO] [stdout]   --> src/token/token.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |   pub const SELECT: &str = "select";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STRUCT` is never used
[INFO] [stdout]   --> src/token/token.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |   pub const STRUCT: &str = "struct";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SWITCH` is never used
[INFO] [stdout]   --> src/token/token.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |   pub const SWITCH: &str = "switch";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE` is never used
[INFO] [stdout]    --> src/token/token.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |   pub const TYPE: &str = "type";
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VAR` is never used
[INFO] [stdout]    --> src/token/token.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |   pub const VAR: &str = "var";
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TILDE` is never used
[INFO] [stdout]    --> src/token/token.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |   pub const TILDE: &str = "~";
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `keyword_num` should have an upper case name
[INFO] [stdout]    --> src/token/token.rs:105:7
[INFO] [stdout]     |
[INFO] [stdout] 105 | const keyword_num: usize = 25;
[INFO] [stdout]     |       ^^^^^^^^^^^ help: convert the identifier to upper case: `KEYWORD_NUM`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/token/token.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(FromPrimitive)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TokenIndex`
[INFO] [stdout] 108 | pub enum TokenIndex {
[INFO] [stdout]     |          ---------- `TokenIndex` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `String` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:306:10
[INFO] [stdout]     |
[INFO] [stdout] 306 |   pub fn String(self) -> String {
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Precedence` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:318:10
[INFO] [stdout]     |
[INFO] [stdout] 318 |   pub fn Precedence(self) -> i64 {
[INFO] [stdout]     |          ^^^^^^^^^^ help: convert the identifier to snake case: `precedence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Lookup` should have a snake case name
[INFO] [stdout]    --> src/token/token.rs:356:10
[INFO] [stdout]     |
[INFO] [stdout] 356 |   pub fn Lookup(self, ident: String) -> i64 {
[INFO] [stdout]     |          ^^^^^^ help: convert the identifier to snake case: `lookup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/token_test.rs:251:11
[INFO] [stdout]     |
[INFO] [stdout] 251 |       let mut tkn: Token = Token{
[INFO] [stdout]     |           ----^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/token_test.rs:439:11
[INFO] [stdout]     |
[INFO] [stdout] 439 |       let mut tilde: i64 = 0;
[INFO] [stdout]     |           ----^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.90s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "085e9a42928a3747bc75e03321acb1ed3b8b55a5f7d29302fa997e25b43b988b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "085e9a42928a3747bc75e03321acb1ed3b8b55a5f7d29302fa997e25b43b988b", kill_on_drop: false }`
[INFO] [stdout] 085e9a42928a3747bc75e03321acb1ed3b8b55a5f7d29302fa997e25b43b988b
