[INFO] cloning repository https://github.com/pedroamericovinhas/chip-n-claw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedroamericovinhas/chip-n-claw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroamericovinhas%2Fchip-n-claw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroamericovinhas%2Fchip-n-claw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80bb8e75b026e39df06e94591da53cdcb599fb4e [INFO] checking pedroamericovinhas/chip-n-claw against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroamericovinhas%2Fchip-n-claw" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pedroamericovinhas/chip-n-claw [INFO] finished tweaking git repo https://github.com/pedroamericovinhas/chip-n-claw [INFO] tweaked toml for git repo https://github.com/pedroamericovinhas/chip-n-claw written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pedroamericovinhas/chip-n-claw on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pedroamericovinhas/chip-n-claw 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63da9da55b93e3f2e95cecd9ff5c9f3de24abc67c6a7c9295da47a277eff78ad [INFO] running `Command { std: "docker" "start" "-a" "63da9da55b93e3f2e95cecd9ff5c9f3de24abc67c6a7c9295da47a277eff78ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63da9da55b93e3f2e95cecd9ff5c9f3de24abc67c6a7c9295da47a277eff78ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63da9da55b93e3f2e95cecd9ff5c9f3de24abc67c6a7c9295da47a277eff78ad", kill_on_drop: false }` [INFO] [stdout] 63da9da55b93e3f2e95cecd9ff5c9f3de24abc67c6a7c9295da47a277eff78ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54795159e8834d976a6612810d7558a16359d8b3793f4fe16224498f04bb9b7a [INFO] running `Command { std: "docker" "start" "-a" "54795159e8834d976a6612810d7558a16359d8b3793f4fe16224498f04bb9b7a", kill_on_drop: false }` [INFO] [stderr] Checking chip-n-claw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | fn s_n_e(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | fn ld_i(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:329:31 [INFO] [stdout] | [INFO] [stdout] 329 | fn jp_v0(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:332:29 [INFO] [stdout] | [INFO] [stdout] 332 | fn rnd(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:335:29 [INFO] [stdout] | [INFO] [stdout] 335 | fn drw(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | fn skp(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | fn sknp(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:344:35 [INFO] [stdout] | [INFO] [stdout] 344 | fn ld_reg_dt(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:347:33 [INFO] [stdout] | [INFO] [stdout] 347 | fn ld_wait(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:350:35 [INFO] [stdout] | [INFO] [stdout] 350 | fn ld_dt_reg(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:353:31 [INFO] [stdout] | [INFO] [stdout] 353 | fn ld_st(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | fn add_i(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:359:32 [INFO] [stdout] | [INFO] [stdout] 359 | fn ld_loc(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:362:32 [INFO] [stdout] | [INFO] [stdout] 362 | fn ld_bcd(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:365:36 [INFO] [stdout] | [INFO] [stdout] 365 | fn store_regs(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:368:35 [INFO] [stdout] | [INFO] [stdout] 368 | fn read_regs(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ram`, `i`, `dt`, and `st` are never read [INFO] [stdout] --> src/architecture.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Architecture { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | ram: [u8; RAM_SIZE], [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | i: u16, [INFO] [stdout] | ^ [INFO] [stdout] 18 | pc: u16, [INFO] [stdout] 19 | dt: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | st: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Architecture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `exit` is never used [INFO] [stdout] --> src/architecture.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl Architecture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 372 | fn exit() -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/architecture/stack.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:220:24 [INFO] [stdout] | [INFO] [stdout] 220 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 221 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:262:24 [INFO] [stdout] | [INFO] [stdout] 262 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip-n-claw` (bin "chip-n-claw") due to 20 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | fn s_n_e(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | fn ld_i(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:329:31 [INFO] [stdout] | [INFO] [stdout] 329 | fn jp_v0(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:332:29 [INFO] [stdout] | [INFO] [stdout] 332 | fn rnd(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:335:29 [INFO] [stdout] | [INFO] [stdout] 335 | fn drw(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | fn skp(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | fn sknp(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:344:35 [INFO] [stdout] | [INFO] [stdout] 344 | fn ld_reg_dt(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:347:33 [INFO] [stdout] | [INFO] [stdout] 347 | fn ld_wait(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:350:35 [INFO] [stdout] | [INFO] [stdout] 350 | fn ld_dt_reg(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:353:31 [INFO] [stdout] | [INFO] [stdout] 353 | fn ld_st(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | fn add_i(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:359:32 [INFO] [stdout] | [INFO] [stdout] 359 | fn ld_loc(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:362:32 [INFO] [stdout] | [INFO] [stdout] 362 | fn ld_bcd(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:365:36 [INFO] [stdout] | [INFO] [stdout] 365 | fn store_regs(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/architecture.rs:368:35 [INFO] [stdout] | [INFO] [stdout] 368 | fn read_regs(self: &mut Self, instruction: u16) -> () { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ram`, `i`, `dt`, and `st` are never read [INFO] [stdout] --> src/architecture.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Architecture { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | ram: [u8; RAM_SIZE], [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | i: u16, [INFO] [stdout] | ^ [INFO] [stdout] 18 | pc: u16, [INFO] [stdout] 19 | dt: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | st: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Architecture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `exit` is never used [INFO] [stdout] --> src/architecture.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl Architecture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 372 | fn exit() -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/architecture/stack.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:220:24 [INFO] [stdout] | [INFO] [stdout] 220 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 221 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:262:24 [INFO] [stdout] | [INFO] [stdout] 262 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | let y: usize = ((instruction & 0x00F0) >> 1 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/architecture.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | let x: usize = ((instruction & 0x0F00) >> 2 * 4).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip-n-claw` (bin "chip-n-claw" test) due to 20 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "54795159e8834d976a6612810d7558a16359d8b3793f4fe16224498f04bb9b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54795159e8834d976a6612810d7558a16359d8b3793f4fe16224498f04bb9b7a", kill_on_drop: false }` [INFO] [stdout] 54795159e8834d976a6612810d7558a16359d8b3793f4fe16224498f04bb9b7a