[INFO] cloning repository https://github.com/pluveto/calc-compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pluveto/calc-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpluveto%2Fcalc-compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpluveto%2Fcalc-compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6a6e7e9703b81a1edb8b8c143fa4c33be1bdbba3
[INFO] checking pluveto/calc-compiler against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpluveto%2Fcalc-compiler" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pluveto/calc-compiler
[INFO] finished tweaking git repo https://github.com/pluveto/calc-compiler
[INFO] tweaked toml for git repo https://github.com/pluveto/calc-compiler written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pluveto/calc-compiler on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pluveto/calc-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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded id-arena v2.2.1
[INFO] [stderr]   Downloaded pest_meta v2.6.0
[INFO] [stderr]   Downloaded pest_generator v2.6.0
[INFO] [stderr]   Downloaded pest_derive v2.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d78385c732eea5669ffe2582887fff092f1d6db1d03f8394354ea343564c374c
[INFO] running `Command { std: "docker" "start" "-a" "d78385c732eea5669ffe2582887fff092f1d6db1d03f8394354ea343564c374c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d78385c732eea5669ffe2582887fff092f1d6db1d03f8394354ea343564c374c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d78385c732eea5669ffe2582887fff092f1d6db1d03f8394354ea343564c374c", kill_on_drop: false }`
[INFO] [stdout] d78385c732eea5669ffe2582887fff092f1d6db1d03f8394354ea343564c374c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4902e4cf6ea874d35aa554f701a5ac920112bfba4f1dc60af8b9a630f901bc44
[INFO] running `Command { std: "docker" "start" "-a" "4902e4cf6ea874d35aa554f701a5ac920112bfba4f1dc60af8b9a630f901bc44", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling ucd-trie v0.1.5
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]     Checking id-arena v2.2.1
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling pest v2.6.0
[INFO] [stderr]    Compiling pest_meta v2.6.0
[INFO] [stderr]    Compiling pest_generator v2.6.0
[INFO] [stderr]    Compiling pest_derive v2.6.0
[INFO] [stderr]     Checking calcc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fmt::format`
[INFO] [stdout]  --> src/ir.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, 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: `fmt::format`
[INFO] [stdout]  --> src/ir.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, 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: `name`
[INFO] [stdout]    --> src/ir.rs:115:28
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/ir.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/ir.rs:52:36
[INFO] [stdout]     |
[INFO] [stdout]  52 |             fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 | dummy_value_trait!(StoreInst);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `name` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/ir.rs:52:36
[INFO] [stdout]     |
[INFO] [stdout]  52 |             fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 | dummy_value_trait!(StoreInst);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `dummy_value_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/ir.rs:60:34
[INFO] [stdout]     |
[INFO] [stdout]  60 |             fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 154 | dummy_value_trait!(StoreInst);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `ty` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/ir.rs:60:34
[INFO] [stdout]     |
[INFO] [stdout]  60 |             fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 154 | dummy_value_trait!(StoreInst);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `dummy_value_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/ir.rs:52:36
[INFO] [stdout]     |
[INFO] [stdout]  52 |             fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 | dummy_value_trait!(PrintIntInst);
[INFO] [stdout]     | -------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `name` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/ir.rs:52:36
[INFO] [stdout]     |
[INFO] [stdout]  52 |             fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 | dummy_value_trait!(PrintIntInst);
[INFO] [stdout]     | -------------------------------- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `dummy_value_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/ir.rs:60:34
[INFO] [stdout]     |
[INFO] [stdout]  60 |             fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 171 | dummy_value_trait!(PrintIntInst);
[INFO] [stdout]     | -------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `ty` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/ir.rs:60:34
[INFO] [stdout]     |
[INFO] [stdout]  60 |             fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 171 | dummy_value_trait!(PrintIntInst);
[INFO] [stdout]     | -------------------------------- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `dummy_value_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/codegen.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |         for (name, id) in &self.global_variables {
[INFO] [stdout]    |                    ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/codegen.rs:103:32
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn emit_operand(value: &Value, context: &Context) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Void` is never constructed
[INFO] [stdout]   --> src/ir.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum IrType {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 12 |     Void,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IrType` 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: methods `set_name`, `ty`, and `set_ty` are never used
[INFO] [stdout]   --> src/ir.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait ValueTrait {
[INFO] [stdout]    |           ---------- methods in this trait
[INFO] [stdout] 17 |     fn name(&self) -> String;
[INFO] [stdout] 18 |     fn set_name(&mut self, name: String);
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 19 |     fn ty(&self) -> IrType;
[INFO] [stdout]    |        ^^
[INFO] [stdout] 20 |     fn set_ty(&mut self, ty: IrType);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ty` is never read
[INFO] [stdout]    --> src/ir.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout]  98 | pub struct GlobalValue {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout]  99 |     pub name: String,
[INFO] [stdout] 100 |     pub ty: IrType,
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GlobalValue` 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 `ty` is never read
[INFO] [stdout]    --> src/ir.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct LoadInst {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] 140 |     pub name: String,
[INFO] [stdout] 141 |     pub ty: IrType,
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LoadInst` 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 `ty` is never read
[INFO] [stdout]    --> src/ir.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub struct BinaryOperator {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 176 |     pub name: String,
[INFO] [stdout] 177 |     pub ty: IrType,
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BinaryOperator` 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 `AllocaInst` is never constructed
[INFO] [stdout]    --> src/ir.rs:203:5
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub enum InstructionValue {
[INFO] [stdout]     |          ---------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 203 |     AllocaInst(AllocaInst),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `InstructionValue` 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: struct `Env` is never constructed
[INFO] [stdout]  --> src/interpreter.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Env {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_mem`, and `set_mem` are never used
[INFO] [stdout]   --> src/interpreter.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Env {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout]  7 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn get_mem(&self) -> i64 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn set_mem(&mut self, val: i64) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interpret` is never used
[INFO] [stdout]   --> src/interpreter.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn interpret(tu: &TransUnit) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eval_expr` is never used
[INFO] [stdout]   --> src/interpreter.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn eval_expr(env: &mut Env, expr: &Expr) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eval_primary` is never used
[INFO] [stdout]   --> src/interpreter.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn eval_primary(env: &mut Env, expr: &PrimaryExpr) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eval_prefix` is never used
[INFO] [stdout]   --> src/interpreter.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn eval_prefix(env: &mut Env, expr: &PrefixExpr) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eval_infix` is never used
[INFO] [stdout]   --> src/interpreter.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn eval_infix(env: &mut Env, expr: &InfixExpr) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/ir.rs:115:28
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/ir.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/ir.rs:52:36
[INFO] [stdout]     |
[INFO] [stdout]  52 |             fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 | dummy_value_trait!(StoreInst);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `name` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/ir.rs:52:36
[INFO] [stdout]     |
[INFO] [stdout]  52 |             fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 | dummy_value_trait!(StoreInst);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `dummy_value_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/ir.rs:60:34
[INFO] [stdout]     |
[INFO] [stdout]  60 |             fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 154 | dummy_value_trait!(StoreInst);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `ty` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/ir.rs:60:34
[INFO] [stdout]     |
[INFO] [stdout]  60 |             fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 154 | dummy_value_trait!(StoreInst);
[INFO] [stdout]     | ----------------------------- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `dummy_value_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/ir.rs:52:36
[INFO] [stdout]     |
[INFO] [stdout]  52 |             fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 | dummy_value_trait!(PrintIntInst);
[INFO] [stdout]     | -------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `name` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/ir.rs:52:36
[INFO] [stdout]     |
[INFO] [stdout]  52 |             fn set_name(&mut self, name: String) {
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 | dummy_value_trait!(PrintIntInst);
[INFO] [stdout]     | -------------------------------- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `dummy_value_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/ir.rs:60:34
[INFO] [stdout]     |
[INFO] [stdout]  60 |             fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 171 | dummy_value_trait!(PrintIntInst);
[INFO] [stdout]     | -------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `ty` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/ir.rs:60:34
[INFO] [stdout]     |
[INFO] [stdout]  60 |             fn set_ty(&mut self, ty: IrType) {
[INFO] [stdout]     |                                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 171 | dummy_value_trait!(PrintIntInst);
[INFO] [stdout]     | -------------------------------- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `dummy_value_trait` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/codegen.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |         for (name, id) in &self.global_variables {
[INFO] [stdout]    |                    ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/codegen.rs:103:32
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn emit_operand(value: &Value, context: &Context) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Void` is never constructed
[INFO] [stdout]   --> src/ir.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum IrType {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 12 |     Void,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IrType` 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: methods `set_name`, `ty`, and `set_ty` are never used
[INFO] [stdout]   --> src/ir.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait ValueTrait {
[INFO] [stdout]    |           ---------- methods in this trait
[INFO] [stdout] 17 |     fn name(&self) -> String;
[INFO] [stdout] 18 |     fn set_name(&mut self, name: String);
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 19 |     fn ty(&self) -> IrType;
[INFO] [stdout]    |        ^^
[INFO] [stdout] 20 |     fn set_ty(&mut self, ty: IrType);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ty` is never read
[INFO] [stdout]    --> src/ir.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout]  98 | pub struct GlobalValue {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout]  99 |     pub name: String,
[INFO] [stdout] 100 |     pub ty: IrType,
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GlobalValue` 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 `ty` is never read
[INFO] [stdout]    --> src/ir.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct LoadInst {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] 140 |     pub name: String,
[INFO] [stdout] 141 |     pub ty: IrType,
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LoadInst` 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 `ty` is never read
[INFO] [stdout]    --> src/ir.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub struct BinaryOperator {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 176 |     pub name: String,
[INFO] [stdout] 177 |     pub ty: IrType,
[INFO] [stdout]     |         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BinaryOperator` 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 `AllocaInst` is never constructed
[INFO] [stdout]    --> src/ir.rs:203:5
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub enum InstructionValue {
[INFO] [stdout]     |          ---------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 203 |     AllocaInst(AllocaInst),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `InstructionValue` 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: struct `Env` is never constructed
[INFO] [stdout]  --> src/interpreter.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Env {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_mem`, and `set_mem` are never used
[INFO] [stdout]   --> src/interpreter.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Env {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout]  7 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn get_mem(&self) -> i64 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn set_mem(&mut self, val: i64) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interpret` is never used
[INFO] [stdout]   --> src/interpreter.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn interpret(tu: &TransUnit) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eval_expr` is never used
[INFO] [stdout]   --> src/interpreter.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn eval_expr(env: &mut Env, expr: &Expr) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eval_primary` is never used
[INFO] [stdout]   --> src/interpreter.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn eval_primary(env: &mut Env, expr: &PrimaryExpr) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eval_prefix` is never used
[INFO] [stdout]   --> src/interpreter.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn eval_prefix(env: &mut Env, expr: &PrefixExpr) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eval_infix` is never used
[INFO] [stdout]   --> src/interpreter.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn eval_infix(env: &mut Env, expr: &InfixExpr) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.10s
[INFO] running `Command { std: "docker" "inspect" "4902e4cf6ea874d35aa554f701a5ac920112bfba4f1dc60af8b9a630f901bc44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4902e4cf6ea874d35aa554f701a5ac920112bfba4f1dc60af8b9a630f901bc44", kill_on_drop: false }`
[INFO] [stdout] 4902e4cf6ea874d35aa554f701a5ac920112bfba4f1dc60af8b9a630f901bc44
