[INFO] cloning repository https://github.com/Alessandro-car/acc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alessandro-car/acc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlessandro-car%2Facc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlessandro-car%2Facc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c4d4ddd787f411346891f8d9111ab737c3487aa9
[INFO] checking Alessandro-car/acc against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlessandro-car%2Facc" "/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/Alessandro-car/acc
[INFO] finished tweaking git repo https://github.com/Alessandro-car/acc
[INFO] tweaked toml for git repo https://github.com/Alessandro-car/acc written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alessandro-car/acc on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alessandro-car/acc 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bbc2095f4dde48a33ff623781621a2288cdc5fe86d155f5806b9b77b5fe353ed
[INFO] running `Command { std: "docker" "start" "-a" "bbc2095f4dde48a33ff623781621a2288cdc5fe86d155f5806b9b77b5fe353ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bbc2095f4dde48a33ff623781621a2288cdc5fe86d155f5806b9b77b5fe353ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbc2095f4dde48a33ff623781621a2288cdc5fe86d155f5806b9b77b5fe353ed", kill_on_drop: false }`
[INFO] [stdout] bbc2095f4dde48a33ff623781621a2288cdc5fe86d155f5806b9b77b5fe353ed
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 369e6f3a3489b9cfe7409867899645888b1271d2e061acd1706b50c7aa1bc443
[INFO] running `Command { std: "docker" "start" "-a" "369e6f3a3489b9cfe7409867899645888b1271d2e061acd1706b50c7aa1bc443", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling quasiquote-proc-macro v0.1.0
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling quasiquote v0.1.1
[INFO] [stderr]    Compiling unwrap-enum-proc-macro v0.1.0
[INFO] [stderr]     Checking unwrap-enum v0.1.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking acc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[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 imports: `Read`, `SeekFrom`, and `Seek`
[INFO] [stdout]  --> src/preprocessor.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, BufRead, Seek, SeekFrom, Write, Read};
[INFO] [stdout]   |                              ^^^^  ^^^^^^^^         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::FileExt`
[INFO] [stdout]  --> src/preprocessor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::unix::fs::FileExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Replacer`
[INFO] [stdout]  --> src/parser.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use regex::Replacer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]  --> src/parser.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use regex::Regex;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]   --> src/preprocessor.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(file_path: &str) -> Self {
[INFO] [stdout]    |                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[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/preprocessor.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut file_to_preprocess = File::open(file_path).expect("Should have been able to open the file");
[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 import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[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 imports: `Read`, `SeekFrom`, and `Seek`
[INFO] [stdout]  --> src/preprocessor.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, BufRead, Seek, SeekFrom, Write, Read};
[INFO] [stdout]   |                              ^^^^  ^^^^^^^^         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::FileExt`
[INFO] [stdout]  --> src/preprocessor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::unix::fs::FileExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Replacer`
[INFO] [stdout]  --> src/parser.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use regex::Replacer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]  --> src/parser.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use regex::Regex;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Preprocessor` is never constructed
[INFO] [stdout]  --> src/preprocessor.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Preprocessor {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_include_paths`, `process_line`, `handle_directive`, `include_file`, and `process_file` are never used
[INFO] [stdout]   --> src/preprocessor.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Preprocessor {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(file_path: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn add_include_paths<P: AsRef<Path>>(&mut self, path: P) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn process_line(&mut self, line: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn handle_directive(&mut self, line: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn include_file(&mut self, filename: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn process_file(&mut self, file_path: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `params`, `ret_type`, and `body` are never read
[INFO] [stdout]   --> src/parser.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  7 |     FuncDec {
[INFO] [stdout]    |     ------- fields in this variant
[INFO] [stdout]  8 |         name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  9 |         params: Vec<(String, String)>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 10 |         ret_type: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 11 |         body: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Block(Vec<ASTNode>),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 13 -     Block(Vec<ASTNode>),
[INFO] [stdout] 13 +     Block(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `var_type`, `name`, and `initializer` are never read
[INFO] [stdout]   --> src/parser.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     VarDec {
[INFO] [stdout]    |     ------ fields in this variant
[INFO] [stdout] 15 |         var_type: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |         name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 17 |         initializer: Option<Box<ASTNode>>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `operator` and `operand` are never read
[INFO] [stdout]   --> src/parser.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     UnaryOP {
[INFO] [stdout]    |     ------- fields in this variant
[INFO] [stdout] 20 |         operator: lexer::TokType,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 21 |         operand: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `operator`, `left`, and `right` are never read
[INFO] [stdout]   --> src/parser.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     BinaryOP {
[INFO] [stdout]    |     -------- fields in this variant
[INFO] [stdout] 24 |         operator: lexer::TokType,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 25 |         left: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 26 |         right: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Identifier(String),
[INFO] [stdout]    |     ---------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 28 -     Identifier(String),
[INFO] [stdout] 28 +     Identifier(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |     IntLiteral(i64),
[INFO] [stdout]    |     ---------- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 29 -     IntLiteral(i64),
[INFO] [stdout] 29 +     IntLiteral(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |     StringLiteral(String),
[INFO] [stdout]    |     ------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 30 -     StringLiteral(String),
[INFO] [stdout] 30 +     StringLiteral(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `left_term` and `right_term` are never read
[INFO] [stdout]   --> src/parser.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Assignment {
[INFO] [stdout]    |     ---------- fields in this variant
[INFO] [stdout] 32 |         left_term: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 33 |         right_term: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |     ReturnStmt(Box<ASTNode>),
[INFO] [stdout]    |     ---------- ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 35 -     ReturnStmt(Box<ASTNode>),
[INFO] [stdout] 35 +     ReturnStmt(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `condition`, `if_branch`, and `else_branch` are never read
[INFO] [stdout]   --> src/parser.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     IfStmt {
[INFO] [stdout]    |     ------ fields in this variant
[INFO] [stdout] 37 |         condition: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 38 |         if_branch: Box<Vec<ASTNode>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 39 |         else_branch: Option<Box<Vec<ASTNode>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `condition` and `body` are never read
[INFO] [stdout]   --> src/parser.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     WhileStmt {
[INFO] [stdout]    |     --------- fields in this variant
[INFO] [stdout] 42 |         condition: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 43 |         body: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `body` and `condition` are never read
[INFO] [stdout]   --> src/parser.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     DoWhileStmt {
[INFO] [stdout]    |     ----------- fields in this variant
[INFO] [stdout] 46 |         body: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 47 |         condition: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Program` is never constructed
[INFO] [stdout]  --> src/parser.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum ASTNode {
[INFO] [stdout]   |      ------- variant in this enum
[INFO] [stdout] 6 |     Program(Vec<ASTNode>),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/preprocessor.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         self.new_file.write(self.contents_to_write.as_bytes());
[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] 71 |         let _ = self.new_file.write(self.contents_to_write.as_bytes());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]   --> src/preprocessor.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(file_path: &str) -> Self {
[INFO] [stdout]    |                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[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/preprocessor.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut file_to_preprocess = File::open(file_path).expect("Should have been able to open the file");
[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: struct `Preprocessor` is never constructed
[INFO] [stdout]  --> src/preprocessor.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Preprocessor {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_include_paths`, `process_line`, `handle_directive`, `include_file`, and `process_file` are never used
[INFO] [stdout]   --> src/preprocessor.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Preprocessor {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(file_path: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn add_include_paths<P: AsRef<Path>>(&mut self, path: P) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn process_line(&mut self, line: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn handle_directive(&mut self, line: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn include_file(&mut self, filename: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn process_file(&mut self, file_path: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `params`, `ret_type`, and `body` are never read
[INFO] [stdout]   --> src/parser.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  7 |     FuncDec {
[INFO] [stdout]    |     ------- fields in this variant
[INFO] [stdout]  8 |         name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  9 |         params: Vec<(String, String)>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 10 |         ret_type: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 11 |         body: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Block(Vec<ASTNode>),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 13 -     Block(Vec<ASTNode>),
[INFO] [stdout] 13 +     Block(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `var_type`, `name`, and `initializer` are never read
[INFO] [stdout]   --> src/parser.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     VarDec {
[INFO] [stdout]    |     ------ fields in this variant
[INFO] [stdout] 15 |         var_type: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |         name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 17 |         initializer: Option<Box<ASTNode>>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `operator` and `operand` are never read
[INFO] [stdout]   --> src/parser.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     UnaryOP {
[INFO] [stdout]    |     ------- fields in this variant
[INFO] [stdout] 20 |         operator: lexer::TokType,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 21 |         operand: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `operator`, `left`, and `right` are never read
[INFO] [stdout]   --> src/parser.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     BinaryOP {
[INFO] [stdout]    |     -------- fields in this variant
[INFO] [stdout] 24 |         operator: lexer::TokType,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 25 |         left: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 26 |         right: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Identifier(String),
[INFO] [stdout]    |     ---------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 28 -     Identifier(String),
[INFO] [stdout] 28 +     Identifier(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |     IntLiteral(i64),
[INFO] [stdout]    |     ---------- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 29 -     IntLiteral(i64),
[INFO] [stdout] 29 +     IntLiteral(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |     StringLiteral(String),
[INFO] [stdout]    |     ------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 30 -     StringLiteral(String),
[INFO] [stdout] 30 +     StringLiteral(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `left_term` and `right_term` are never read
[INFO] [stdout]   --> src/parser.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Assignment {
[INFO] [stdout]    |     ---------- fields in this variant
[INFO] [stdout] 32 |         left_term: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 33 |         right_term: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/parser.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |     ReturnStmt(Box<ASTNode>),
[INFO] [stdout]    |     ---------- ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is 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] 35 -     ReturnStmt(Box<ASTNode>),
[INFO] [stdout] 35 +     ReturnStmt(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `condition`, `if_branch`, and `else_branch` are never read
[INFO] [stdout]   --> src/parser.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     IfStmt {
[INFO] [stdout]    |     ------ fields in this variant
[INFO] [stdout] 37 |         condition: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 38 |         if_branch: Box<Vec<ASTNode>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 39 |         else_branch: Option<Box<Vec<ASTNode>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `condition` and `body` are never read
[INFO] [stdout]   --> src/parser.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     WhileStmt {
[INFO] [stdout]    |     --------- fields in this variant
[INFO] [stdout] 42 |         condition: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 43 |         body: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `body` and `condition` are never read
[INFO] [stdout]   --> src/parser.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     DoWhileStmt {
[INFO] [stdout]    |     ----------- fields in this variant
[INFO] [stdout] 46 |         body: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 47 |         condition: Box<ASTNode>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Program` is never constructed
[INFO] [stdout]  --> src/parser.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum ASTNode {
[INFO] [stdout]   |      ------- variant in this enum
[INFO] [stdout] 6 |     Program(Vec<ASTNode>),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/preprocessor.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         self.new_file.write(self.contents_to_write.as_bytes());
[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] 71 |         let _ = self.new_file.write(self.contents_to_write.as_bytes());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.28s
[INFO] running `Command { std: "docker" "inspect" "369e6f3a3489b9cfe7409867899645888b1271d2e061acd1706b50c7aa1bc443", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "369e6f3a3489b9cfe7409867899645888b1271d2e061acd1706b50c7aa1bc443", kill_on_drop: false }`
[INFO] [stdout] 369e6f3a3489b9cfe7409867899645888b1271d2e061acd1706b50c7aa1bc443
