[INFO] cloning repository https://github.com/itsrainingmani/monkeylang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsrainingmani/monkeylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4ab39e047dfbc9b06bf585ce42dba89d94d1405f
[INFO] checking itsrainingmani/monkeylang against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsrainingmani%2Fmonkeylang" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/itsrainingmani/monkeylang
[INFO] finished tweaking git repo https://github.com/itsrainingmani/monkeylang
[INFO] tweaked toml for git repo https://github.com/itsrainingmani/monkeylang written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/itsrainingmani/monkeylang on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/itsrainingmani/monkeylang 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3efc28d5fb532940da07633ea2030d6ca8d0f0f5c718b7ac72a7b856d042e0a3
[INFO] running `Command { std: "docker" "start" "-a" "3efc28d5fb532940da07633ea2030d6ca8d0f0f5c718b7ac72a7b856d042e0a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3efc28d5fb532940da07633ea2030d6ca8d0f0f5c718b7ac72a7b856d042e0a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3efc28d5fb532940da07633ea2030d6ca8d0f0f5c718b7ac72a7b856d042e0a3", kill_on_drop: false }`
[INFO] [stdout] 3efc28d5fb532940da07633ea2030d6ca8d0f0f5c718b7ac72a7b856d042e0a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd4cf83852b0c537cc5c66e9099a42b8a1abd4d1e4facfd67062ae8ac7bd543b
[INFO] running `Command { std: "docker" "start" "-a" "fd4cf83852b0c537cc5c66e9099a42b8a1abd4d1e4facfd67062ae8ac7bd543b", kill_on_drop: false }`
[INFO] [stderr]     Checking monkey v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ast::*`
[INFO] [stdout]    --> src/lib.rs:346:17
[INFO] [stdout]     |
[INFO] [stdout] 346 |     use super::{ast::*, lexer::*, 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: unused import: `ast::*`
[INFO] [stdout]    --> src/lib.rs:346:17
[INFO] [stdout]     |
[INFO] [stdout] 346 |     use super::{ast::*, lexer::*, 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: unreachable expression
[INFO] [stdout]    --> src/lib.rs:287:13
[INFO] [stdout]     |
[INFO] [stdout] 265 | /             loop {
[INFO] [stdout] 266 | |                 let mut input = String::new();
[INFO] [stdout] 267 | |                 let mut lexer = Lexer::new(String::from("something"));
[INFO] [stdout] 268 | |                 print!("{} ", self.prompt);
[INFO] [stdout] ...   |
[INFO] [stdout] 286 | |             }
[INFO] [stdout]     | |_____________- any code following this expression is unreachable
[INFO] [stdout] 287 |               Ok(())
[INFO] [stdout]     |               ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:287:13
[INFO] [stdout]     |
[INFO] [stdout] 265 | /             loop {
[INFO] [stdout] 266 | |                 let mut input = String::new();
[INFO] [stdout] 267 | |                 let mut lexer = Lexer::new(String::from("something"));
[INFO] [stdout] 268 | |                 print!("{} ", self.prompt);
[INFO] [stdout] ...   |
[INFO] [stdout] 286 | |             }
[INFO] [stdout]     | |_____________- any code following this expression is unreachable
[INFO] [stdout] 287 |               Ok(())
[INFO] [stdout]     |               ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `value` are never read
[INFO] [stdout]    --> src/lib.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub struct LetStmt<'a> {
[INFO] [stdout]     |                ------- fields in this struct
[INFO] [stdout] 303 |         token: Token,          // the Token::LET token
[INFO] [stdout] 304 |         name: &'a Identifier,  // holds the identifier of the binding
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 305 |         value: dyn Expression, // the expression that produces a value
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]    --> src/lib.rs:318:9
[INFO] [stdout]     |
[INFO] [stdout] 316 |     pub struct Identifier {
[INFO] [stdout]     |                ---------- field in this struct
[INFO] [stdout] 317 |         token: Token,
[INFO] [stdout] 318 |         value: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lexer`, `cur_token`, and `peek_token` are never read
[INFO] [stdout]    --> src/lib.rs:349:9
[INFO] [stdout]     |
[INFO] [stdout] 348 |     pub struct Parser<'a> {
[INFO] [stdout]     |                ------ fields in this struct
[INFO] [stdout] 349 |         lexer: &'a mut Lexer,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 350 |
[INFO] [stdout] 351 |         cur_token: Token,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 352 |         peek_token: Token,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `next_token`, and `parse_program` are never used
[INFO] [stdout]    --> src/lib.rs:356:12
[INFO] [stdout]     |
[INFO] [stdout] 355 |     impl<'a> Parser<'a> {
[INFO] [stdout]     |     ------------------- associated items in this implementation
[INFO] [stdout] 356 |         fn new(lexer: &mut Lexer) -> Parser {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |         fn next_token(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 371 |         fn parse_program() {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:356:23
[INFO] [stdout]     |
[INFO] [stdout] 356 |         fn new(lexer: &mut Lexer) -> Parser {
[INFO] [stdout]     |                       ^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 356 |         fn new(lexer: &mut Lexer) -> Parser<'_> {
[INFO] [stdout]     |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `value` are never read
[INFO] [stdout]    --> src/lib.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub struct LetStmt<'a> {
[INFO] [stdout]     |                ------- fields in this struct
[INFO] [stdout] 303 |         token: Token,          // the Token::LET token
[INFO] [stdout] 304 |         name: &'a Identifier,  // holds the identifier of the binding
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 305 |         value: dyn Expression, // the expression that produces a value
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]    --> src/lib.rs:318:9
[INFO] [stdout]     |
[INFO] [stdout] 316 |     pub struct Identifier {
[INFO] [stdout]     |                ---------- field in this struct
[INFO] [stdout] 317 |         token: Token,
[INFO] [stdout] 318 |         value: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lexer`, `cur_token`, and `peek_token` are never read
[INFO] [stdout]    --> src/lib.rs:349:9
[INFO] [stdout]     |
[INFO] [stdout] 348 |     pub struct Parser<'a> {
[INFO] [stdout]     |                ------ fields in this struct
[INFO] [stdout] 349 |         lexer: &'a mut Lexer,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 350 |
[INFO] [stdout] 351 |         cur_token: Token,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 352 |         peek_token: Token,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `next_token`, and `parse_program` are never used
[INFO] [stdout]    --> src/lib.rs:356:12
[INFO] [stdout]     |
[INFO] [stdout] 355 |     impl<'a> Parser<'a> {
[INFO] [stdout]     |     ------------------- associated items in this implementation
[INFO] [stdout] 356 |         fn new(lexer: &mut Lexer) -> Parser {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |         fn next_token(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 371 |         fn parse_program() {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:356:23
[INFO] [stdout]     |
[INFO] [stdout] 356 |         fn new(lexer: &mut Lexer) -> Parser {
[INFO] [stdout]     |                       ^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 356 |         fn new(lexer: &mut Lexer) -> Parser<'_> {
[INFO] [stdout]     |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/lexer_test.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut lex = Lexer::new(String::from("hello  \n\r\t  world"));
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "fd4cf83852b0c537cc5c66e9099a42b8a1abd4d1e4facfd67062ae8ac7bd543b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd4cf83852b0c537cc5c66e9099a42b8a1abd4d1e4facfd67062ae8ac7bd543b", kill_on_drop: false }`
[INFO] [stdout] fd4cf83852b0c537cc5c66e9099a42b8a1abd4d1e4facfd67062ae8ac7bd543b
