[INFO] cloning repository https://github.com/Skarsh/esh
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skarsh/esh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkarsh%2Fesh", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkarsh%2Fesh'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3c904fc0d1dc5b4f16489b27be409dcd6e4ccc1b
[INFO] checking Skarsh/esh against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkarsh%2Fesh" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Skarsh/esh
[INFO] finished tweaking git repo https://github.com/Skarsh/esh
[INFO] tweaked toml for git repo https://github.com/Skarsh/esh written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Skarsh/esh on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Skarsh/esh 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c920e40cfc9ed8f4b9b988769db347f35d867df06fc80fe6fc304708bdc8d70c
[INFO] running `Command { std: "docker" "start" "-a" "c920e40cfc9ed8f4b9b988769db347f35d867df06fc80fe6fc304708bdc8d70c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c920e40cfc9ed8f4b9b988769db347f35d867df06fc80fe6fc304708bdc8d70c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c920e40cfc9ed8f4b9b988769db347f35d867df06fc80fe6fc304708bdc8d70c", kill_on_drop: false }`
[INFO] [stdout] c920e40cfc9ed8f4b9b988769db347f35d867df06fc80fe6fc304708bdc8d70c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6866b95d91da1570d5ba76328706f9824c3e8d86f4151b00326a511230c65f24
[INFO] running `Command { std: "docker" "start" "-a" "6866b95d91da1570d5ba76328706f9824c3e8d86f4151b00326a511230c65f24", kill_on_drop: false }`
[INFO] [stderr]     Checking esh v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: struct `Program` is never constructed
[INFO] [stdout]   --> src/ast/mod.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Program {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Node` is never used
[INFO] [stdout]  --> src/ast/mod.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait Node {
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Let` is never constructed
[INFO] [stdout]   --> src/ast/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum Statement {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 13 |     Let(LetStatement),
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Dummy` is never constructed
[INFO] [stdout]   --> src/ast/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Expression {
[INFO] [stdout]    |      ---------- variant in this enum
[INFO] [stdout] 24 |     Dummy,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `statements` is never read
[INFO] [stdout]   --> src/ast/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Program {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 34 |     statements: Vec<Statement>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `token_literal` are never used
[INFO] [stdout]   --> src/ast/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Program {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 38 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn token_literal(&self) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Parser` is never constructed
[INFO] [stdout]  --> src/ast/parser.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Parser {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lexer`, `cur_token`, and `peek_token` are never read
[INFO] [stdout]   --> src/ast/parser.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Parser {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  8 |     lexer: Lexer,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]  9 |     cur_token: Token,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 10 |     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/ast/parser.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Parser {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 14 |     fn new(lexer: Lexer) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn next_token(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn parse_program(&mut self) -> Program {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `esh` (lib) due to 2 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `crate::ast::Node`
[INFO] [stdout]   --> src/ast/parser.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use crate::ast::Node;
[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 variable: `parser`
[INFO] [stdout]   --> src/ast/parser.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let parser = Parser::new(lexer);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Node` is never used
[INFO] [stdout]  --> src/ast/mod.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait Node {
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `token_literal` is never used
[INFO] [stdout]   --> src/ast/mod.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Program {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn token_literal(&self) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse_program` is never used
[INFO] [stdout]   --> src/ast/parser.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Parser {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn parse_program(&mut self) -> Program {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6866b95d91da1570d5ba76328706f9824c3e8d86f4151b00326a511230c65f24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6866b95d91da1570d5ba76328706f9824c3e8d86f4151b00326a511230c65f24", kill_on_drop: false }`
[INFO] [stdout] 6866b95d91da1570d5ba76328706f9824c3e8d86f4151b00326a511230c65f24
