[INFO] cloning repository https://github.com/r1cebank/rgb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r1cebank/rgb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1cebank%2Frgb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1cebank%2Frgb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88c1b58014afebd7a0b1ef6c973198cddf9c0617 [INFO] checking r1cebank/rgb against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1cebank%2Frgb" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r1cebank/rgb on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r1cebank/rgb [INFO] finished tweaking git repo https://github.com/r1cebank/rgb [INFO] tweaked toml for git repo https://github.com/r1cebank/rgb written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/r1cebank/rgb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.19.4 [INFO] [stderr] Downloaded syn v1.0.45 [INFO] [stderr] Downloaded strum v0.19.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 040d343a7201efd1fdec8a4076840c50e6733cd6115b3c9544769f85661cb73a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "040d343a7201efd1fdec8a4076840c50e6733cd6115b3c9544769f85661cb73a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "040d343a7201efd1fdec8a4076840c50e6733cd6115b3c9544769f85661cb73a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040d343a7201efd1fdec8a4076840c50e6733cd6115b3c9544769f85661cb73a", kill_on_drop: false }` [INFO] [stdout] 040d343a7201efd1fdec8a4076840c50e6733cd6115b3c9544769f85661cb73a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1ec33b5fa6d9e0fad533fef1b6cf0347121ceb9148fd2505ee44d6d9632a42a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e1ec33b5fa6d9e0fad533fef1b6cf0347121ceb9148fd2505ee44d6d9632a42a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking strum v0.19.5 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Checking gba-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `boot_buffer` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let boot_buffer = matches.value_of("boot").map(|path| buffer_from_file(path)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boot_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | Instruction::LD(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | Instruction::LDH(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | Instruction::ADD(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | Instruction::AND(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | Instruction::ADC(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | Instruction::SBC(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | Instruction::XOR(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | Instruction::OR(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | Instruction::CP(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | Instruction::SUB(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | Instruction::INC(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | Instruction::DEC(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | Instruction::JR(condition, address) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu/mod.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | Instruction::JR(condition, address) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | Instruction::JP(condition, address) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu/mod.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | Instruction::JP(condition, address) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | Instruction::CALL(condition, address) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu/mod.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | Instruction::CALL(condition, address) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | Instruction::RST(condition) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/cpu/mod.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | Instruction::PUSH(register) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/cpu/mod.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | Instruction::POP(register) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | Instruction::RET(condition) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | Instruction::RL(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | Instruction::RR(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 152 | Instruction::RLC(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:155:42 [INFO] [stdout] | [INFO] [stdout] 155 | Instruction::RRC(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | Instruction::SLA(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:161:42 [INFO] [stdout] | [INFO] [stdout] 161 | Instruction::SRA(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | Instruction::SRL(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:167:43 [INFO] [stdout] | [INFO] [stdout] 167 | Instruction::SWAP(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 170 | Instruction::BIT(target_type, location) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/cpu/mod.rs:170:55 [INFO] [stdout] | [INFO] [stdout] 170 | Instruction::BIT(target_type, location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | Instruction::RES(target_type, location) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/cpu/mod.rs:173:55 [INFO] [stdout] | [INFO] [stdout] 173 | Instruction::RES(target_type, location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | Instruction::SET(target_type, location) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/cpu/mod.rs:176:55 [INFO] [stdout] | [INFO] [stdout] 176 | Instruction::SET(target_type, location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/cpu/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | memory: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/cpu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pc: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sp: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_halted` [INFO] [stdout] --> src/cpu/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | is_halted: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interrupts_enabled` [INFO] [stdout] --> src/cpu/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | interrupts_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOOT_ROM_SIZE` [INFO] [stdout] --> src/memory/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const BOOT_ROM_SIZE: usize = 0x100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stdout] warning: unused variable: `boot_buffer` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let boot_buffer = matches.value_of("boot").map(|path| buffer_from_file(path)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boot_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | Instruction::LD(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | Instruction::LDH(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | Instruction::ADD(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | Instruction::AND(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | Instruction::ADC(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | Instruction::SBC(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | Instruction::XOR(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | Instruction::OR(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | Instruction::CP(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | Instruction::SUB(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | Instruction::INC(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | Instruction::DEC(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | Instruction::JR(condition, address) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu/mod.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | Instruction::JR(condition, address) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | Instruction::JP(condition, address) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu/mod.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | Instruction::JP(condition, address) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | Instruction::CALL(condition, address) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cpu/mod.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | Instruction::CALL(condition, address) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | Instruction::RST(condition) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/cpu/mod.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | Instruction::PUSH(register) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/cpu/mod.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | Instruction::POP(register) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/cpu/mod.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | Instruction::RET(condition) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | Instruction::RL(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | Instruction::RR(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 152 | Instruction::RLC(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:155:42 [INFO] [stdout] | [INFO] [stdout] 155 | Instruction::RRC(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | Instruction::SLA(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:161:42 [INFO] [stdout] | [INFO] [stdout] 161 | Instruction::SRA(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | Instruction::SRL(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:167:43 [INFO] [stdout] | [INFO] [stdout] 167 | Instruction::SWAP(target_type) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 170 | Instruction::BIT(target_type, location) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/cpu/mod.rs:170:55 [INFO] [stdout] | [INFO] [stdout] 170 | Instruction::BIT(target_type, location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | Instruction::RES(target_type, location) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/cpu/mod.rs:173:55 [INFO] [stdout] | [INFO] [stdout] 173 | Instruction::RES(target_type, location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_type` [INFO] [stdout] --> src/cpu/mod.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | Instruction::SET(target_type, location) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/cpu/mod.rs:176:55 [INFO] [stdout] | [INFO] [stdout] 176 | Instruction::SET(target_type, location) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/cpu/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | memory: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/cpu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pc: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sp: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_halted` [INFO] [stdout] --> src/cpu/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | is_halted: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interrupts_enabled` [INFO] [stdout] --> src/cpu/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | interrupts_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOOT_ROM_SIZE` [INFO] [stdout] --> src/memory/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const BOOT_ROM_SIZE: usize = 0x100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.87s [INFO] running `Command { std: "docker" "inspect" "e1ec33b5fa6d9e0fad533fef1b6cf0347121ceb9148fd2505ee44d6d9632a42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ec33b5fa6d9e0fad533fef1b6cf0347121ceb9148fd2505ee44d6d9632a42a", kill_on_drop: false }` [INFO] [stdout] e1ec33b5fa6d9e0fad533fef1b6cf0347121ceb9148fd2505ee44d6d9632a42a