[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] 3a982df9890c3e571406bf84ed935ac0190d7161 [INFO] checking 000lbh/naive-lab-compiler/3a982df9890c3e571406bf84ed935ac0190d7161 against master#f167efad2f51088d86180ee89177b3d7c9e7c2f5 for pr-129543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F000lbh%2Fnaive-lab-compiler" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/000lbh/naive-lab-compiler on toolchain f167efad2f51088d86180ee89177b3d7c9e7c2f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d26e47536efc1393997021f5c5637fd438629b53a9e66a92b1cd32de5f3ed14c [INFO] running `Command { std: "docker" "start" "-a" "d26e47536efc1393997021f5c5637fd438629b53a9e66a92b1cd32de5f3ed14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d26e47536efc1393997021f5c5637fd438629b53a9e66a92b1cd32de5f3ed14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26e47536efc1393997021f5c5637fd438629b53a9e66a92b1cd32de5f3ed14c", kill_on_drop: false }` [INFO] [stdout] d26e47536efc1393997021f5c5637fd438629b53a9e66a92b1cd32de5f3ed14c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07facb3782aac41aa3e28adcafe3e4197bfed5ac226792c5c610edbb257e5946 [INFO] running `Command { std: "docker" "start" "-a" "07facb3782aac41aa3e28adcafe3e4197bfed5ac226792c5c610edbb257e5946", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ena v0.14.2 [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 itertools v0.11.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [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 petgraph v0.6.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking 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/rvgen/mod.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | ValueKind::ZeroInit(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/rvgen/mod.rs:140:61 [INFO] [stdout] | [INFO] [stdout] 140 | ... 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/rvgen/mod.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | 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/rvgen/mod.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 269 | 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/rvgen/mod.rs:311:29 [INFO] [stdout] | [INFO] [stdout] 311 | 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: unused variable: `v` [INFO] [stdout] --> src/rvgen/mod.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | ValueKind::ZeroInit(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/rvgen/mod.rs:140:61 [INFO] [stdout] | [INFO] [stdout] 140 | ... 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/rvgen/mod.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | 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/rvgen/mod.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 269 | 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/rvgen/mod.rs:311:29 [INFO] [stdout] | [INFO] [stdout] 311 | 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:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_ir` is never read [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut output_ir = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut input = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output` is never read [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut output = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store` is never used [INFO] [stdout] --> src/rvgen/mod.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_ir` is never read [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut output_ir = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut input = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output` is never read [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut output = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store` is never used [INFO] [stdout] --> src/rvgen/mod.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.03s [INFO] running `Command { std: "docker" "inspect" "07facb3782aac41aa3e28adcafe3e4197bfed5ac226792c5c610edbb257e5946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07facb3782aac41aa3e28adcafe3e4197bfed5ac226792c5c610edbb257e5946", kill_on_drop: false }` [INFO] [stdout] 07facb3782aac41aa3e28adcafe3e4197bfed5ac226792c5c610edbb257e5946