[INFO] cloning repository https://github.com/WeiTheShinobi/mysterious_compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WeiTheShinobi/mysterious_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeiTheShinobi%2Fmysterious_compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeiTheShinobi%2Fmysterious_compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 183810e7eaf2801b8afb15e087dcc63727b9f41d
[INFO] checking WeiTheShinobi/mysterious_compiler against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeiTheShinobi%2Fmysterious_compiler" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/WeiTheShinobi/mysterious_compiler
[INFO] finished tweaking git repo https://github.com/WeiTheShinobi/mysterious_compiler
[INFO] tweaked toml for git repo https://github.com/WeiTheShinobi/mysterious_compiler written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/WeiTheShinobi/mysterious_compiler on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/WeiTheShinobi/mysterious_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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc517b4ad3aebcb78d0638a38bd8524e27505c1b4fb60d42d59182d313d48ad1
[INFO] running `Command { std: "docker" "start" "-a" "dc517b4ad3aebcb78d0638a38bd8524e27505c1b4fb60d42d59182d313d48ad1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc517b4ad3aebcb78d0638a38bd8524e27505c1b4fb60d42d59182d313d48ad1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc517b4ad3aebcb78d0638a38bd8524e27505c1b4fb60d42d59182d313d48ad1", kill_on_drop: false }`
[INFO] [stdout] dc517b4ad3aebcb78d0638a38bd8524e27505c1b4fb60d42d59182d313d48ad1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0dc62324ce738e06903fe9ea4fa771b8f571ec427c5bbeeba8c95f42ef6daba3
[INFO] running `Command { std: "docker" "start" "-a" "0dc62324ce738e06903fe9ea4fa771b8f571ec427c5bbeeba8c95f42ef6daba3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]     Checking key-node-list v0.0.5
[INFO] [stderr]     Checking koopa v0.0.7
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]     Checking lalrpop-util v0.20.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling lalrpop v0.20.2
[INFO] [stderr]    Compiling weird-compiler-lab v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Registers`
[INFO] [stdout]  --> src/riscv_gen/context.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::reg::{RegisterManager, Registers};
[INFO] [stdout]   |                                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `value_life` should have an upper camel case name
[INFO] [stdout]  --> src/analysis/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct value_life {
[INFO] [stdout]   |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `ValueLife`
[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: `Registers`
[INFO] [stdout]  --> src/riscv_gen/context.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::reg::{RegisterManager, Registers};
[INFO] [stdout]   |                                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `value_life` should have an upper camel case name
[INFO] [stdout]  --> src/analysis/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct value_life {
[INFO] [stdout]   |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `ValueLife`
[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: field `0` is never read
[INFO] [stdout]   --> src/ir_gen/mod.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ReassignConst(String),
[INFO] [stdout]    |     ------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 18 -     ReassignConst(String),
[INFO] [stdout] 18 +     ReassignConst(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir_gen/mod.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Redeclare(String),
[INFO] [stdout]    |     --------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` 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] 19 -     Redeclare(String),
[INFO] [stdout] 19 +     Redeclare(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir_gen/mod.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Undefined(String),
[INFO] [stdout]    |     --------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` 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] 21 -     Undefined(String),
[INFO] [stdout] 21 +     Undefined(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]   --> src/ir_gen/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] 17 |     Error(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` 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 `register_manager` is never read
[INFO] [stdout]   --> src/riscv_gen/context.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Context {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub register_manager: RegisterManager,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `registers` is never read
[INFO] [stdout]  --> src/riscv_gen/reg.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct RegisterManager {
[INFO] [stdout]   |                   --------------- field in this struct
[INFO] [stdout] 2 |     registers: Registers,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/riscv_gen/reg.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) struct Registers {
[INFO] [stdout]    |                   --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub ra: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 18 |     // x2 stack pointer, callee-saved
[INFO] [stdout] 19 |     pub sp: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 20 |     // x3 global pointer, N/A
[INFO] [stdout] 21 |     pub gp: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 22 |     // x4 thread pointer, N/A
[INFO] [stdout] 23 |     pub tp: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 24 |     // x5 alternative temp, caller
[INFO] [stdout] 25 |     pub t0: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 26 |     // x6-7 temp, caller
[INFO] [stdout] 27 |     pub t1: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 28 |     pub t2: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 29 |     // x8 s0/fp save or frame pointer, callee
[INFO] [stdout] 30 |     pub fp: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 31 |     // x9 s1, callee
[INFO] [stdout] 32 |     pub s1: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 33 |     // x10, x11: return/function parameter, caller
[INFO] [stdout] 34 |     pub a0: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 35 |     pub a1: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 36 |     // x12-x17: function parameter, caller
[INFO] [stdout] 37 |     pub a2: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 38 |     pub a3: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 39 |     pub a4: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 40 |     pub a5: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 41 |     pub a6: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 42 |     pub a7: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 43 |     // x18-x27 save, callee
[INFO] [stdout] 44 |     pub s2: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 45 |     pub s3: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 46 |     pub s4: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 47 |     pub s5: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 48 |     pub s6: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 49 |     pub s7: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 50 |     pub s8: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 51 |     pub s9: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 52 |     pub s10: bool,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 53 |     pub s11: bool,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 54 |     // x28-x31 temp, caller
[INFO] [stdout] 55 |     pub t3: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 56 |     pub t4: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 57 |     pub t5: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 58 |     pub t6: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Registers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `value_life` is never constructed
[INFO] [stdout]  --> src/analysis/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct value_life {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `live_variable` is never used
[INFO] [stdout]  --> src/analysis/mod.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn live_variable() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<riscv_gen::gen::Program, riscv_gen::Error>
[INFO] [stdout]   --> src/main.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |             let _ = riscv_gen::generate_riscv(koopa, args.args)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<riscv_gen::gen::Program, riscv_gen::Error>
[INFO] [stdout]   --> src/riscv_gen/mod.rs:15:94
[INFO] [stdout]    |
[INFO] [stdout] 15 |   pub fn generate_riscv<'a>(program: koopa::ir::Program, args: Vec<String>) -> Result<Program> {
[INFO] [stdout]    |  ______________________________________________________________________________________________^
[INFO] [stdout] 16 | |     let mut riscv = gen::Program::new();
[INFO] [stdout] 17 | |     let mut cx = Context::new();
[INFO] [stdout] 18 | |     program.generate(&mut riscv, &mut cx);
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     Ok(riscv)
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<riscv_gen::gen::Program, riscv_gen::Error>
[INFO] [stdout]   --> src/riscv_gen/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     Ok(riscv)
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `weird-compiler-lab` (bin "weird-compiler-lab") due to 3 previous errors; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir_gen/mod.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ReassignConst(String),
[INFO] [stdout]    |     ------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 18 -     ReassignConst(String),
[INFO] [stdout] 18 +     ReassignConst(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir_gen/mod.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Redeclare(String),
[INFO] [stdout]    |     --------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` 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] 19 -     Redeclare(String),
[INFO] [stdout] 19 +     Redeclare(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/ir_gen/mod.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Undefined(String),
[INFO] [stdout]    |     --------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` 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] 21 -     Undefined(String),
[INFO] [stdout] 21 +     Undefined(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]   --> src/ir_gen/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] 17 |     Error(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` 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 `register_manager` is never read
[INFO] [stdout]   --> src/riscv_gen/context.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Context {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub register_manager: RegisterManager,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `registers` is never read
[INFO] [stdout]  --> src/riscv_gen/reg.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct RegisterManager {
[INFO] [stdout]   |                   --------------- field in this struct
[INFO] [stdout] 2 |     registers: Registers,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/riscv_gen/reg.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) struct Registers {
[INFO] [stdout]    |                   --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub ra: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 18 |     // x2 stack pointer, callee-saved
[INFO] [stdout] 19 |     pub sp: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 20 |     // x3 global pointer, N/A
[INFO] [stdout] 21 |     pub gp: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 22 |     // x4 thread pointer, N/A
[INFO] [stdout] 23 |     pub tp: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 24 |     // x5 alternative temp, caller
[INFO] [stdout] 25 |     pub t0: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 26 |     // x6-7 temp, caller
[INFO] [stdout] 27 |     pub t1: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 28 |     pub t2: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 29 |     // x8 s0/fp save or frame pointer, callee
[INFO] [stdout] 30 |     pub fp: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 31 |     // x9 s1, callee
[INFO] [stdout] 32 |     pub s1: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 33 |     // x10, x11: return/function parameter, caller
[INFO] [stdout] 34 |     pub a0: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 35 |     pub a1: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 36 |     // x12-x17: function parameter, caller
[INFO] [stdout] 37 |     pub a2: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 38 |     pub a3: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 39 |     pub a4: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 40 |     pub a5: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 41 |     pub a6: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 42 |     pub a7: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 43 |     // x18-x27 save, callee
[INFO] [stdout] 44 |     pub s2: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 45 |     pub s3: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 46 |     pub s4: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 47 |     pub s5: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 48 |     pub s6: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 49 |     pub s7: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 50 |     pub s8: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 51 |     pub s9: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 52 |     pub s10: bool,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 53 |     pub s11: bool,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 54 |     // x28-x31 temp, caller
[INFO] [stdout] 55 |     pub t3: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 56 |     pub t4: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 57 |     pub t5: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 58 |     pub t6: bool,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Registers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `value_life` is never constructed
[INFO] [stdout]  --> src/analysis/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct value_life {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `live_variable` is never used
[INFO] [stdout]  --> src/analysis/mod.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn live_variable() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<riscv_gen::gen::Program, riscv_gen::Error>
[INFO] [stdout]   --> src/main.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |             let _ = riscv_gen::generate_riscv(koopa, args.args)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<riscv_gen::gen::Program, riscv_gen::Error>
[INFO] [stdout]   --> src/riscv_gen/mod.rs:15:94
[INFO] [stdout]    |
[INFO] [stdout] 15 |   pub fn generate_riscv<'a>(program: koopa::ir::Program, args: Vec<String>) -> Result<Program> {
[INFO] [stdout]    |  ______________________________________________________________________________________________^
[INFO] [stdout] 16 | |     let mut riscv = gen::Program::new();
[INFO] [stdout] 17 | |     let mut cx = Context::new();
[INFO] [stdout] 18 | |     program.generate(&mut riscv, &mut cx);
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     Ok(riscv)
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: std::result::Result<riscv_gen::gen::Program, riscv_gen::Error>
[INFO] [stdout]   --> src/riscv_gen/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     Ok(riscv)
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `weird-compiler-lab` (bin "weird-compiler-lab" test) due to 3 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0dc62324ce738e06903fe9ea4fa771b8f571ec427c5bbeeba8c95f42ef6daba3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dc62324ce738e06903fe9ea4fa771b8f571ec427c5bbeeba8c95f42ef6daba3", kill_on_drop: false }`
[INFO] [stdout] 0dc62324ce738e06903fe9ea4fa771b8f571ec427c5bbeeba8c95f42ef6daba3
