[INFO] cloning repository https://github.com/mochidaz/simple-cpu-emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mochidaz/simple-cpu-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochidaz%2Fsimple-cpu-emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochidaz%2Fsimple-cpu-emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1ec843156a4f62794945537bee40a76e57cb3081
[INFO] checking mochidaz/simple-cpu-emulator against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochidaz%2Fsimple-cpu-emulator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mochidaz/simple-cpu-emulator
[INFO] finished tweaking git repo https://github.com/mochidaz/simple-cpu-emulator
[INFO] tweaked toml for git repo https://github.com/mochidaz/simple-cpu-emulator written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mochidaz/simple-cpu-emulator on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mochidaz/simple-cpu-emulator 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e02f0ca910a0c7f632519723a9e679c9da577bac09f4b4822c79aa17447a1554
[INFO] running `Command { std: "docker" "start" "e02f0ca910a0c7f632519723a9e679c9da577bac09f4b4822c79aa17447a1554", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e02f0ca910a0c7f632519723a9e679c9da577bac09f4b4822c79aa17447a1554", 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" "e02f0ca910a0c7f632519723a9e679c9da577bac09f4b4822c79aa17447a1554" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e02f0ca910a0c7f632519723a9e679c9da577bac09f4b4822c79aa17447a1554", 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" "e02f0ca910a0c7f632519723a9e679c9da577bac09f4b4822c79aa17447a1554" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking cpu-emulation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/cpu.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum Register {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 19 |     R0 = 0x0,
[INFO] [stdout] 20 |     R1 = 0x1,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 21 |     R2 = 0x2,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 22 |     R3 = 0x3,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 23 |     R4 = 0x4,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 24 |     R5 = 0x5,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 25 |     R6 = 0x6,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 26 |     R7 = 0x7,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Register` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_reg` is never used
[INFO] [stdout]   --> src/cpu.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl CPU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn set_reg(&mut self, register: Register, value: u8) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Data` is never constructed
[INFO] [stdout]  --> src/mem.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum MemoryCell {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 4 |     Data(u8),
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load`, `pop`, `read`, and `write` are never used
[INFO] [stdout]   --> src/mem.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Memory {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn load(&mut self, data: Vec<u8>) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn pop(&mut self) -> OpCode {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn read(&mut self, address: usize) -> u8 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn write(&mut self, address: usize, data: u8) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/cpu.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum Register {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 19 |     R0 = 0x0,
[INFO] [stdout] 20 |     R1 = 0x1,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 21 |     R2 = 0x2,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 22 |     R3 = 0x3,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 23 |     R4 = 0x4,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 24 |     R5 = 0x5,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 25 |     R6 = 0x6,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 26 |     R7 = 0x7,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Register` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_reg` is never used
[INFO] [stdout]   --> src/cpu.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl CPU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn set_reg(&mut self, register: Register, value: u8) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Data` is never constructed
[INFO] [stdout]  --> src/mem.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum MemoryCell {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 4 |     Data(u8),
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load`, `pop`, `read`, and `write` are never used
[INFO] [stdout]   --> src/mem.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Memory {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn load(&mut self, data: Vec<u8>) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn pop(&mut self) -> OpCode {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn read(&mut self, address: usize) -> u8 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn write(&mut self, address: usize, data: u8) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "e02f0ca910a0c7f632519723a9e679c9da577bac09f4b4822c79aa17447a1554", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e02f0ca910a0c7f632519723a9e679c9da577bac09f4b4822c79aa17447a1554", kill_on_drop: false }`
[INFO] [stdout] e02f0ca910a0c7f632519723a9e679c9da577bac09f4b4822c79aa17447a1554
