[INFO] cloning repository https://github.com/bokuweb/r2v [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bokuweb/r2v" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Fr2v", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Fr2v'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45c029335dffb12acbc330b6030b57e6584a7b57 [INFO] checking bokuweb/r2v against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Fr2v" "/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/bokuweb/r2v [INFO] finished tweaking git repo https://github.com/bokuweb/r2v [INFO] tweaked toml for git repo https://github.com/bokuweb/r2v written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bokuweb/r2v on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bokuweb/r2v 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a78a397a0315048a7df4a8ae97c7b3e2b7117460de114b0f73f4b15be07bbb7 [INFO] running `Command { std: "docker" "start" "-a" "2a78a397a0315048a7df4a8ae97c7b3e2b7117460de114b0f73f4b15be07bbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a78a397a0315048a7df4a8ae97c7b3e2b7117460de114b0f73f4b15be07bbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a78a397a0315048a7df4a8ae97c7b3e2b7117460de114b0f73f4b15be07bbb7", kill_on_drop: false }` [INFO] [stdout] 2a78a397a0315048a7df4a8ae97c7b3e2b7117460de114b0f73f4b15be07bbb7 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 056b20fb3b187fc22a04f100f54fb44ebb7e9bbab28c544e2030cf4fcba9fc2f [INFO] running `Command { std: "docker" "start" "-a" "056b20fb3b187fc22a04f100f54fb44ebb7e9bbab28c544e2030cf4fcba9fc2f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking regex v1.3.5 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Checking r2v v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `x` and `csr` are never read [INFO] [stdout] --> src/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 8 | x: [i32; 32], [INFO] [stdout] | ^ [INFO] [stdout] 9 | pc: u32, [INFO] [stdout] 10 | csr: [u32; 1024], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cpu.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn tick(&mut self) -> Instruction { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn fetch(&mut self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn exec(&mut self, inst: Instruction) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn read_byte(&mut self, addr: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn read_halfword(&self, addr: u32) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn read_word(&self, addr: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn write_byte(&mut self, addr: u32, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn write_halfword(&mut self, addr: u32, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn write_word(&mut self, addr: u32, data: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn decode(&self, d: u32) -> Instruction { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rd`, `rs1`, and `rs2` are never used [INFO] [stdout] --> src/instruction/format.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl R { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 24 | pub fn rd(self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn rs1(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn rs2(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rs1`, `rs2`, and `imm` are never used [INFO] [stdout] --> src/instruction/format.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 50 | impl B { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 51 | pub fn rs1(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn rs2(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn imm(self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rs1`, `rs2`, and `imm` are never used [INFO] [stdout] --> src/instruction/format.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 79 | impl S { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 80 | pub fn rs1(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn rs2(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn imm(self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rd` and `imm` are never used [INFO] [stdout] --> src/instruction/format.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 104 | impl U { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 105 | pub fn rd(self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn imm(self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rd` and `imm` are never used [INFO] [stdout] --> src/instruction/format.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 125 | impl J { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 126 | pub fn rd(self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn imm(self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rd`, `rs1`, `imm`, and `csr` are never used [INFO] [stdout] --> src/instruction/format.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 149 | impl I { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 150 | pub fn rd(self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn rs1(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn imm(self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn csr(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instruction/instructions.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking insta v0.13.1 [INFO] [stdout] warning: fields `x` and `csr` are never read [INFO] [stdout] --> src/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 8 | x: [i32; 32], [INFO] [stdout] | ^ [INFO] [stdout] 9 | pc: u32, [INFO] [stdout] 10 | csr: [u32; 1024], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cpu.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn tick(&mut self) -> Instruction { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn fetch(&mut self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn exec(&mut self, inst: Instruction) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn read_byte(&mut self, addr: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn read_halfword(&self, addr: u32) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn read_word(&self, addr: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn write_byte(&mut self, addr: u32, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn write_halfword(&mut self, addr: u32, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn write_word(&mut self, addr: u32, data: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn decode(&self, d: u32) -> Instruction { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rd`, `rs1`, and `rs2` are never used [INFO] [stdout] --> src/instruction/format.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl R { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 24 | pub fn rd(self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn rs1(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn rs2(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rs1`, `rs2`, and `imm` are never used [INFO] [stdout] --> src/instruction/format.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 50 | impl B { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 51 | pub fn rs1(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn rs2(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn imm(self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rs1`, `rs2`, and `imm` are never used [INFO] [stdout] --> src/instruction/format.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 79 | impl S { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 80 | pub fn rs1(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn rs2(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn imm(self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rd` and `imm` are never used [INFO] [stdout] --> src/instruction/format.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 104 | impl U { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 105 | pub fn rd(self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn imm(self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rd` and `imm` are never used [INFO] [stdout] --> src/instruction/format.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 125 | impl J { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 126 | pub fn rd(self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn imm(self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rd`, `rs1`, `imm`, and `csr` are never used [INFO] [stdout] --> src/instruction/format.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 149 | impl I { [INFO] [stdout] | ------ methods in this implementation [INFO] [stdout] 150 | pub fn rd(self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn rs1(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn imm(self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn csr(self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instruction/instructions.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.82s [INFO] running `Command { std: "docker" "inspect" "056b20fb3b187fc22a04f100f54fb44ebb7e9bbab28c544e2030cf4fcba9fc2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056b20fb3b187fc22a04f100f54fb44ebb7e9bbab28c544e2030cf4fcba9fc2f", kill_on_drop: false }` [INFO] [stdout] 056b20fb3b187fc22a04f100f54fb44ebb7e9bbab28c544e2030cf4fcba9fc2f