[INFO] cloning repository https://github.com/prithivirajmurugan/custom-lang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prithivirajmurugan/custom-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fcustom-lang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fcustom-lang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a71ecb668ff7328d328d2a3740ee833285037a1c
[INFO] checking prithivirajmurugan/custom-lang against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprithivirajmurugan%2Fcustom-lang" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/prithivirajmurugan/custom-lang
[INFO] finished tweaking git repo https://github.com/prithivirajmurugan/custom-lang
[INFO] tweaked toml for git repo https://github.com/prithivirajmurugan/custom-lang written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/prithivirajmurugan/custom-lang on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/prithivirajmurugan/custom-lang 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded termion v4.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e46360fb39fc7eb05fe8259891d21e96423100b257a270ee539cc3c03ca4c0fd
[INFO] running `Command { std: "docker" "start" "e46360fb39fc7eb05fe8259891d21e96423100b257a270ee539cc3c03ca4c0fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e46360fb39fc7eb05fe8259891d21e96423100b257a270ee539cc3c03ca4c0fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e46360fb39fc7eb05fe8259891d21e96423100b257a270ee539cc3c03ca4c0fd" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e46360fb39fc7eb05fe8259891d21e96423100b257a270ee539cc3c03ca4c0fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e46360fb39fc7eb05fe8259891d21e96423100b257a270ee539cc3c03ca4c0fd" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking termion v4.0.2
[INFO] [stderr]     Checking custom-lang-compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/diagnostics/printer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::format;
[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: `std::fmt::format`
[INFO] [stdout]  --> src/diagnostics/printer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::format;
[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: `span`
[INFO] [stdout]   --> src/ast/evaluator.rs:42:31
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn visit_error(&mut self, span: &TextSpan) {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `kind` is never read
[INFO] [stdout]    --> src/ast/lexer.rs:96:28
[INFO] [stdout]     |
[INFO] [stdout]  96 |             let mut kind = TokenKind::Bad;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 110 |                 kind = self.consume_punctuation();
[INFO] [stdout]     |                 --------------------------------- `kind` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> src/main.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn visit_number_expression(&mut self, number: &ASTNumberExpression) {}
[INFO] [stdout]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]   --> src/main.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn visit_error(&mut self, span: &TextSpan) {}
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indent` is never read
[INFO] [stdout]   --> src/ast/mod.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct ASTPrinter {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 92 |     indent: usize,
[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 `LEVEL_INDENT` is never used
[INFO] [stdout]   --> src/ast/mod.rs:96:7
[INFO] [stdout]    |
[INFO] [stdout] 96 | const LEVEL_INDENT: usize = 2;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `add_newline` and `new` are never used
[INFO] [stdout]    --> src/ast/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl ASTPrinter {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn add_newline(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `identifier` is never used
[INFO] [stdout]    --> src/ast/mod.rs:264:12
[INFO] [stdout]     |
[INFO] [stdout] 263 | impl ASTVariableExpression {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] 264 |     pub fn identifier(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Warning` is never constructed
[INFO] [stdout]  --> src/diagnostics/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum DiagnosticKind {
[INFO] [stdout]   |          -------------- variant in this enum
[INFO] [stdout] 8 |     Error,
[INFO] [stdout] 9 |     Warning,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout]   --> src/diagnostics/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Diagnostic {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub kind: DiagnosticKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `report_warning` is never used
[INFO] [stdout]   --> src/diagnostics/mod.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl DiagnosticsBag {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn report_warning(&mut self, message: String, span: TextSpan) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]   --> src/ast/evaluator.rs:42:31
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn visit_error(&mut self, span: &TextSpan) {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `kind` is never read
[INFO] [stdout]    --> src/ast/lexer.rs:96:28
[INFO] [stdout]     |
[INFO] [stdout]  96 |             let mut kind = TokenKind::Bad;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 110 |                 kind = self.consume_punctuation();
[INFO] [stdout]     |                 --------------------------------- `kind` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> src/main.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn visit_number_expression(&mut self, number: &ASTNumberExpression) {}
[INFO] [stdout]    |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]   --> src/main.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn visit_error(&mut self, span: &TextSpan) {}
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indent` is never read
[INFO] [stdout]   --> src/ast/mod.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct ASTPrinter {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 92 |     indent: usize,
[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 `LEVEL_INDENT` is never used
[INFO] [stdout]   --> src/ast/mod.rs:96:7
[INFO] [stdout]    |
[INFO] [stdout] 96 | const LEVEL_INDENT: usize = 2;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `add_newline` and `new` are never used
[INFO] [stdout]    --> src/ast/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl ASTPrinter {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn add_newline(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `identifier` is never used
[INFO] [stdout]    --> src/ast/mod.rs:264:12
[INFO] [stdout]     |
[INFO] [stdout] 263 | impl ASTVariableExpression {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] 264 |     pub fn identifier(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Warning` is never constructed
[INFO] [stdout]  --> src/diagnostics/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum DiagnosticKind {
[INFO] [stdout]   |          -------------- variant in this enum
[INFO] [stdout] 8 |     Error,
[INFO] [stdout] 9 |     Warning,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout]   --> src/diagnostics/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Diagnostic {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub kind: DiagnosticKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `report_warning` is never used
[INFO] [stdout]   --> src/diagnostics/mod.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl DiagnosticsBag {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn report_warning(&mut self, message: String, span: TextSpan) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s
[INFO] running `Command { std: "docker" "inspect" "e46360fb39fc7eb05fe8259891d21e96423100b257a270ee539cc3c03ca4c0fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e46360fb39fc7eb05fe8259891d21e96423100b257a270ee539cc3c03ca4c0fd", kill_on_drop: false }`
[INFO] [stdout] e46360fb39fc7eb05fe8259891d21e96423100b257a270ee539cc3c03ca4c0fd
