[INFO] cloning repository https://github.com/smacpher/rusty_monkey
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smacpher/rusty_monkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmacpher%2Frusty_monkey", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmacpher%2Frusty_monkey'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c1b181e9e00918e4ca1662eaf5ee2b6725981e64
[INFO] checking smacpher/rusty_monkey against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmacpher%2Frusty_monkey" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/smacpher/rusty_monkey
[INFO] finished tweaking git repo https://github.com/smacpher/rusty_monkey
[INFO] tweaked toml for git repo https://github.com/smacpher/rusty_monkey written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/smacpher/rusty_monkey on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/smacpher/rusty_monkey 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 56f94d2b9f3bd2803f231c5bed8b186474010c72a2892c62bbe50443537098d9
[INFO] running `Command { std: "docker" "start" "-a" "56f94d2b9f3bd2803f231c5bed8b186474010c72a2892c62bbe50443537098d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56f94d2b9f3bd2803f231c5bed8b186474010c72a2892c62bbe50443537098d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56f94d2b9f3bd2803f231c5bed8b186474010c72a2892c62bbe50443537098d9", kill_on_drop: false }`
[INFO] [stdout] 56f94d2b9f3bd2803f231c5bed8b186474010c72a2892c62bbe50443537098d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ca2edee92cc46ed455e2b1fd5f531d37cefd459a76e6d82f58b630a3c135e46e
[INFO] running `Command { std: "docker" "start" "-a" "ca2edee92cc46ed455e2b1fd5f531d37cefd459a76e6d82f58b630a3c135e46e", kill_on_drop: false }`
[INFO] [stderr]     Checking rusty_monkey v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name
[INFO] [stdout]   --> src/lexer.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     NOT_EQ,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `NotEq`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name
[INFO] [stdout]   --> src/lexer.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     NOT_EQ,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `NotEq`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Node` is never used
[INFO] [stdout]  --> src/ast.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Node {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]   --> src/ast.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Node {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 15 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Program` is never constructed
[INFO] [stdout]   --> src/ast.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Program {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `token_literal`, and `string` are never used
[INFO] [stdout]   --> src/ast.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Program {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 44 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Statement` is never used
[INFO] [stdout]   --> src/ast.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub enum Statement {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]   --> src/ast.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl Statement {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 77 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BlockStatement` is never constructed
[INFO] [stdout]   --> src/ast.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct BlockStatement {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl BlockStatement {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] 103 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LetStatement` is never constructed
[INFO] [stdout]    --> src/ast.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct LetStatement {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 125 | impl LetStatement {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] 126 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReturnStatement` is never constructed
[INFO] [stdout]    --> src/ast.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct ReturnStatement {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl ReturnStatement {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] 153 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExpressionStatement` is never constructed
[INFO] [stdout]    --> src/ast.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub struct ExpressionStatement {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl ExpressionStatement {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] 179 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expression` is never used
[INFO] [stdout]    --> src/ast.rs:190:10
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Expression {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:203:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl Expression {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] 203 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Identifier` is never constructed
[INFO] [stdout]    --> src/ast.rs:236:12
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub struct Identifier {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:242:12
[INFO] [stdout]     |
[INFO] [stdout] 241 | impl Identifier {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] 242 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntegerLiteral` is never constructed
[INFO] [stdout]    --> src/ast.rs:254:12
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub struct IntegerLiteral {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:260:12
[INFO] [stdout]     |
[INFO] [stdout] 259 | impl IntegerLiteral {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] 260 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BooleanLiteral` is never constructed
[INFO] [stdout]    --> src/ast.rs:272:12
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub struct BooleanLiteral {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:278:12
[INFO] [stdout]     |
[INFO] [stdout] 277 | impl BooleanLiteral {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] 278 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrefixExpression` is never constructed
[INFO] [stdout]    --> src/ast.rs:290:12
[INFO] [stdout]     |
[INFO] [stdout] 290 | pub struct PrefixExpression {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:301:12
[INFO] [stdout]     |
[INFO] [stdout] 300 | impl PrefixExpression {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] 301 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InfixExpression` is never constructed
[INFO] [stdout]    --> src/ast.rs:324:12
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub struct InfixExpression {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout] 335 | impl InfixExpression {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] 336 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IfExpression` is never constructed
[INFO] [stdout]    --> src/ast.rs:371:12
[INFO] [stdout]     |
[INFO] [stdout] 371 | pub struct IfExpression {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:379:12
[INFO] [stdout]     |
[INFO] [stdout] 378 | impl IfExpression {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] 379 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 383 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FunctionLiteral` is never constructed
[INFO] [stdout]    --> src/ast.rs:409:12
[INFO] [stdout]     |
[INFO] [stdout] 409 | pub struct FunctionLiteral {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:416:12
[INFO] [stdout]     |
[INFO] [stdout] 415 | impl FunctionLiteral {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] 416 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 420 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallExpression` is never constructed
[INFO] [stdout]    --> src/ast.rs:446:12
[INFO] [stdout]     |
[INFO] [stdout] 446 | pub struct CallExpression {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]    --> src/ast.rs:453:12
[INFO] [stdout]     |
[INFO] [stdout] 452 | impl CallExpression {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] 453 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 457 |     pub fn string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PrefixParseFn` is never used
[INFO] [stdout]  --> src/parser.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type PrefixParseFn = fn(&mut Parser<'_>) -> Option<ast::Expression>;
[INFO] [stdout]   |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `InfixParseFn` is never used
[INFO] [stdout]  --> src/parser.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type InfixParseFn = fn(&mut Parser<'_>, Option<ast::Expression>) -> Option<ast::Expression>;
[INFO] [stdout]   |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOWEST` is never used
[INFO] [stdout]   --> src/parser.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const LOWEST: u8 = 1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EQUALS` is never used
[INFO] [stdout]   --> src/parser.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const EQUALS: u8 = 2; // ==
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LESSGREATER` is never used
[INFO] [stdout]   --> src/parser.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const LESSGREATER: u8 = 3; // > or <
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUM` is never used
[INFO] [stdout]   --> src/parser.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const SUM: u8 = 4; // +
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRODUCT` is never used
[INFO] [stdout]   --> src/parser.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const PRODUCT: u8 = 5; // *
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PREFIX` is never used
[INFO] [stdout]   --> src/parser.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const PREFIX: u8 = 6; // -x or !x
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CALL` is never used
[INFO] [stdout]   --> src/parser.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CALL: u8 = 7; // foo(x)
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `token_precedence` is never used
[INFO] [stdout]   --> src/parser.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn token_precedence(token_type: lexer::TokenType) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]   --> src/parser.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct Parser<'a> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/parser.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl<'a> Parser<'a> {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  49 |     pub fn new(lexer: &'a mut lexer::Lexer) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn next_token(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     fn expect_peek(&mut self, token_type: lexer::TokenType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     fn peek_precedence(&mut self) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn current_precedence(&mut self) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     fn parse_integer_literal(&mut self) -> Option<ast::Expression> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     fn parse_boolean_literal(&mut self) -> Option<ast::Expression> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     fn parse_identifier(&mut self) -> Option<ast::Expression> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn parse_grouped_expression(&mut self) -> Option<ast::Expression> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     fn parse_if_expression(&mut self) -> Option<ast::Expression> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     fn parse_function_literal(&mut self) -> Option<ast::Expression> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 289 |     fn parse_function_parameters(&mut self) -> Option<Vec<ast::Identifier>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |     fn parse_prefix_expression(&mut self) -> Option<ast::Expression> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |     fn parse_infix_expression(&mut self, left: Option<ast::Expression>) -> Option<ast::Expression> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     fn parse_expression(&mut self, precedence: u8) -> Option<ast::Expression> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 405 |     fn parse_let_statement(&mut self) -> Option<ast::LetStatement> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 434 |     fn parse_return_statement(&mut self) -> Option<ast::ReturnStatement> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 449 |     fn parse_expression_statement(&mut self) -> Option<ast::ExpressionStatement> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 470 |     fn parse_block_statement(&mut self) -> ast::BlockStatement {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 488 |     fn parse_statement(&mut self) -> Option<ast::Statement> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 514 |     pub fn parse_program(&mut self) -> ast::Program {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Node` is never used
[INFO] [stdout]  --> src/ast.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Node {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `token_literal` and `string` are never used
[INFO] [stdout]   --> src/ast.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Node {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 15 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]   --> src/ast.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Program {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BlockStatement` is never constructed
[INFO] [stdout]   --> src/ast.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub enum Statement {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 70 |     BlockStatement(BlockStatement),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]   --> src/ast.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl Statement {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 77 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl BlockStatement {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] 103 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl ExpressionStatement {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] 179 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CallExpression` is never constructed
[INFO] [stdout]    --> src/ast.rs:199:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Expression {
[INFO] [stdout]     |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 199 |     CallExpression(CallExpression),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:203:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl Expression {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 203 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:242:12
[INFO] [stdout]     |
[INFO] [stdout] 241 | impl Identifier {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 242 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:260:12
[INFO] [stdout]     |
[INFO] [stdout] 259 | impl IntegerLiteral {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] 260 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:278:12
[INFO] [stdout]     |
[INFO] [stdout] 277 | impl BooleanLiteral {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] 278 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:301:12
[INFO] [stdout]     |
[INFO] [stdout] 300 | impl PrefixExpression {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] 301 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:336:12
[INFO] [stdout]     |
[INFO] [stdout] 335 | impl InfixExpression {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] 336 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:379:12
[INFO] [stdout]     |
[INFO] [stdout] 378 | impl IfExpression {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] 379 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:416:12
[INFO] [stdout]     |
[INFO] [stdout] 415 | impl FunctionLiteral {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] 416 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]    --> src/ast.rs:453:12
[INFO] [stdout]     |
[INFO] [stdout] 452 | impl CallExpression {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] 453 |     pub fn token_literal(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CALL` is never used
[INFO] [stdout]   --> src/parser.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CALL: u8 = 7; // foo(x)
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Boolean` is never constructed
[INFO] [stdout]   --> src/parser/tests.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 |     enum Operand {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout]  9 |         Integer(i64),
[INFO] [stdout] 10 |         Boolean(bool),
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Operand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "ca2edee92cc46ed455e2b1fd5f531d37cefd459a76e6d82f58b630a3c135e46e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca2edee92cc46ed455e2b1fd5f531d37cefd459a76e6d82f58b630a3c135e46e", kill_on_drop: false }`
[INFO] [stdout] ca2edee92cc46ed455e2b1fd5f531d37cefd459a76e6d82f58b630a3c135e46e
