[INFO] cloning repository https://github.com/drakending/C_compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drakending/C_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakending%2FC_compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakending%2FC_compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d7e6a8b6440c5b91bce3e81991dc36c1b9855ac4
[INFO] checking drakending/C_compiler against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakending%2FC_compiler" "/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/drakending/C_compiler
[INFO] finished tweaking git repo https://github.com/drakending/C_compiler
[INFO] tweaked toml for git repo https://github.com/drakending/C_compiler written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/drakending/C_compiler on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/drakending/C_compiler 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://gitlab.redox-os.org/Jezza/termion.git`
[INFO] [stderr] warning: patch `termion v1.5.5 (https://gitlab.redox-os.org/Jezza/termion.git?branch=windows-support#9e35f915)` was not used in the crate graph
[INFO] [stderr] help: Check that the patched package version and available features are compatible
[INFO] [stderr]       with the dependency requirements. If the patch has a different version from
[INFO] [stderr]       what is locked in the Cargo.lock file, run `cargo update` to use the new
[INFO] [stderr]       version. This may also occur with an optional dependency that is not enabled.
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking drakending/C_compiler against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakending%2FC_compiler" "/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/drakending/C_compiler
[INFO] finished tweaking git repo https://github.com/drakending/C_compiler
[INFO] tweaked toml for git repo https://github.com/drakending/C_compiler written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/drakending/C_compiler on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/drakending/C_compiler 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: patch `termion v1.5.5 (https://gitlab.redox-os.org/Jezza/termion.git?branch=windows-support#9e35f915)` was not used in the crate graph
[INFO] [stderr] help: Check that the patched package version and available features are compatible
[INFO] [stderr]       with the dependency requirements. If the patch has a different version from
[INFO] [stderr]       what is locked in the Cargo.lock file, run `cargo update` to use the new
[INFO] [stderr]       version. This may also occur with an optional dependency that is not enabled.
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ddf466476b4623cf89b62ab3cd01ab89186e2a2a2afcd089b3866468394f5254
[INFO] running `Command { std: "docker" "start" "-a" "ddf466476b4623cf89b62ab3cd01ab89186e2a2a2afcd089b3866468394f5254", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ddf466476b4623cf89b62ab3cd01ab89186e2a2a2afcd089b3866468394f5254", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddf466476b4623cf89b62ab3cd01ab89186e2a2a2afcd089b3866468394f5254", kill_on_drop: false }`
[INFO] [stdout] ddf466476b4623cf89b62ab3cd01ab89186e2a2a2afcd089b3866468394f5254
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5eb3495c9f8926db743a53e125224954b695d1086bd9e1c35408b6794edaa3e
[INFO] running `Command { std: "docker" "start" "-a" "d5eb3495c9f8926db743a53e125224954b695d1086bd9e1c35408b6794edaa3e", kill_on_drop: false }`
[INFO] [stderr] warning: patch `termion v1.5.5 (https://gitlab.redox-os.org/Jezza/termion.git?branch=windows-support#9e35f915)` was not used in the crate graph
[INFO] [stderr] help: Check that the patched package version and available features are compatible
[INFO] [stderr]       with the dependency requirements. If the patch has a different version from
[INFO] [stderr]       what is locked in the Cargo.lock file, run `cargo update` to use the new
[INFO] [stderr]       version. This may also occur with an optional dependency that is not enabled.
[INFO] [stderr]     Checking compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env::var`
[INFO] [stdout]  --> src/ast/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::var;
[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: `write`
[INFO] [stdout]  --> src/ast/lexer.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{write, Debug, Display, Formatter};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ast/parser.rs:153:15
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if(current.kind==TokenKind::RightBrace) {
[INFO] [stdout]     |               ^                                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 153 -             if(current.kind==TokenKind::RightBrace) {
[INFO] [stdout] 153 +             if current.kind==TokenKind::RightBrace  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ast/parser.rs:167:15
[INFO] [stdout]     |
[INFO] [stdout] 167 |             if(current.kind!=TokenKind::Comma) {
[INFO] [stdout]     |               ^                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 167 -             if(current.kind!=TokenKind::Comma) {
[INFO] [stdout] 167 +             if current.kind!=TokenKind::Comma  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout]  --> src/ast/evaluator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::debug;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GrammarVartype`
[INFO] [stdout]  --> src/ast/evaluator.rs:3:147
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ression, ASTStatement, ASTVariableExpression, ASTVisitor, GrammarVartype, ASTAssignment, LeftValue};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ast/evaluator.rs:103:11
[INFO] [stdout]     |
[INFO] [stdout] 103 |         if(function.name=="main"){
[INFO] [stdout]     |           ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 103 -         if(function.name=="main"){
[INFO] [stdout] 103 +         if function.name=="main" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ast::statement::*`
[INFO] [stdout]  --> src/ast/visitor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::ast::statement::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/ast/expression.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ast::expression::ASTBinaryExpression`
[INFO] [stdout]  --> src/ast/progranunit.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::expression::ASTBinaryExpression;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{self,Read};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::var`
[INFO] [stdout]  --> src/ast/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::var;
[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: `write`
[INFO] [stdout]  --> src/ast/lexer.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{write, Debug, Display, Formatter};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ast/parser.rs:153:15
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if(current.kind==TokenKind::RightBrace) {
[INFO] [stdout]     |               ^                                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 153 -             if(current.kind==TokenKind::RightBrace) {
[INFO] [stdout] 153 +             if current.kind==TokenKind::RightBrace  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ast/parser.rs:167:15
[INFO] [stdout]     |
[INFO] [stdout] 167 |             if(current.kind!=TokenKind::Comma) {
[INFO] [stdout]     |               ^                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 167 -             if(current.kind!=TokenKind::Comma) {
[INFO] [stdout] 167 +             if current.kind!=TokenKind::Comma  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout]  --> src/ast/evaluator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::debug;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GrammarVartype`
[INFO] [stdout]  --> src/ast/evaluator.rs:3:147
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ression, ASTStatement, ASTVariableExpression, ASTVisitor, GrammarVartype, ASTAssignment, LeftValue};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ast/evaluator.rs:103:11
[INFO] [stdout]     |
[INFO] [stdout] 103 |         if(function.name=="main"){
[INFO] [stdout]     |           ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 103 -         if(function.name=="main"){
[INFO] [stdout] 103 +         if function.name=="main" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ast::statement::*`
[INFO] [stdout]  --> src/ast/visitor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::ast::statement::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/ast/expression.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ast::expression::ASTBinaryExpression`
[INFO] [stdout]  --> src/ast/progranunit.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::expression::ASTBinaryExpression;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{self,Read};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `kind` is never read
[INFO] [stdout]    --> src/ast/lexer.rs:149:28
[INFO] [stdout]     |
[INFO] [stdout] 149 |             let mut kind = TokenKind::Bad;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vartype`
[INFO] [stdout]   --> src/ast/parser.rs:72:32
[INFO] [stdout]    |
[INFO] [stdout] 72 |             TokenKind::VarType(vartype) =>{
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vartype`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ast/parser.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut function_name;
[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: unused variable: `span`
[INFO] [stdout]   --> src/ast/evaluator.rs:65:31
[INFO] [stdout]    |
[INFO] [stdout] 65 |     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: value assigned to `kind` is never read
[INFO] [stdout]    --> src/ast/lexer.rs:149:28
[INFO] [stdout]     |
[INFO] [stdout] 149 |             let mut kind = TokenKind::Bad;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `arguments` and `returntype` are never read
[INFO] [stdout]   --> src/ast/mod.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct GrammarFunctiontype{
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 41 |     pub arguments:Vec<GrammarVartype>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 42 |     pub returntype:GrammarVartype
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrammarFunctiontype` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ast/mod.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     Direct(lexer::VartypeKind),
[INFO] [stdout]    |     ------ ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrammarVartype` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 54 -     Direct(lexer::VartypeKind),
[INFO] [stdout] 54 +     Direct(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Ref` and `Function` are never constructed
[INFO] [stdout]   --> src/ast/mod.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub enum GrammarVartype{
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] 54 |     Direct(lexer::VartypeKind),
[INFO] [stdout] 55 |     Ref(Box<GrammarVartype>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 56 |     Function(Box<GrammarFunctiontype>)
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrammarVartype` 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: associated functions `Ref` and `Function` are never used
[INFO] [stdout]   --> src/ast/mod.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl GrammarVartype{
[INFO] [stdout]    | ------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn Ref(vartype:GrammarVartype) -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn Function(arguments:Vec<GrammarVartype>,returntype:GrammarVartype) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: it is impossible to refer to the associated function `Ref` because it is shadowed by this enum variant with the same name
[INFO] [stdout]   --> src/ast/mod.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     Ref(Box<GrammarVartype>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] note: it is impossible to refer to the associated function `Function` because it is shadowed by this enum variant with the same name
[INFO] [stdout]   --> src/ast/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Function(Box<GrammarFunctiontype>)
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `next_statement` and `consume_and_check` are never used
[INFO] [stdout]    --> src/ast/parser.rs:60:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  60 |     pub fn next_statement(&mut self) -> Option<ASTStatement>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     fn consume_and_check(&mut self,kind:TokenKind) -> &Token{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `value` is never used
[INFO] [stdout]   --> src/ast/expression.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl ASTNumberExpression {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn value(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token` is never read
[INFO] [stdout]   --> src/ast/expression.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct ASTBinaryOperator{
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 80 |     pub(crate) kind:ASTBinaryOperatorKind,
[INFO] [stdout] 81 |     token:Token,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTBinaryOperator` 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 `function_type` is never read
[INFO] [stdout]   --> src/ast/progranunit.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ASTFunction{
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 26 |     pub(crate) function_type:GrammarFunctiontype,
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTFunction` 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 `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: methods `report_warning` and `report_unexpected_token` are never used
[INFO] [stdout]   --> src/diagnostics/mod.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl DiagnosticBag{
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn report_warning(&mut self,message:String,span:TextSpan) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn report_unexpected_token(&mut self, expected: &TokenKind, token: &Token){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vartype`
[INFO] [stdout]   --> src/ast/parser.rs:72:32
[INFO] [stdout]    |
[INFO] [stdout] 72 |             TokenKind::VarType(vartype) =>{
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vartype`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ast/parser.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut function_name;
[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: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     file.read_to_string(&mut input);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = file.read_to_string(&mut input);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Ref` should have a snake case name
[INFO] [stdout]   --> src/ast/mod.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn Ref(vartype:GrammarVartype) -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier
[INFO] [stdout]    |
[INFO] [stdout] 62 -     pub fn Ref(vartype:GrammarVartype) -> Self{
[INFO] [stdout] 62 +     pub fn r#ref(vartype:GrammarVartype) -> Self{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Function` should have a snake case name
[INFO] [stdout]   --> src/ast/mod.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn Function(arguments:Vec<GrammarVartype>,returntype:GrammarVartype) -> Self {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]   --> src/ast/evaluator.rs:65:31
[INFO] [stdout]    |
[INFO] [stdout] 65 |     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: fields `arguments` and `returntype` are never read
[INFO] [stdout]   --> src/ast/mod.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct GrammarFunctiontype{
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 41 |     pub arguments:Vec<GrammarVartype>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 42 |     pub returntype:GrammarVartype
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrammarFunctiontype` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ast/mod.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     Direct(lexer::VartypeKind),
[INFO] [stdout]    |     ------ ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrammarVartype` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 54 -     Direct(lexer::VartypeKind),
[INFO] [stdout] 54 +     Direct(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Ref` and `Function` are never constructed
[INFO] [stdout]   --> src/ast/mod.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub enum GrammarVartype{
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] 54 |     Direct(lexer::VartypeKind),
[INFO] [stdout] 55 |     Ref(Box<GrammarVartype>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 56 |     Function(Box<GrammarFunctiontype>)
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrammarVartype` 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: associated functions `Ref` and `Function` are never used
[INFO] [stdout]   --> src/ast/mod.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl GrammarVartype{
[INFO] [stdout]    | ------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn Ref(vartype:GrammarVartype) -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn Function(arguments:Vec<GrammarVartype>,returntype:GrammarVartype) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: it is impossible to refer to the associated function `Ref` because it is shadowed by this enum variant with the same name
[INFO] [stdout]   --> src/ast/mod.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     Ref(Box<GrammarVartype>),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] note: it is impossible to refer to the associated function `Function` because it is shadowed by this enum variant with the same name
[INFO] [stdout]   --> src/ast/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Function(Box<GrammarFunctiontype>)
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `next_statement` and `consume_and_check` are never used
[INFO] [stdout]    --> src/ast/parser.rs:60:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  60 |     pub fn next_statement(&mut self) -> Option<ASTStatement>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     fn consume_and_check(&mut self,kind:TokenKind) -> &Token{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `value` is never used
[INFO] [stdout]   --> src/ast/expression.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl ASTNumberExpression {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn value(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `token` is never read
[INFO] [stdout]   --> src/ast/expression.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct ASTBinaryOperator{
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 80 |     pub(crate) kind:ASTBinaryOperatorKind,
[INFO] [stdout] 81 |     token:Token,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTBinaryOperator` 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 `function_type` is never read
[INFO] [stdout]   --> src/ast/progranunit.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ASTFunction{
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 26 |     pub(crate) function_type:GrammarFunctiontype,
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTFunction` 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 `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: methods `report_warning` and `report_unexpected_token` are never used
[INFO] [stdout]   --> src/diagnostics/mod.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl DiagnosticBag{
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn report_warning(&mut self,message:String,span:TextSpan) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn report_unexpected_token(&mut self, expected: &TokenKind, token: &Token){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     file.read_to_string(&mut input);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = file.read_to_string(&mut input);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Ref` should have a snake case name
[INFO] [stdout]   --> src/ast/mod.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn Ref(vartype:GrammarVartype) -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier
[INFO] [stdout]    |
[INFO] [stdout] 62 -     pub fn Ref(vartype:GrammarVartype) -> Self{
[INFO] [stdout] 62 +     pub fn r#ref(vartype:GrammarVartype) -> Self{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Function` should have a snake case name
[INFO] [stdout]   --> src/ast/mod.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn Function(arguments:Vec<GrammarVartype>,returntype:GrammarVartype) -> Self {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "d5eb3495c9f8926db743a53e125224954b695d1086bd9e1c35408b6794edaa3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5eb3495c9f8926db743a53e125224954b695d1086bd9e1c35408b6794edaa3e", kill_on_drop: false }`
[INFO] [stdout] d5eb3495c9f8926db743a53e125224954b695d1086bd9e1c35408b6794edaa3e
