[INFO] cloning repository https://github.com/xuehaonan27/sysy-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xuehaonan27/sysy-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuehaonan27%2Fsysy-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuehaonan27%2Fsysy-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03e78fa43a0435013cb0a93a453c77db6dea5bd0 [INFO] checking xuehaonan27/sysy-compiler against master#18a029cfe8e761533634bda8fe8a14e30280a21b for pr-139646 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuehaonan27%2Fsysy-compiler" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xuehaonan27/sysy-compiler on toolchain 18a029cfe8e761533634bda8fe8a14e30280a21b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xuehaonan27/sysy-compiler [INFO] finished tweaking git repo https://github.com/xuehaonan27/sysy-compiler [INFO] tweaked toml for git repo https://github.com/xuehaonan27/sysy-compiler written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xuehaonan27/sysy-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" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-derive v0.14.4 [INFO] [stderr] Downloaded key-node-list v0.0.5 [INFO] [stderr] Downloaded logos-codegen v0.14.4 [INFO] [stderr] Downloaded koopa v0.0.8 [INFO] [stderr] Downloaded logos v0.14.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0af489c3c1db01a5c3d8b250a6754068f4920779246b783546a34d8b67eca38b [INFO] running `Command { std: "docker" "start" "-a" "0af489c3c1db01a5c3d8b250a6754068f4920779246b783546a34d8b67eca38b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0af489c3c1db01a5c3d8b250a6754068f4920779246b783546a34d8b67eca38b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0af489c3c1db01a5c3d8b250a6754068f4920779246b783546a34d8b67eca38b", kill_on_drop: false }` [INFO] [stdout] 0af489c3c1db01a5c3d8b250a6754068f4920779246b783546a34d8b67eca38b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf8f5bfff6bdd13e7d8cf54c6451e17e69f3fe3036d3e722325d4d9e80ec9429 [INFO] running `Command { std: "docker" "start" "-a" "bf8f5bfff6bdd13e7d8cf54c6451e17e69f3fe3036d3e722325d4d9e80ec9429", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling bit-vec v0.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling bit-set v0.6.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking key-node-list v0.0.5 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking koopa v0.0.8 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking lalrpop-util v0.21.0 [INFO] [stderr] Compiling logos-codegen v0.14.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling logos-derive v0.14.4 [INFO] [stderr] Compiling lalrpop v0.21.0 [INFO] [stderr] Checking logos v0.14.4 [INFO] [stderr] Compiling sysy-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `decl` [INFO] [stdout] --> src/koopa.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | DeclOrFuncDef::Decl(decl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_decl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decl` [INFO] [stdout] --> src/koopa.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | BlockItem::Decl(decl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lval` [INFO] [stdout] --> src/koopa.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | Stmt::Assign(lval, exp) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/koopa.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | Stmt::Assign(lval, exp) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/koopa.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | Stmt::Exp(exp) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blk` [INFO] [stdout] --> src/koopa.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | Stmt::Block(blk) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/koopa.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | Stmt::If(cond, then_stmt, else_stmt) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then_stmt` [INFO] [stdout] --> src/koopa.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | Stmt::If(cond, then_stmt, else_stmt) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_then_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_stmt` [INFO] [stdout] --> src/koopa.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | Stmt::If(cond, then_stmt, else_stmt) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/koopa.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | Stmt::While(cond, body_stmt) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_stmt` [INFO] [stdout] --> src/koopa.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | Stmt::While(cond, body_stmt) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lval` [INFO] [stdout] --> src/koopa.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | PrimaryExp::LVal(lval) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/koopa.rs:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | PrimaryExp::Paren(exp) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_name` [INFO] [stdout] --> src/koopa.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | UnaryExp::Call(func_name, params) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/koopa.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | UnaryExp::Call(func_name, params) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unary_op` [INFO] [stdout] --> src/koopa.rs:220:31 [INFO] [stdout] | [INFO] [stdout] 220 | UnaryExp::UnaryOp(unary_op, unary_exp) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unary_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unary_exp` [INFO] [stdout] --> src/koopa.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 220 | UnaryExp::UnaryOp(unary_op, unary_exp) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unary_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | MulExp::Mul(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:238:30 [INFO] [stdout] | [INFO] [stdout] 238 | MulExp::Mul(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | MulExp::Div(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:239:30 [INFO] [stdout] | [INFO] [stdout] 239 | MulExp::Div(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | MulExp::Mod(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 240 | MulExp::Mod(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | AddExp::Add(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:256:30 [INFO] [stdout] | [INFO] [stdout] 256 | AddExp::Add(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | AddExp::Sub(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | AddExp::Sub(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:275:24 [INFO] [stdout] | [INFO] [stdout] 275 | RelExp::Ge(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | RelExp::Ge(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 276 | RelExp::Gt(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | RelExp::Gt(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | RelExp::Le(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | RelExp::Le(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | RelExp::Lt(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:278:29 [INFO] [stdout] | [INFO] [stdout] 278 | RelExp::Lt(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:294:23 [INFO] [stdout] | [INFO] [stdout] 294 | EqExp::Eq(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | EqExp::Eq(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | EqExp::Neq(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | EqExp::Neq(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:312:26 [INFO] [stdout] | [INFO] [stdout] 312 | LAndExp::And(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | LAndExp::And(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:330:24 [INFO] [stdout] | [INFO] [stdout] 330 | LOrExp::Or(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | LOrExp::Or(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/koopa.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | program: &mut Program, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scopes` [INFO] [stdout] --> src/koopa.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | scopes: &mut Scopes, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scopes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decl` [INFO] [stdout] --> src/koopa.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | DeclOrFuncDef::Decl(decl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_decl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decl` [INFO] [stdout] --> src/koopa.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | BlockItem::Decl(decl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lval` [INFO] [stdout] --> src/koopa.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | Stmt::Assign(lval, exp) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/koopa.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | Stmt::Assign(lval, exp) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/koopa.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | Stmt::Exp(exp) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blk` [INFO] [stdout] --> src/koopa.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | Stmt::Block(blk) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_blk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/koopa.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | Stmt::If(cond, then_stmt, else_stmt) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then_stmt` [INFO] [stdout] --> src/koopa.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | Stmt::If(cond, then_stmt, else_stmt) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_then_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_stmt` [INFO] [stdout] --> src/koopa.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | Stmt::If(cond, then_stmt, else_stmt) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/koopa.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | Stmt::While(cond, body_stmt) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_stmt` [INFO] [stdout] --> src/koopa.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | Stmt::While(cond, body_stmt) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lval` [INFO] [stdout] --> src/koopa.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | PrimaryExp::LVal(lval) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/koopa.rs:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | PrimaryExp::Paren(exp) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_name` [INFO] [stdout] --> src/koopa.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | UnaryExp::Call(func_name, params) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/koopa.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | UnaryExp::Call(func_name, params) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unary_op` [INFO] [stdout] --> src/koopa.rs:220:31 [INFO] [stdout] | [INFO] [stdout] 220 | UnaryExp::UnaryOp(unary_op, unary_exp) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unary_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unary_exp` [INFO] [stdout] --> src/koopa.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 220 | UnaryExp::UnaryOp(unary_op, unary_exp) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unary_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | MulExp::Mul(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:238:30 [INFO] [stdout] | [INFO] [stdout] 238 | MulExp::Mul(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | MulExp::Div(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:239:30 [INFO] [stdout] | [INFO] [stdout] 239 | MulExp::Div(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | MulExp::Mod(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 240 | MulExp::Mod(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | AddExp::Add(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:256:30 [INFO] [stdout] | [INFO] [stdout] 256 | AddExp::Add(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 257 | AddExp::Sub(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | AddExp::Sub(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:275:24 [INFO] [stdout] | [INFO] [stdout] 275 | RelExp::Ge(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | RelExp::Ge(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 276 | RelExp::Gt(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | RelExp::Gt(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | RelExp::Le(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | RelExp::Le(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | RelExp::Lt(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:278:29 [INFO] [stdout] | [INFO] [stdout] 278 | RelExp::Lt(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:294:23 [INFO] [stdout] | [INFO] [stdout] 294 | EqExp::Eq(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | EqExp::Eq(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | EqExp::Neq(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | EqExp::Neq(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:312:26 [INFO] [stdout] | [INFO] [stdout] 312 | LAndExp::And(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:312:31 [INFO] [stdout] | [INFO] [stdout] 312 | LAndExp::And(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/koopa.rs:330:24 [INFO] [stdout] | [INFO] [stdout] 330 | LOrExp::Or(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/koopa.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | LOrExp::Or(lhs, rhs) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/koopa.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | program: &mut Program, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scopes` [INFO] [stdout] --> src/koopa.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | scopes: &mut Scopes, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scopes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | ConstDecl(Box), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 17 - ConstDecl(Box), [INFO] [stdout] 17 + ConstDecl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | VarDecl(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decl` 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] 18 - VarDecl(Box), [INFO] [stdout] 18 + VarDecl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `btype` and `const_defs` are never read [INFO] [stdout] --> src/ast.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConstDecl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 23 | pub btype: BType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub const_defs: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstDecl` 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 `ident`, `dimensions`, and `init_val` are never read [INFO] [stdout] --> src/ast.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ConstDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 35 | pub ident: IDENT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub dimensions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub init_val: ConstInitVal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstDef` 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/ast.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Exp(Box), [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstInitVal` 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] 42 - Exp(Box), [INFO] [stdout] 42 + Exp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstInitVal` 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] 43 - Array(Vec), [INFO] [stdout] 43 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `btype` and `var_defs` are never read [INFO] [stdout] --> src/ast.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct VarDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | pub btype: BType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub var_defs: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDecl` 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 `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Uninit(IDENT, Vec), [INFO] [stdout] | ------ ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VarDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 54 - Uninit(IDENT, Vec), [INFO] [stdout] 54 + Uninit((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | Init(IDENT, Vec, InitVal), [INFO] [stdout] | ---- ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VarDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 55 - Init(IDENT, Vec, InitVal), [INFO] [stdout] 55 + Init((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Exp(Box), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InitVal` 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] 60 - Exp(Box), [INFO] [stdout] 60 + Exp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InitVal` 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] 61 - Array(Vec), [INFO] [stdout] 61 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_array` and `dimensions` are never read [INFO] [stdout] --> src/ast.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FuncFParam { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub is_array: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | pub dimensions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncFParam` 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 `ident` and `indices` are never read [INFO] [stdout] --> src/ast.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct LVal { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 114 | pub ident: IDENT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 115 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LVal` 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/ast.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | LOrExp(Box), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Cond` 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] 125 - LOrExp(Box), [INFO] [stdout] 125 + LOrExp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct FuncRParams(pub Vec); [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FuncRParams` 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/ast.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | AddExp(Box), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstExp` 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] 224 - AddExp(Box), [INFO] [stdout] 224 + AddExp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `top_scope` and `print_status` are never used [INFO] [stdout] --> src/scopes.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Scopes { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn top_scope(&self) -> Option<&Scope> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn print_status(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `kvmap` are never read [INFO] [stdout] --> src/scopes.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Scope { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 72 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | kvmap: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_status` is never used [INFO] [stdout] --> src/scopes.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn print_status(&self, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/scopes.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct IRFunction { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 94 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `func_mut` and `entry_block` are never used [INFO] [stdout] --> src/scopes.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl IRFunction { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn func_mut<'a>(&'a self, program: &'a mut Program) -> &'a mut FunctionData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn entry_block(&self) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | ConstDecl(Box), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 17 - ConstDecl(Box), [INFO] [stdout] 17 + ConstDecl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | VarDecl(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decl` 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] 18 - VarDecl(Box), [INFO] [stdout] 18 + VarDecl(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `btype` and `const_defs` are never read [INFO] [stdout] --> src/ast.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConstDecl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 23 | pub btype: BType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub const_defs: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstDecl` 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 `ident`, `dimensions`, and `init_val` are never read [INFO] [stdout] --> src/ast.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ConstDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 35 | pub ident: IDENT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub dimensions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub init_val: ConstInitVal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstDef` 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/ast.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Exp(Box), [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstInitVal` 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] 42 - Exp(Box), [INFO] [stdout] 42 + Exp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstInitVal` 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] 43 - Array(Vec), [INFO] [stdout] 43 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `btype` and `var_defs` are never read [INFO] [stdout] --> src/ast.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct VarDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | pub btype: BType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub var_defs: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarDecl` 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 `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Uninit(IDENT, Vec), [INFO] [stdout] | ------ ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VarDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 54 - Uninit(IDENT, Vec), [INFO] [stdout] 54 + Uninit((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/ast.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | Init(IDENT, Vec, InitVal), [INFO] [stdout] | ---- ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VarDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 55 - Init(IDENT, Vec, InitVal), [INFO] [stdout] 55 + Init((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Exp(Box), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InitVal` 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] 60 - Exp(Box), [INFO] [stdout] 60 + Exp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InitVal` 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] 61 - Array(Vec), [INFO] [stdout] 61 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_array` and `dimensions` are never read [INFO] [stdout] --> src/ast.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct FuncFParam { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub is_array: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | pub dimensions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncFParam` 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 `ident` and `indices` are never read [INFO] [stdout] --> src/ast.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct LVal { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 114 | pub ident: IDENT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 115 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LVal` 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/ast.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | LOrExp(Box), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Cond` 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] 125 - LOrExp(Box), [INFO] [stdout] 125 + LOrExp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct FuncRParams(pub Vec); [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FuncRParams` 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/ast.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | AddExp(Box), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstExp` 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] 224 - AddExp(Box), [INFO] [stdout] 224 + AddExp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `top_scope` and `print_status` are never used [INFO] [stdout] --> src/scopes.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Scopes { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn top_scope(&self) -> Option<&Scope> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn print_status(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `kvmap` are never read [INFO] [stdout] --> src/scopes.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Scope { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 72 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | kvmap: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_status` is never used [INFO] [stdout] --> src/scopes.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Scope { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn print_status(&self, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/scopes.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct IRFunction { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 94 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `func_mut` and `entry_block` are never used [INFO] [stdout] --> src/scopes.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl IRFunction { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn func_mut<'a>(&'a self, program: &'a mut Program) -> &'a mut FunctionData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn entry_block(&self) -> BasicBlock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.78s [INFO] running `Command { std: "docker" "inspect" "bf8f5bfff6bdd13e7d8cf54c6451e17e69f3fe3036d3e722325d4d9e80ec9429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf8f5bfff6bdd13e7d8cf54c6451e17e69f3fe3036d3e722325d4d9e80ec9429", kill_on_drop: false }` [INFO] [stdout] bf8f5bfff6bdd13e7d8cf54c6451e17e69f3fe3036d3e722325d4d9e80ec9429