[INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/prepare-commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy/hooks/prepare-commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy/info/exclude': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/tristan-gill/emoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tristan-gill/emoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1e4ca263d68a651abbcea6f1a599d39c2602c50 [INFO] checking tristan-gill/emoboy against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftristan-gill%2Femoboy" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tristan-gill/emoboy [INFO] finished tweaking git repo https://github.com/tristan-gill/emoboy [INFO] tweaked toml for git repo https://github.com/tristan-gill/emoboy written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tristan-gill/emoboy on toolchain 32cd9114712a24010b0583624dc52ac302194128 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tristan-gill/emoboy 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" "+32cd9114712a24010b0583624dc52ac302194128" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84590e95f5503877b5cf080e7fe586bc6c27d570bf4884236c4428e5e78fbe2f [INFO] running `Command { std: "docker" "start" "-a" "84590e95f5503877b5cf080e7fe586bc6c27d570bf4884236c4428e5e78fbe2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84590e95f5503877b5cf080e7fe586bc6c27d570bf4884236c4428e5e78fbe2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84590e95f5503877b5cf080e7fe586bc6c27d570bf4884236c4428e5e78fbe2f", kill_on_drop: false }` [INFO] [stdout] 84590e95f5503877b5cf080e7fe586bc6c27d570bf4884236c4428e5e78fbe2f [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ea1feff793c31d369a184071fe93a0236a427a00f3c163826f40423eba1bda0 [INFO] running `Command { std: "docker" "start" "-a" "0ea1feff793c31d369a184071fe93a0236a427a00f3c163826f40423eba1bda0", kill_on_drop: false }` [INFO] [stderr] Checking emoboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RegByte` and `Registers` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | registers::{RegByte, Registers}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `self` [INFO] [stdout] --> src/cartridge.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RegWord` and `Registers` [INFO] [stdout] --> src/cartridge.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::registers::{RegWord, Registers}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cpu.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | cartridge::{self, Cartridge}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::clock` [INFO] [stdout] --> src/opcode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::clock; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/opcode.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::registers::{self, RegByte, RegFlag}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_A_B` should have an upper camel case name [INFO] [stdout] --> src/opcode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ADD_A_B = 0x80, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddAB` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_A_C` should have an upper camel case name [INFO] [stdout] --> src/opcode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ADD_A_C = 0x81, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddAC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RES_0_B` should have an upper camel case name [INFO] [stdout] --> src/opcode.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | RES_0_B = 0x80, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Res0B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RegByte` and `Registers` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | registers::{RegByte, Registers}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `self` [INFO] [stdout] --> src/cartridge.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RegWord` and `Registers` [INFO] [stdout] --> src/cartridge.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::registers::{RegWord, Registers}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cpu.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | cartridge::{self, Cartridge}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::clock` [INFO] [stdout] --> src/opcode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::clock; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/opcode.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::registers::{self, RegByte, RegFlag}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_A_B` should have an upper camel case name [INFO] [stdout] --> src/opcode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ADD_A_B = 0x80, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddAB` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_A_C` should have an upper camel case name [INFO] [stdout] --> src/opcode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ADD_A_C = 0x81, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddAC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RES_0_B` should have an upper camel case name [INFO] [stdout] --> src/opcode.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | RES_0_B = 0x80, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Res0B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/cartridge.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufReader, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/opcode.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | _ => panic!("Invalid OpCode!"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/opcode.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 16 | OpCode::ADD_A_B => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 19 | OpCode::ADD_A_C => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | _ => panic!("Invalid OpCode!"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let cpu = Cpu::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `t_cycles` and `m_cycles` are never read [INFO] [stdout] --> src/clock.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Clock { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | t_cycles: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | m_cycles: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cycle_clock` and `reset_clock` are never used [INFO] [stdout] --> src/clock.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Clock { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn cycle_clock(&mut self, cycles: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn reset_clock(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `registers`, `memory`, and `clock` are never read [INFO] [stdout] --> src/cpu.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 9 | pub registers: Registers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | memory: Memory, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub clock: Clock, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fetch_next_byte` and `read_byte` are never used [INFO] [stdout] --> src/cpu.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Cpu { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn fetch_next_byte(&mut self, cartridge: &Cartridge) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn read_byte() {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ram` is never read [INFO] [stdout] --> src/memory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 2 | // in the future, split this into the different regions and named better [INFO] [stdout] 3 | ram: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpCode` is never used [INFO] [stdout] --> src/opcode.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrefixOpCode` is never used [INFO] [stdout] --> src/opcode.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum PrefixOpCode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_opcode` is never used [INFO] [stdout] --> src/opcode.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn execute_opcode(cpu: &mut cpu::Cpu, code: OpCode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_half_carry` is never used [INFO] [stdout] --> src/opcode.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn calculate_half_carry(byte1: u8, byte2: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_zero_flag` is never used [INFO] [stdout] --> src/opcode.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn update_zero_flag(cpu: &mut cpu::Cpu, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_half_carry_flag` is never used [INFO] [stdout] --> src/opcode.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn update_half_carry_flag(cpu: &mut cpu::Cpu, hc: bool, hc2: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_carry_flag` is never used [INFO] [stdout] --> src/opcode.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn update_carry_flag(cpu: &mut cpu::Cpu, carry: bool, carry2: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_register_to_A` is never used [INFO] [stdout] --> src/opcode.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn add_register_to_A(cpu: &mut cpu::Cpu, register: &RegByte) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegByte` is never used [INFO] [stdout] --> src/registers.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum RegByte { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegWord` is never used [INFO] [stdout] --> src/registers.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum RegWord { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegFlag` is never used [INFO] [stdout] --> src/registers.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum RegFlag { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/registers.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Registers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 29 | a: u8, [INFO] [stdout] | ^ [INFO] [stdout] 30 | b: u8, [INFO] [stdout] | ^ [INFO] [stdout] 31 | c: u8, [INFO] [stdout] | ^ [INFO] [stdout] 32 | d: u8, [INFO] [stdout] | ^ [INFO] [stdout] 33 | e: u8, [INFO] [stdout] | ^ [INFO] [stdout] 34 | f: u8, [INFO] [stdout] | ^ [INFO] [stdout] 35 | h: u8, [INFO] [stdout] | ^ [INFO] [stdout] 36 | l: u8, [INFO] [stdout] | ^ [INFO] [stdout] 37 | sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | pc: u16, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/registers.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn read_byte(&self, register: &RegByte) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn write_byte(&mut self, register: RegByte, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn read_word(&self, register: RegWord) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn write_word(&mut self, register: RegWord, value: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn read_flag(&self, register_flag: RegFlag) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn write_flag(&mut self, register_flag: RegFlag, value: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn add_carry(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn increment_pc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_register_to_A` should have a snake case name [INFO] [stdout] --> src/opcode.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn add_register_to_A(cpu: &mut cpu::Cpu, register: &RegByte) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_register_to_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/cartridge.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufReader, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/opcode.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | _ => panic!("Invalid OpCode!"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/opcode.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 16 | OpCode::ADD_A_B => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 19 | OpCode::ADD_A_C => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | _ => panic!("Invalid OpCode!"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let cpu = Cpu::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_clock` is never used [INFO] [stdout] --> src/clock.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Clock { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn reset_clock(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/cpu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | pub registers: Registers, [INFO] [stdout] 10 | memory: Memory, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fetch_next_byte` and `read_byte` are never used [INFO] [stdout] --> src/cpu.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Cpu { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn fetch_next_byte(&mut self, cartridge: &Cartridge) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn read_byte() {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ram` is never read [INFO] [stdout] --> src/memory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 2 | // in the future, split this into the different regions and named better [INFO] [stdout] 3 | ram: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_A_C` is never constructed [INFO] [stdout] --> src/opcode.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum OpCode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 6 | ADD_A_B = 0x80, [INFO] [stdout] 7 | ADD_A_C = 0x81, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrefixOpCode` is never used [INFO] [stdout] --> src/opcode.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum PrefixOpCode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `increment_pc` is never used [INFO] [stdout] --> src/registers.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Registers { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn increment_pc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_register_to_A` should have a snake case name [INFO] [stdout] --> src/opcode.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn add_register_to_A(cpu: &mut cpu::Cpu, register: &RegByte) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_register_to_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_op_code_ADD_A_B_add_0_0` should have a snake case name [INFO] [stdout] --> src/opcode.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn execute_op_code_ADD_A_B_add_0_0() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `execute_op_code_add_a_b_add_0_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_op_code_ADD_A_B_add_0_24` should have a snake case name [INFO] [stdout] --> src/opcode.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn execute_op_code_ADD_A_B_add_0_24() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `execute_op_code_add_a_b_add_0_24` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_op_code_ADD_A_B_add_1_15` should have a snake case name [INFO] [stdout] --> src/opcode.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn execute_op_code_ADD_A_B_add_1_15() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `execute_op_code_add_a_b_add_1_15` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_op_code_ADD_A_B_add_243_25` should have a snake case name [INFO] [stdout] --> src/opcode.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn execute_op_code_ADD_A_B_add_243_25() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `execute_op_code_add_a_b_add_243_25` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_op_code_ADD_A_B_add_200_25_and_carry` should have a snake case name [INFO] [stdout] --> src/opcode.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | fn execute_op_code_ADD_A_B_add_200_25_and_carry() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `execute_op_code_add_a_b_add_200_25_and_carry` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "0ea1feff793c31d369a184071fe93a0236a427a00f3c163826f40423eba1bda0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea1feff793c31d369a184071fe93a0236a427a00f3c163826f40423eba1bda0", kill_on_drop: false }` [INFO] [stdout] 0ea1feff793c31d369a184071fe93a0236a427a00f3c163826f40423eba1bda0