[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] dc49bdd46538729c37884b0a47013ae70ea06a17 [INFO] checking r1cebank/rgb against master#0dce3f606e05cffab7361c132a399d3550ab0df8 for pr-78376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1cebank%2Frgb" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r1cebank/rgb on toolchain 0dce3f606e05cffab7361c132a399d3550ab0df8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "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-12/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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 43dac8513384c5dce1af5a59b0cbc598a58cf995517b0786d8705be1eaf33c92 [INFO] running `Command { std: "docker" "start" "-a" "43dac8513384c5dce1af5a59b0cbc598a58cf995517b0786d8705be1eaf33c92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43dac8513384c5dce1af5a59b0cbc598a58cf995517b0786d8705be1eaf33c92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43dac8513384c5dce1af5a59b0cbc598a58cf995517b0786d8705be1eaf33c92", kill_on_drop: false }` [INFO] [stdout] 43dac8513384c5dce1af5a59b0cbc598a58cf995517b0786d8705be1eaf33c92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed7ab0a28153fdaf0a3a0b9f4066d2b41c22ba9e2f9384bc77ae38baaa6e995c [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" "ed7ab0a28153fdaf0a3a0b9f4066d2b41c22ba9e2f9384bc77ae38baaa6e995c", 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] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [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] Compiling serde_json v1.0.59 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking strum v0.19.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Checking gba-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `dmg01` should have an upper camel case name [INFO] [stdout] --> src/dmg01.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct dmg01 { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Dmg01` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | Instruction::LD(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [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:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | 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:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | 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:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | 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:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | 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:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | 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:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | 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:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | 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:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | 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:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | 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:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | 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:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | 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:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | 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:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | 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:77:40 [INFO] [stdout] | [INFO] [stdout] 77 | 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:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | 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:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | 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:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | 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:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | 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:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | 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:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | 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:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | 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:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | 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:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | 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:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | 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:150:38 [INFO] [stdout] | [INFO] [stdout] 150 | 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:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | 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:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | 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:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | 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:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | 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:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | 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:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | 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:165:51 [INFO] [stdout] | [INFO] [stdout] 165 | 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:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | 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:168:51 [INFO] [stdout] | [INFO] [stdout] 168 | 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: unused variable: `cycles` [INFO] [stdout] --> src/memory/mod.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn next(&mut self, cycles: u32) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [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: `is_halted` [INFO] [stdout] --> src/cpu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | is_halted: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interrupts_enabled` [INFO] [stdout] --> src/cpu/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | interrupts_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `boot_rom` [INFO] [stdout] --> src/memory/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | boot_rom: [u8; BOOT_ROM_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | S: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | M: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `H` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | H: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DL` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DL: u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DH` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | DH: u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dmg01` should have an upper camel case name [INFO] [stdout] --> src/dmg01.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct dmg01 { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Dmg01` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation_type` [INFO] [stdout] --> src/cpu/mod.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | Instruction::LD(operation_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation_type` [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:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | 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:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | 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:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | 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:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | 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:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | 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:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | 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:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | 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:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | 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:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | 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:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | 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:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | 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:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | 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:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | 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:77:40 [INFO] [stdout] | [INFO] [stdout] 77 | 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:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | 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:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | 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:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | 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:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | 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:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | 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:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | 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:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | 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:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | 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:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | 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:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | 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:150:38 [INFO] [stdout] | [INFO] [stdout] 150 | 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:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | 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:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | 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:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | 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:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | 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:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | 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:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | 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:165:51 [INFO] [stdout] | [INFO] [stdout] 165 | 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:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | 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:168:51 [INFO] [stdout] | [INFO] [stdout] 168 | 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: unused variable: `cycles` [INFO] [stdout] --> src/memory/mod.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn next(&mut self, cycles: u32) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [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: `is_halted` [INFO] [stdout] --> src/cpu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | is_halted: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interrupts_enabled` [INFO] [stdout] --> src/cpu/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | interrupts_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `boot_rom` [INFO] [stdout] --> src/memory/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | boot_rom: [u8; BOOT_ROM_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | S: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | M: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `H` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | H: u8, [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DL` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DL: u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DH` should have a snake case name [INFO] [stdout] --> src/cartridge/rtc.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | DH: u8, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.99s [INFO] running `Command { std: "docker" "inspect" "ed7ab0a28153fdaf0a3a0b9f4066d2b41c22ba9e2f9384bc77ae38baaa6e995c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7ab0a28153fdaf0a3a0b9f4066d2b41c22ba9e2f9384bc77ae38baaa6e995c", kill_on_drop: false }` [INFO] [stdout] ed7ab0a28153fdaf0a3a0b9f4066d2b41c22ba9e2f9384bc77ae38baaa6e995c