[INFO] cloning repository https://github.com/000lbh/naive-lab-compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/000lbh/naive-lab-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F000lbh%2Fnaive-lab-compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F000lbh%2Fnaive-lab-compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 78cce6e787eda7499d7b5cff86e1d5d0dee0df83
[INFO] checking 000lbh/naive-lab-compiler against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F000lbh%2Fnaive-lab-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/000lbh/naive-lab-compiler
[INFO] finished tweaking git repo https://github.com/000lbh/naive-lab-compiler
[INFO] tweaked toml for git repo https://github.com/000lbh/naive-lab-compiler written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/000lbh/naive-lab-compiler on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/000lbh/naive-lab-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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 799da011bc4c890ce935cc29c907649178e3ac8cdec6ae345c7af4e5c30aa918
[INFO] running `Command { std: "docker" "start" "799da011bc4c890ce935cc29c907649178e3ac8cdec6ae345c7af4e5c30aa918", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "799da011bc4c890ce935cc29c907649178e3ac8cdec6ae345c7af4e5c30aa918", 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" "799da011bc4c890ce935cc29c907649178e3ac8cdec6ae345c7af4e5c30aa918" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "799da011bc4c890ce935cc29c907649178e3ac8cdec6ae345c7af4e5c30aa918", 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" "799da011bc4c890ce935cc29c907649178e3ac8cdec6ae345c7af4e5c30aa918" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling ena v0.14.2
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling indexmap v2.2.5
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]     Checking key-node-list v0.0.5
[INFO] [stderr]     Checking koopa v0.0.7
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]     Checking lalrpop-util v0.20.2
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling lalrpop v0.20.2
[INFO] [stderr]    Compiling compiler-principle-lab v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/y86gen/mod.rs:99:45
[INFO] [stdout]    |
[INFO] [stdout] 99 |                         ValueKind::ZeroInit(v) => {
[INFO] [stdout]    |                                             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/y86gen/mod.rs:116:61
[INFO] [stdout]     |
[INFO] [stdout] 116 | ...                   ValueKind::ZeroInit(v) => {
[INFO] [stdout]     |                                           ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/y86gen/mod.rs:239:30
[INFO] [stdout]     |
[INFO] [stdout] 239 |             ValueKind::Alloc(v) => {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/y86gen/mod.rs:245:29
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 if let Some(i) = info.globalmap.get(&v.src()) {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/y86gen/mod.rs:287:29
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 if let Some(i) = info.globalmap.get(&v.dest()) {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn write_all(&mut self, mut buf: &[u8]) -> Result<()> {
[INFO] [stdout]    |                             ----^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store` is never used
[INFO] [stdout]   --> src/y86gen/mod.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn store(writer: &mut impl Write, dest: Value, prog: &Program, info: &GenRiscvInfo, reg: &str) -> Result<()> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/y86gen/mod.rs:99:45
[INFO] [stdout]    |
[INFO] [stdout] 99 |                         ValueKind::ZeroInit(v) => {
[INFO] [stdout]    |                                             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/y86gen/mod.rs:116:61
[INFO] [stdout]     |
[INFO] [stdout] 116 | ...                   ValueKind::ZeroInit(v) => {
[INFO] [stdout]     |                                           ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/y86gen/mod.rs:239:30
[INFO] [stdout]     |
[INFO] [stdout] 239 |             ValueKind::Alloc(v) => {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/y86gen/mod.rs:245:29
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 if let Some(i) = info.globalmap.get(&v.src()) {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/y86gen/mod.rs:287:29
[INFO] [stdout]     |
[INFO] [stdout] 287 |                 if let Some(i) = info.globalmap.get(&v.dest()) {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn write_all(&mut self, mut buf: &[u8]) -> Result<()> {
[INFO] [stdout]    |                             ----^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store` is never used
[INFO] [stdout]   --> src/y86gen/mod.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn store(writer: &mut impl Write, dest: Value, prog: &Program, info: &GenRiscvInfo, reg: &str) -> Result<()> {
[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 46.31s
[INFO] running `Command { std: "docker" "inspect" "799da011bc4c890ce935cc29c907649178e3ac8cdec6ae345c7af4e5c30aa918", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "799da011bc4c890ce935cc29c907649178e3ac8cdec6ae345c7af4e5c30aa918", kill_on_drop: false }`
[INFO] [stdout] 799da011bc4c890ce935cc29c907649178e3ac8cdec6ae345c7af4e5c30aa918
