[INFO] cloning repository https://github.com/hellopatrick/piranha [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hellopatrick/piranha" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fpiranha", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fpiranha'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 042cd1b19b6187120d4964b6195581df6079f373 [INFO] building hellopatrick/piranha against master#ce36a966c79e109dabeef7a47fe68e5294c6d71e for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fpiranha" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hellopatrick/piranha on toolchain ce36a966c79e109dabeef7a47fe68e5294c6d71e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hellopatrick/piranha [INFO] finished tweaking git repo https://github.com/hellopatrick/piranha [INFO] tweaked toml for git repo https://github.com/hellopatrick/piranha written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hellopatrick/piranha 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" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c91faadf55ffe2b2374ebede2b655fb55e1a536244cb9baf48f333a723fed53 [INFO] running `Command { std: "docker" "start" "-a" "3c91faadf55ffe2b2374ebede2b655fb55e1a536244cb9baf48f333a723fed53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c91faadf55ffe2b2374ebede2b655fb55e1a536244cb9baf48f333a723fed53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c91faadf55ffe2b2374ebede2b655fb55e1a536244cb9baf48f333a723fed53", kill_on_drop: false }` [INFO] [stdout] 3c91faadf55ffe2b2374ebede2b655fb55e1a536244cb9baf48f333a723fed53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ea54dded0d267f628d4ecca9baf60323abf2eafd34ed40eafab61e44162f1a9 [INFO] running `Command { std: "docker" "start" "-a" "7ea54dded0d267f628d4ecca9baf60323abf2eafd34ed40eafab61e44162f1a9", kill_on_drop: false }` [INFO] [stderr] Compiling piranha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!("instruction not implemented"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 59 | Instruction::Noop => self.noop(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 60 | Instruction::Halt => self.halt(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 61 | Instruction::Add(target) => self.add(target), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 62 | Instruction::Inc(target) => self.inc(target), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 63 | Instruction::Jump(test) => self.jump(test), [INFO] [stdout] 64 | _ => panic!("instruction not implemented"), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn inc(&mut self, target: RegisterPair) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_byte` is never used [INFO] [stdout] --> src/bus.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Bus { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn read_byte(&self, loc: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `registers`, `pc`, `sp`, `bus`, and `halted` are never read [INFO] [stdout] --> src/cpu.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 7 | registers: Registers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pc: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | bus: Bus, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | halted: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cpu.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn chomp_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn chomp_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn execute(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn noop(&mut self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | fn halt(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn add(&mut self, target: Register) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn inc(&mut self, target: RegisterPair) {} [INFO] [stdout] | ^^^ [INFO] [stdout] 88 | [INFO] [stdout] 89 | fn jump(&mut self, test: JumpTest) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JumpTest` is never used [INFO] [stdout] --> src/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum JumpTest { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Target` is never used [INFO] [stdout] --> src/instruction.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Target { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instruction.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `of_byte`, `of_unprefixed_byte`, and `of_prefixed_byte` are never used [INFO] [stdout] --> src/instruction.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 37 | impl Instruction { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn of_byte(byte: u8, prefixed: bool) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn of_unprefixed_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn of_prefixed_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Register` is never used [INFO] [stdout] --> src/registers.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegisterPair` is never used [INFO] [stdout] --> src/registers.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum RegisterPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/registers.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Registers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 76 | pub a: u8, [INFO] [stdout] | ^ [INFO] [stdout] 77 | pub b: u8, [INFO] [stdout] | ^ [INFO] [stdout] 78 | pub c: u8, [INFO] [stdout] | ^ [INFO] [stdout] 79 | pub d: u8, [INFO] [stdout] | ^ [INFO] [stdout] 80 | pub e: u8, [INFO] [stdout] | ^ [INFO] [stdout] 81 | pub f: FlagsRegister, [INFO] [stdout] | ^ [INFO] [stdout] 82 | pub h: u8, [INFO] [stdout] | ^ [INFO] [stdout] 83 | pub l: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Registers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/registers.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 86 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get(&self, register: Register) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn get_pair(&mut self, pair: RegisterPair) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn af(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn set_af(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn bc(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn set_bc(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn de(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn set_de(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn hl(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn set_hl(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn hld(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn hli(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "7ea54dded0d267f628d4ecca9baf60323abf2eafd34ed40eafab61e44162f1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea54dded0d267f628d4ecca9baf60323abf2eafd34ed40eafab61e44162f1a9", kill_on_drop: false }` [INFO] [stdout] 7ea54dded0d267f628d4ecca9baf60323abf2eafd34ed40eafab61e44162f1a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdd678a34454bd922d7e49f8477edcfbcf3797b0bb73d107fd78824575bc0177 [INFO] running `Command { std: "docker" "start" "-a" "bdd678a34454bd922d7e49f8477edcfbcf3797b0bb73d107fd78824575bc0177", kill_on_drop: false }` [INFO] [stderr] Compiling piranha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!("instruction not implemented"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 59 | Instruction::Noop => self.noop(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 60 | Instruction::Halt => self.halt(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 61 | Instruction::Add(target) => self.add(target), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 62 | Instruction::Inc(target) => self.inc(target), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 63 | Instruction::Jump(test) => self.jump(test), [INFO] [stdout] 64 | _ => panic!("instruction not implemented"), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | fn inc(&mut self, target: RegisterPair) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_byte` is never used [INFO] [stdout] --> src/bus.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Bus { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn read_byte(&self, loc: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `registers`, `pc`, `sp`, `bus`, and `halted` are never read [INFO] [stdout] --> src/cpu.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 7 | registers: Registers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pc: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | bus: Bus, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | halted: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cpu.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn chomp_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn chomp_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn execute(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn noop(&mut self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | fn halt(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn add(&mut self, target: Register) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn inc(&mut self, target: RegisterPair) {} [INFO] [stdout] | ^^^ [INFO] [stdout] 88 | [INFO] [stdout] 89 | fn jump(&mut self, test: JumpTest) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JumpTest` is never used [INFO] [stdout] --> src/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum JumpTest { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Target` is never used [INFO] [stdout] --> src/instruction.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Target { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instruction.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `of_byte`, `of_unprefixed_byte`, and `of_prefixed_byte` are never used [INFO] [stdout] --> src/instruction.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 37 | impl Instruction { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn of_byte(byte: u8, prefixed: bool) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn of_unprefixed_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn of_prefixed_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Register` is never used [INFO] [stdout] --> src/registers.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegisterPair` is never used [INFO] [stdout] --> src/registers.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum RegisterPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_pair`, `hld`, and `hli` are never used [INFO] [stdout] --> src/registers.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 86 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get(&self, register: Register) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn get_pair(&mut self, pair: RegisterPair) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn hld(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn hli(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "bdd678a34454bd922d7e49f8477edcfbcf3797b0bb73d107fd78824575bc0177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd678a34454bd922d7e49f8477edcfbcf3797b0bb73d107fd78824575bc0177", kill_on_drop: false }` [INFO] [stdout] bdd678a34454bd922d7e49f8477edcfbcf3797b0bb73d107fd78824575bc0177