[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 master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Fr2v" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bokuweb/r2v on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.1.13 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded ryu v1.0.3 [INFO] [stderr] Downloaded insta v0.13.1 [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded regex v1.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6e31b00cb12ba114fbadd9a3765d7d1fc784983f3deb81252dcb0f6e155bb1f [INFO] running `Command { std: "docker" "start" "-a" "c6e31b00cb12ba114fbadd9a3765d7d1fc784983f3deb81252dcb0f6e155bb1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6e31b00cb12ba114fbadd9a3765d7d1fc784983f3deb81252dcb0f6e155bb1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e31b00cb12ba114fbadd9a3765d7d1fc784983f3deb81252dcb0f6e155bb1f", kill_on_drop: false }` [INFO] [stdout] c6e31b00cb12ba114fbadd9a3765d7d1fc784983f3deb81252dcb0f6e155bb1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 196d443a97fea81956592c6a6f6759ac792fdebe3596b8d8b4591cce83fc5c8e [INFO] running `Command { std: "docker" "start" "-a" "196d443a97fea81956592c6a6f6759ac792fdebe3596b8d8b4591cce83fc5c8e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking regex v1.3.5 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Compiling num-derive v0.2.5 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 13.71s [INFO] running `Command { std: "docker" "inspect" "196d443a97fea81956592c6a6f6759ac792fdebe3596b8d8b4591cce83fc5c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "196d443a97fea81956592c6a6f6759ac792fdebe3596b8d8b4591cce83fc5c8e", kill_on_drop: false }` [INFO] [stdout] 196d443a97fea81956592c6a6f6759ac792fdebe3596b8d8b4591cce83fc5c8e