[INFO] cloning repository https://github.com/simontoft/r8080 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simontoft/r8080" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/push-to-checkout.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080/hooks/push-to-checkout.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/simontoft/r8080 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simontoft/r8080" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/simontoft/r8080 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simontoft/r8080" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/simontoft/r8080 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simontoft/r8080" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/simontoft/r8080 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simontoft/r8080" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/simontoft/r8080 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simontoft/r8080" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/simontoft/r8080 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simontoft/r8080" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/simontoft/r8080 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simontoft/r8080" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 034243373cc6d04ca80c68cdb797f1f7540a7865 [INFO] checking simontoft/r8080 against master#0c478fdfe138a8b09744798c85fe2be657768b00 for pr-139419 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimontoft%2Fr8080" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simontoft/r8080 on toolchain 0c478fdfe138a8b09744798c85fe2be657768b00 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/simontoft/r8080 [INFO] finished tweaking git repo https://github.com/simontoft/r8080 [INFO] tweaked toml for git repo https://github.com/simontoft/r8080 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/simontoft/r8080 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" "+0c478fdfe138a8b09744798c85fe2be657768b00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x11-dl v2.14.0 [INFO] [stderr] Downloaded text_io v0.1.7 [INFO] [stderr] Downloaded minifb v0.10.3 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded libc v0.2.32 [INFO] [stderr] Downloaded rand v0.3.17 [INFO] [stderr] Downloaded orbclient v0.3.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c886ddfacc82a53023722ae17ab7770fa29ac3e8977406a484fecae3adf54e9 [INFO] running `Command { std: "docker" "start" "-a" "0c886ddfacc82a53023722ae17ab7770fa29ac3e8977406a484fecae3adf54e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c886ddfacc82a53023722ae17ab7770fa29ac3e8977406a484fecae3adf54e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c886ddfacc82a53023722ae17ab7770fa29ac3e8977406a484fecae3adf54e9", kill_on_drop: false }` [INFO] [stdout] 0c886ddfacc82a53023722ae17ab7770fa29ac3e8977406a484fecae3adf54e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c093a3da04356bedb846862210510da31ab4d7defb4731c2418e2c897f26a3b [INFO] running `Command { std: "docker" "start" "-a" "4c093a3da04356bedb846862210510da31ab4d7defb4731c2418e2c897f26a3b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Compiling minifb v0.10.3 [INFO] [stderr] Checking r8080 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] extern crate text_io; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cpu.rs:411:22 [INFO] [stdout] | [INFO] [stdout] 411 | for x in (0..WIDTH) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 411 - for x in (0..WIDTH) { [INFO] [stdout] 411 + for x in 0..WIDTH { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:427:26 [INFO] [stdout] | [INFO] [stdout] 427 | self.inp1 |= (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 427 - self.inp1 |= (1 << 5); [INFO] [stdout] 427 + self.inp1 |= 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:432:26 [INFO] [stdout] | [INFO] [stdout] 432 | self.inp1 |= (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 432 - self.inp1 |= (1 << 6); [INFO] [stdout] 432 + self.inp1 |= 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:437:26 [INFO] [stdout] | [INFO] [stdout] 437 | self.inp1 |= (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 437 - self.inp1 |= (1 << 0); [INFO] [stdout] 437 + self.inp1 |= 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:442:26 [INFO] [stdout] | [INFO] [stdout] 442 | self.inp1 |= (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 442 - self.inp1 |= (1 << 2); [INFO] [stdout] 442 + self.inp1 |= 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:447:26 [INFO] [stdout] | [INFO] [stdout] 447 | self.inp1 |= (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - self.inp1 |= (1 << 4); [INFO] [stdout] 447 + self.inp1 |= 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::*` [INFO] [stdout] --> src/instructions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] extern crate text_io; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cpu.rs:411:22 [INFO] [stdout] | [INFO] [stdout] 411 | for x in (0..WIDTH) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 411 - for x in (0..WIDTH) { [INFO] [stdout] 411 + for x in 0..WIDTH { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:427:26 [INFO] [stdout] | [INFO] [stdout] 427 | self.inp1 |= (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 427 - self.inp1 |= (1 << 5); [INFO] [stdout] 427 + self.inp1 |= 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:432:26 [INFO] [stdout] | [INFO] [stdout] 432 | self.inp1 |= (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 432 - self.inp1 |= (1 << 6); [INFO] [stdout] 432 + self.inp1 |= 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:437:26 [INFO] [stdout] | [INFO] [stdout] 437 | self.inp1 |= (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 437 - self.inp1 |= (1 << 0); [INFO] [stdout] 437 + self.inp1 |= 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:442:26 [INFO] [stdout] | [INFO] [stdout] 442 | self.inp1 |= (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 442 - self.inp1 |= (1 << 2); [INFO] [stdout] 442 + self.inp1 |= 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:447:26 [INFO] [stdout] | [INFO] [stdout] 447 | self.inp1 |= (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 447 - self.inp1 |= (1 << 4); [INFO] [stdout] 447 + self.inp1 |= 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::*` [INFO] [stdout] --> src/instructions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/opcode.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/opcode.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 18 | 0x00 => "NOP", [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 19 | 0x01 => "LXI B", [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 20 | 0x02 => "STAX B", [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 21 | 0x03 => "INX B", [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 274 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/opcode.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/opcode.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 18 | 0x00 => "NOP", [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 19 | 0x01 => "LXI B", [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 20 | 0x02 => "STAX B", [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 21 | 0x03 => "INX B", [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 274 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 395 | for (i, byte) in self.get_vram().iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 395 | for (i, byte) in self.get_vram().iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/instructions.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn nop(state: &mut Cpu) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/instructions.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn nop(state: &mut Cpu) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/instructions.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | let lhs = state.a as u16; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/instructions.rs:696:9 [INFO] [stdout] | [INFO] [stdout] 696 | let lhs = state.a as u16; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_rom` is never used [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn test_rom() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `baloon_bomber` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn baloon_bomber() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lunar_rescue` is never used [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn lunar_rescue() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_BC` is never used [INFO] [stdout] --> src/cpu.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const REG_BC: u8 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_DE` is never used [INFO] [stdout] --> src/cpu.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const REG_DE: u8 = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_AF` is never used [INFO] [stdout] --> src/cpu.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const REG_AF: u8 = 3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_A` is never used [INFO] [stdout] --> src/cpu.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const REG_A: u8 = 7; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_M` is never used [INFO] [stdout] --> src/cpu.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const REG_M: u8 = 6; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_pc` is never used [INFO] [stdout] --> src/cpu.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn move_pc(&mut self, address: u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_BC` is never used [INFO] [stdout] --> src/instructions.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const REG_BC: u8 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_AF` is never used [INFO] [stdout] --> src/instructions.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const REG_AF: u8 = 3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/instructions.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | let lhs = state.a as u16; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/instructions.rs:696:9 [INFO] [stdout] | [INFO] [stdout] 696 | let lhs = state.a as u16; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_rom` is never used [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn test_rom() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `baloon_bomber` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn baloon_bomber() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lunar_rescue` is never used [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn lunar_rescue() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_BC` is never used [INFO] [stdout] --> src/cpu.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const REG_BC: u8 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_DE` is never used [INFO] [stdout] --> src/cpu.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const REG_DE: u8 = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_AF` is never used [INFO] [stdout] --> src/cpu.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const REG_AF: u8 = 3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_A` is never used [INFO] [stdout] --> src/cpu.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const REG_A: u8 = 7; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_M` is never used [INFO] [stdout] --> src/cpu.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const REG_M: u8 = 6; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_pc` is never used [INFO] [stdout] --> src/cpu.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn move_pc(&mut self, address: u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_BC` is never used [INFO] [stdout] --> src/instructions.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const REG_BC: u8 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG_AF` is never used [INFO] [stdout] --> src/instructions.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const REG_AF: u8 = 3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "4c093a3da04356bedb846862210510da31ab4d7defb4731c2418e2c897f26a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c093a3da04356bedb846862210510da31ab4d7defb4731c2418e2c897f26a3b", kill_on_drop: false }` [INFO] [stdout] 4c093a3da04356bedb846862210510da31ab4d7defb4731c2418e2c897f26a3b