[INFO] cloning repository https://github.com/NailLegProcessorDivide/sampleCompiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NailLegProcessorDivide/sampleCompiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNailLegProcessorDivide%2FsampleCompiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNailLegProcessorDivide%2FsampleCompiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 72ab76c32bf8d3399a84573a1446d1f893094d9b
[INFO] checking NailLegProcessorDivide/sampleCompiler against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNailLegProcessorDivide%2FsampleCompiler" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NailLegProcessorDivide/sampleCompiler
[INFO] finished tweaking git repo https://github.com/NailLegProcessorDivide/sampleCompiler
[INFO] tweaked toml for git repo https://github.com/NailLegProcessorDivide/sampleCompiler written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NailLegProcessorDivide/sampleCompiler on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NailLegProcessorDivide/sampleCompiler 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded regex v1.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 072ce105f54c17f71080a600c5d4e0fa8649bb86920b1a688b2bb729f76693f7
[INFO] running `Command { std: "docker" "start" "072ce105f54c17f71080a600c5d4e0fa8649bb86920b1a688b2bb729f76693f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "072ce105f54c17f71080a600c5d4e0fa8649bb86920b1a688b2bb729f76693f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "072ce105f54c17f71080a600c5d4e0fa8649bb86920b1a688b2bb729f76693f7" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "072ce105f54c17f71080a600c5d4e0fa8649bb86920b1a688b2bb729f76693f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "072ce105f54c17f71080a600c5d4e0fa8649bb86920b1a688b2bb729f76693f7" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking itertools v0.8.2
[INFO] [stderr]     Checking regex v1.7.1
[INFO] [stderr]     Checking sample_compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `x64::Instruction_x64`
[INFO] [stdout]  --> src/compile.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     x64::Instruction_x64,
[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: `crate::shrink_imm::shrink_imm`
[INFO] [stdout]   --> src/compile_function.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::shrink_imm::shrink_imm;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::x64::Instruction_x64`
[INFO] [stdout]   --> src/compile_function.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::x64::Instruction_x64;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_token_list`
[INFO] [stdout]  --> src/source_ast.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::tokens::{self, print_token_list};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/type_check.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 (Typ::Bool, (OP::And | OP::Or | OP::Eq), Typ::Bool) => Typ::Bool,
[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] 77 -                 (Typ::Bool, (OP::And | OP::Or | OP::Eq), Typ::Bool) => Typ::Bool,
[INFO] [stdout] 77 +                 (Typ::Bool, OP::And | OP::Or | OP::Eq, Typ::Bool) => Typ::Bool,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/type_check.rs:80:21
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     (OP::Plus
[INFO] [stdout]    |                     ^
[INFO] [stdout] ...
[INFO] [stdout] 86 |                     | OP::BitAnd),
[INFO] [stdout]    |                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 80 ~                     OP::Plus
[INFO] [stdout] 81 |                     | OP::Minus
[INFO] [stdout] ...
[INFO] [stdout] 85 |                     | OP::BitOr
[INFO] [stdout] 86 ~                     | OP::BitAnd,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/type_check.rs:89:28
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 (Typ::Int, (OP::Lt | OP::Eq | OP::Gt), Typ::Int) => Typ::Bool,
[INFO] [stdout]    |                            ^                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 89 -                 (Typ::Int, (OP::Lt | OP::Eq | OP::Gt), Typ::Int) => Typ::Bool,
[INFO] [stdout] 89 +                 (Typ::Int, OP::Lt | OP::Eq | OP::Gt, Typ::Int) => Typ::Bool,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::internal::Inst`
[INFO] [stdout]  --> src/x64.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use regex::internal::Inst;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Instruction_x64` should have an upper camel case name
[INFO] [stdout]    --> src/x64.rs:312:10
[INFO] [stdout]     |
[INFO] [stdout] 312 | pub enum Instruction_x64<'a> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InstructionX64`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `x64::Instruction_x64`
[INFO] [stdout]  --> src/compile.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     x64::Instruction_x64,
[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: `crate::shrink_imm::shrink_imm`
[INFO] [stdout]   --> src/compile_function.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::shrink_imm::shrink_imm;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::x64::Instruction_x64`
[INFO] [stdout]   --> src/compile_function.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::x64::Instruction_x64;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_token_list`
[INFO] [stdout]  --> src/source_ast.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::tokens::{self, print_token_list};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/type_check.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 (Typ::Bool, (OP::And | OP::Or | OP::Eq), Typ::Bool) => Typ::Bool,
[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] 77 -                 (Typ::Bool, (OP::And | OP::Or | OP::Eq), Typ::Bool) => Typ::Bool,
[INFO] [stdout] 77 +                 (Typ::Bool, OP::And | OP::Or | OP::Eq, Typ::Bool) => Typ::Bool,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/type_check.rs:80:21
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     (OP::Plus
[INFO] [stdout]    |                     ^
[INFO] [stdout] ...
[INFO] [stdout] 86 |                     | OP::BitAnd),
[INFO] [stdout]    |                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 80 ~                     OP::Plus
[INFO] [stdout] 81 |                     | OP::Minus
[INFO] [stdout] ...
[INFO] [stdout] 85 |                     | OP::BitOr
[INFO] [stdout] 86 ~                     | OP::BitAnd,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/type_check.rs:89:28
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 (Typ::Int, (OP::Lt | OP::Eq | OP::Gt), Typ::Int) => Typ::Bool,
[INFO] [stdout]    |                            ^                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 89 -                 (Typ::Int, (OP::Lt | OP::Eq | OP::Gt), Typ::Int) => Typ::Bool,
[INFO] [stdout] 89 +                 (Typ::Int, OP::Lt | OP::Eq | OP::Gt, Typ::Int) => Typ::Bool,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::internal::Inst`
[INFO] [stdout]  --> src/x64.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use regex::internal::Inst;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Instruction_x64` should have an upper camel case name
[INFO] [stdout]    --> src/x64.rs:312:10
[INFO] [stdout]     |
[INFO] [stdout] 312 | pub enum Instruction_x64<'a> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InstructionX64`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/tokens.rs:208:10
[INFO] [stdout]     |
[INFO] [stdout] 208 |         .intersperse(r"|".to_string())
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse`
[INFO] [stdout]    --> src/lib.rs:1:1
[INFO] [stdout]     |
[INFO] [stdout]   1 + #![feature(iter_intersperse)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/block_structure.rs:286:26
[INFO] [stdout]     |
[INFO] [stdout] 286 |             Stmt::Assign(id, es, e) => panic!("multi dimensional array"),
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `es`
[INFO] [stdout]    --> src/block_structure.rs:286:30
[INFO] [stdout]     |
[INFO] [stdout] 286 |             Stmt::Assign(id, es, e) => panic!("multi dimensional array"),
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_es`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/block_structure.rs:286:34
[INFO] [stdout]     |
[INFO] [stdout] 286 |             Stmt::Assign(id, es, e) => panic!("multi dimensional array"),
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/tokens.rs:208:10
[INFO] [stdout]     |
[INFO] [stdout] 208 |         .intersperse(r"|".to_string())
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse`
[INFO] [stdout]    --> src/lib.rs:1:1
[INFO] [stdout]     |
[INFO] [stdout]   1 + #![feature(iter_intersperse)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `var_map`
[INFO] [stdout]   --> src/compile_function.rs:92:27
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let (lva_cfg, stacks, var_map) = alloc_regs(globals, func);
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/const_prop.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |             _ => panic!("unimplemented"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/const_prop.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             Exp::Ident(id, idxs) => Exp::Ident(
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 29 |             Exp::Num(n) => Exp::Num(*n),
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] 30 |             Exp::Bool(n) => Exp::Bool(*n),
[INFO] [stdout]    |             ------------ matches some of the same values
[INFO] [stdout] 31 |             Exp::Op(e1, op, e2) => {
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 57 |             _ => panic!("unimplemented"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o1`
[INFO] [stdout]   --> src/const_prop.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |             let o1 = fold_exp(env, e);
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_o1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/const_prop.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |         Stmt::Assign(x, inds, e) => {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inds`
[INFO] [stdout]   --> src/const_prop.rs:69:25
[INFO] [stdout]    |
[INFO] [stdout] 69 |         Stmt::Assign(x, inds, e) => {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_inds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/const_prop.rs:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 |         Stmt::Assign(x, inds, e) => {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/interp.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         _ => todo!("impl"),
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/interp.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |         Exp::Ident(i, inds) => match env.vars.get(i).unwrap().clone() {
[INFO] [stdout]     |         ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 165 |         Exp::Call(f, args) => {
[INFO] [stdout]     |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 183 |         Exp::Num(n) => Val::VInt(*n),
[INFO] [stdout]     |         ----------- matches some of the same values
[INFO] [stdout] 184 |         Exp::Bool(b) => Val::VInt(*b as i64),
[INFO] [stdout]     |         ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 218 |         _ => todo!("impl"),
[INFO] [stdout]     |         ^ ...and 5 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/live_var_analysis.rs:152:22
[INFO] [stdout]     |
[INFO] [stdout] 152 |         .filter(|(e, a)| match e.next {
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/live_var_analysis.rs:167:19
[INFO] [stdout]     |
[INFO] [stdout] 167 |         .map(|(e, a)| (*e).bnum)
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]    --> src/register_alloc.rs:110:37
[INFO] [stdout]     |
[INFO] [stdout] 110 |         BlockElem::AssignOp(v, ae1, op, ae2) => {
[INFO] [stdout]     |                                     ^^ help: if this is intentional, prefix it with an underscore: `_op`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]    --> src/register_alloc.rs:152:40
[INFO] [stdout]     |
[INFO] [stdout] 152 |         NextBlock::Branch(Test { exp1, op, exp2 }, _, _) => {
[INFO] [stdout]     |                                        ^^ help: try ignoring the field: `op: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alocatable_regs`
[INFO] [stdout]    --> src/register_alloc.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     alocatable_regs: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alocatable_regs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ln`
[INFO] [stdout]    --> src/source_ast.rs:556:18
[INFO] [stdout]     |
[INFO] [stdout] 556 |             loc: ln,
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_ln`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ln`
[INFO] [stdout]    --> src/source_ast.rs:563:26
[INFO] [stdout]     |
[INFO] [stdout] 563 |                     loc: ln,
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_ln`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/type_check.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |         ID::Temp(name, _) => {}
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/type_check.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             _ => None,
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/type_check.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |             ID::Source(name, _) => Some(format!(
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 143 |             ID::Temp(name, _) => Some(format!(
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 148 |             _ => None,
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sc`
[INFO] [stdout]    --> src/type_check.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn type_var_dec(sc: &Scope, env: &Env, dec: &mut VarDec) -> Option<String> {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_sc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/unnest_exp.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         Exp::Op(e1, OP::And, e2) => {
[INFO] [stdout]     |         ------------------------ matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 166 |         Exp::Op(e1, OP::And, e2) => {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/x64.rs:492:9
[INFO] [stdout]     |
[INFO] [stdout] 492 |         _ => panic!("untransformed variable layout"),
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/x64.rs:492:9
[INFO] [stdout]     |
[INFO] [stdout] 472 |         AtomicExp::Ident(Var::Vreg(r)) => RegAddrImm64::Reg(reg_order[*r]),
[INFO] [stdout]     |         ------------------------------ matches some of the same values
[INFO] [stdout] 473 |         AtomicExp::Ident(Var::Global(g)) => RegAddrImm64::Addr(Addr {
[INFO] [stdout]     |         -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 478 |         AtomicExp::Ident(Var::Stack(i)) => RegAddrImm64::Addr(Addr {
[INFO] [stdout]     |         ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 483 |         AtomicExp::Num(n) => RegAddrImm64::Imm(*n),
[INFO] [stdout]     |         ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 492 |         _ => panic!("untransformed variable layout"),
[INFO] [stdout]     |         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src2`
[INFO] [stdout]     --> src/x64.rs:1105:21
[INFO] [stdout]      |
[INFO] [stdout] 1105 |                 let src2 = match v3 {
[INFO] [stdout]      |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_src2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]     --> src/x64.rs:1149:34
[INFO] [stdout]      |
[INFO] [stdout] 1149 |                     RegAddr::Reg(r) => {}
[INFO] [stdout]      |                                  ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `might_have_effect` is never used
[INFO] [stdout]  --> src/const_prop.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn might_have_effect(e: &Exp) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fold_exp` is never used
[INFO] [stdout]   --> src/const_prop.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn fold_exp(env: &mut HashMap<ID, TypedExp>, e: &TypedExp) -> TypedExp {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prop_stmt` is never used
[INFO] [stdout]   --> src/const_prop.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn prop_stmt(env: &mut HashMap<ID, TypedExp>, stmt: &Stmt) -> Stmt {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_preds` is never used
[INFO] [stdout]    --> src/live_var_analysis.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn find_preds<'a, 'b>(
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_global` is never used
[INFO] [stdout]   --> src/register_alloc.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn is_global(v: &Var) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_param` is never used
[INFO] [stdout]   --> src/register_alloc.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn is_param(v: &Var) -> bool {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Monop` and `BoundCheck` are never constructed
[INFO] [stdout]    --> src/x64.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | enum X64BlockElem<'a> {
[INFO] [stdout]     |      ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 337 |     Monop(UOP, RegAddr<'a>),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 338 |     Mov(RegAddr<'a>, RegAddrImm64<'a>),
[INFO] [stdout] 339 |     BoundCheck(RegAddrImm64<'a>, RegAddr<'a>),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Cont` and `JCCont` are never constructed
[INFO] [stdout]    --> src/x64.rs:376:5
[INFO] [stdout]     |
[INFO] [stdout] 375 | enum AsmTransitionX64<'a> {
[INFO] [stdout]     |      ---------------- variants in this enum
[INFO] [stdout] 376 |     Cont,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 377 |     J(usize),
[INFO] [stdout] 378 |     JCCont(Condition, CmpArgs<'a>),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `reg_order` should have an upper case name
[INFO] [stdout]   --> src/x64.rs:58:7
[INFO] [stdout]    |
[INFO] [stdout] 58 | const reg_order: [Reg; 15] = [
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 58 - const reg_order: [Reg; 15] = [
[INFO] [stdout] 58 + const REG_ORDER: [Reg; 15] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `temp0` should have an upper case name
[INFO] [stdout]   --> src/x64.rs:75:7
[INFO] [stdout]    |
[INFO] [stdout] 75 | const temp0: Reg = Reg::R10;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 75 - const temp0: Reg = Reg::R10;
[INFO] [stdout] 75 + const TEMP0: Reg = Reg::R10;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `temp1` should have an upper case name
[INFO] [stdout]   --> src/x64.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 | const temp1: Reg = Reg::R11;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 76 - const temp1: Reg = Reg::R11;
[INFO] [stdout] 76 + const TEMP1: Reg = Reg::R11;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `temp2` should have an upper case name
[INFO] [stdout]   --> src/x64.rs:77:7
[INFO] [stdout]    |
[INFO] [stdout] 77 | const temp2: Reg = Reg::RAX;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 77 - const temp2: Reg = Reg::RAX;
[INFO] [stdout] 77 + const TEMP2: Reg = Reg::RAX;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/x64.rs:436:23
[INFO] [stdout]     |
[INFO] [stdout] 436 | fn var_to_reg_addr(v: &Var) -> RegAddr {
[INFO] [stdout]     |                       ^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 436 | fn var_to_reg_addr(v: &Var) -> RegAddr<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/x64.rs:453:29
[INFO] [stdout]     |
[INFO] [stdout] 453 | fn var_to_reg_addr_imm64(v: &Var) -> RegAddrImm64 {
[INFO] [stdout]     |                             ^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 453 | fn var_to_reg_addr_imm64(v: &Var) -> RegAddrImm64<'_> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/x64.rs:470:29
[INFO] [stdout]     |
[INFO] [stdout] 470 | fn ae_to_reg_addr_imm64(ae: &AtomicExp) -> RegAddrImm64 {
[INFO] [stdout]     |                             ^^^^^^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 470 | fn ae_to_reg_addr_imm64(ae: &AtomicExp) -> RegAddrImm64<'_> {
[INFO] [stdout]     |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/block_structure.rs:286:26
[INFO] [stdout]     |
[INFO] [stdout] 286 |             Stmt::Assign(id, es, e) => panic!("multi dimensional array"),
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `es`
[INFO] [stdout]    --> src/block_structure.rs:286:30
[INFO] [stdout]     |
[INFO] [stdout] 286 |             Stmt::Assign(id, es, e) => panic!("multi dimensional array"),
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_es`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/block_structure.rs:286:34
[INFO] [stdout]     |
[INFO] [stdout] 286 |             Stmt::Assign(id, es, e) => panic!("multi dimensional array"),
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `var_map`
[INFO] [stdout]   --> src/compile_function.rs:92:27
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let (lva_cfg, stacks, var_map) = alloc_regs(globals, func);
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/const_prop.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |             _ => panic!("unimplemented"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/const_prop.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             Exp::Ident(id, idxs) => Exp::Ident(
[INFO] [stdout]    |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 29 |             Exp::Num(n) => Exp::Num(*n),
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] 30 |             Exp::Bool(n) => Exp::Bool(*n),
[INFO] [stdout]    |             ------------ matches some of the same values
[INFO] [stdout] 31 |             Exp::Op(e1, op, e2) => {
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 57 |             _ => panic!("unimplemented"),
[INFO] [stdout]    |             ^ ...and 3 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o1`
[INFO] [stdout]   --> src/const_prop.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |             let o1 = fold_exp(env, e);
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_o1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/const_prop.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |         Stmt::Assign(x, inds, e) => {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inds`
[INFO] [stdout]   --> src/const_prop.rs:69:25
[INFO] [stdout]    |
[INFO] [stdout] 69 |         Stmt::Assign(x, inds, e) => {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_inds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/const_prop.rs:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 |         Stmt::Assign(x, inds, e) => {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/interp.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         _ => todo!("impl"),
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/interp.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |         Exp::Ident(i, inds) => match env.vars.get(i).unwrap().clone() {
[INFO] [stdout]     |         ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 165 |         Exp::Call(f, args) => {
[INFO] [stdout]     |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 183 |         Exp::Num(n) => Val::VInt(*n),
[INFO] [stdout]     |         ----------- matches some of the same values
[INFO] [stdout] 184 |         Exp::Bool(b) => Val::VInt(*b as i64),
[INFO] [stdout]     |         ------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 218 |         _ => todo!("impl"),
[INFO] [stdout]     |         ^ ...and 5 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/live_var_analysis.rs:152:22
[INFO] [stdout]     |
[INFO] [stdout] 152 |         .filter(|(e, a)| match e.next {
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/live_var_analysis.rs:167:19
[INFO] [stdout]     |
[INFO] [stdout] 167 |         .map(|(e, a)| (*e).bnum)
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]    --> src/register_alloc.rs:110:37
[INFO] [stdout]     |
[INFO] [stdout] 110 |         BlockElem::AssignOp(v, ae1, op, ae2) => {
[INFO] [stdout]     |                                     ^^ help: if this is intentional, prefix it with an underscore: `_op`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]    --> src/register_alloc.rs:152:40
[INFO] [stdout]     |
[INFO] [stdout] 152 |         NextBlock::Branch(Test { exp1, op, exp2 }, _, _) => {
[INFO] [stdout]     |                                        ^^ help: try ignoring the field: `op: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alocatable_regs`
[INFO] [stdout]    --> src/register_alloc.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     alocatable_regs: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alocatable_regs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ln`
[INFO] [stdout]    --> src/source_ast.rs:556:18
[INFO] [stdout]     |
[INFO] [stdout] 556 |             loc: ln,
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_ln`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ln`
[INFO] [stdout]    --> src/source_ast.rs:563:26
[INFO] [stdout]     |
[INFO] [stdout] 563 |                     loc: ln,
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_ln`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/type_check.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |         ID::Temp(name, _) => {}
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/type_check.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             _ => None,
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/type_check.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |             ID::Source(name, _) => Some(format!(
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 143 |             ID::Temp(name, _) => Some(format!(
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 148 |             _ => None,
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sc`
[INFO] [stdout]    --> src/type_check.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn type_var_dec(sc: &Scope, env: &Env, dec: &mut VarDec) -> Option<String> {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_sc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/unnest_exp.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         Exp::Op(e1, OP::And, e2) => {
[INFO] [stdout]     |         ------------------------ matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 166 |         Exp::Op(e1, OP::And, e2) => {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/x64.rs:492:9
[INFO] [stdout]     |
[INFO] [stdout] 492 |         _ => panic!("untransformed variable layout"),
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/x64.rs:492:9
[INFO] [stdout]     |
[INFO] [stdout] 472 |         AtomicExp::Ident(Var::Vreg(r)) => RegAddrImm64::Reg(reg_order[*r]),
[INFO] [stdout]     |         ------------------------------ matches some of the same values
[INFO] [stdout] 473 |         AtomicExp::Ident(Var::Global(g)) => RegAddrImm64::Addr(Addr {
[INFO] [stdout]     |         -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 478 |         AtomicExp::Ident(Var::Stack(i)) => RegAddrImm64::Addr(Addr {
[INFO] [stdout]     |         ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 483 |         AtomicExp::Num(n) => RegAddrImm64::Imm(*n),
[INFO] [stdout]     |         ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 492 |         _ => panic!("untransformed variable layout"),
[INFO] [stdout]     |         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src2`
[INFO] [stdout]     --> src/x64.rs:1105:21
[INFO] [stdout]      |
[INFO] [stdout] 1105 |                 let src2 = match v3 {
[INFO] [stdout]      |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_src2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]     --> src/x64.rs:1149:34
[INFO] [stdout]      |
[INFO] [stdout] 1149 |                     RegAddr::Reg(r) => {}
[INFO] [stdout]      |                                  ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `might_have_effect` is never used
[INFO] [stdout]  --> src/const_prop.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn might_have_effect(e: &Exp) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fold_exp` is never used
[INFO] [stdout]   --> src/const_prop.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn fold_exp(env: &mut HashMap<ID, TypedExp>, e: &TypedExp) -> TypedExp {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prop_stmt` is never used
[INFO] [stdout]   --> src/const_prop.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn prop_stmt(env: &mut HashMap<ID, TypedExp>, stmt: &Stmt) -> Stmt {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_preds` is never used
[INFO] [stdout]    --> src/live_var_analysis.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn find_preds<'a, 'b>(
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_global` is never used
[INFO] [stdout]   --> src/register_alloc.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn is_global(v: &Var) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_param` is never used
[INFO] [stdout]   --> src/register_alloc.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn is_param(v: &Var) -> bool {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Monop` and `BoundCheck` are never constructed
[INFO] [stdout]    --> src/x64.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | enum X64BlockElem<'a> {
[INFO] [stdout]     |      ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 337 |     Monop(UOP, RegAddr<'a>),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 338 |     Mov(RegAddr<'a>, RegAddrImm64<'a>),
[INFO] [stdout] 339 |     BoundCheck(RegAddrImm64<'a>, RegAddr<'a>),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Cont` and `JCCont` are never constructed
[INFO] [stdout]    --> src/x64.rs:376:5
[INFO] [stdout]     |
[INFO] [stdout] 375 | enum AsmTransitionX64<'a> {
[INFO] [stdout]     |      ---------------- variants in this enum
[INFO] [stdout] 376 |     Cont,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 377 |     J(usize),
[INFO] [stdout] 378 |     JCCont(Condition, CmpArgs<'a>),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `reg_order` should have an upper case name
[INFO] [stdout]   --> src/x64.rs:58:7
[INFO] [stdout]    |
[INFO] [stdout] 58 | const reg_order: [Reg; 15] = [
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 58 - const reg_order: [Reg; 15] = [
[INFO] [stdout] 58 + const REG_ORDER: [Reg; 15] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `temp0` should have an upper case name
[INFO] [stdout]   --> src/x64.rs:75:7
[INFO] [stdout]    |
[INFO] [stdout] 75 | const temp0: Reg = Reg::R10;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 75 - const temp0: Reg = Reg::R10;
[INFO] [stdout] 75 + const TEMP0: Reg = Reg::R10;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `temp1` should have an upper case name
[INFO] [stdout]   --> src/x64.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 | const temp1: Reg = Reg::R11;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 76 - const temp1: Reg = Reg::R11;
[INFO] [stdout] 76 + const TEMP1: Reg = Reg::R11;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `temp2` should have an upper case name
[INFO] [stdout]   --> src/x64.rs:77:7
[INFO] [stdout]    |
[INFO] [stdout] 77 | const temp2: Reg = Reg::RAX;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 77 - const temp2: Reg = Reg::RAX;
[INFO] [stdout] 77 + const TEMP2: Reg = Reg::RAX;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/x64.rs:436:23
[INFO] [stdout]     |
[INFO] [stdout] 436 | fn var_to_reg_addr(v: &Var) -> RegAddr {
[INFO] [stdout]     |                       ^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 436 | fn var_to_reg_addr(v: &Var) -> RegAddr<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/x64.rs:453:29
[INFO] [stdout]     |
[INFO] [stdout] 453 | fn var_to_reg_addr_imm64(v: &Var) -> RegAddrImm64 {
[INFO] [stdout]     |                             ^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 453 | fn var_to_reg_addr_imm64(v: &Var) -> RegAddrImm64<'_> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/x64.rs:470:29
[INFO] [stdout]     |
[INFO] [stdout] 470 | fn ae_to_reg_addr_imm64(ae: &AtomicExp) -> RegAddrImm64 {
[INFO] [stdout]     |                             ^^^^^^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 470 | fn ae_to_reg_addr_imm64(ae: &AtomicExp) -> RegAddrImm64<'_> {
[INFO] [stdout]     |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_usage` is never used
[INFO] [stdout]  --> src/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn print_usage() {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_usage` is never used
[INFO] [stdout]  --> src/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn print_usage() {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.40s
[INFO] running `Command { std: "docker" "inspect" "072ce105f54c17f71080a600c5d4e0fa8649bb86920b1a688b2bb729f76693f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "072ce105f54c17f71080a600c5d4e0fa8649bb86920b1a688b2bb729f76693f7", kill_on_drop: false }`
[INFO] [stdout] 072ce105f54c17f71080a600c5d4e0fa8649bb86920b1a688b2bb729f76693f7
