[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] testing hellopatrick/piranha against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fpiranha" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hellopatrick/piranha on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-13/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b32242f3bb165034ca62245c23a1502892e59c3d2ff8fc203feefc933c477f8 [INFO] running `Command { std: "docker" "start" "-a" "0b32242f3bb165034ca62245c23a1502892e59c3d2ff8fc203feefc933c477f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b32242f3bb165034ca62245c23a1502892e59c3d2ff8fc203feefc933c477f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b32242f3bb165034ca62245c23a1502892e59c3d2ff8fc203feefc933c477f8", kill_on_drop: false }` [INFO] [stdout] 0b32242f3bb165034ca62245c23a1502892e59c3d2ff8fc203feefc933c477f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a51bbc9274f83bf49076d83d0fbcf2edd589d8cd93ede02c98abc37cf87e0a1 [INFO] running `Command { std: "docker" "start" "-a" "7a51bbc9274f83bf49076d83d0fbcf2edd589d8cd93ede02c98abc37cf87e0a1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^ [INFO] [stdout] | [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: associated function is never used: `read_byte` [INFO] [stdout] --> src/bus.rs:20:10 [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: field is never read: `registers` [INFO] [stdout] --> src/cpu.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | registers: Registers, [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/cpu.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | pc: u16, [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | sp: u16, [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bus` [INFO] [stdout] --> src/cpu.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | bus: Bus, [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `halted` [INFO] [stdout] --> src/cpu.rs:11:3 [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chomp_byte` [INFO] [stdout] --> src/cpu.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn chomp_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chomp_word` [INFO] [stdout] --> src/cpu.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn chomp_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/cpu.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/cpu.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | fn execute(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `noop` [INFO] [stdout] --> src/cpu.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | fn noop(&mut self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `halt` [INFO] [stdout] --> src/cpu.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | fn halt(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cpu.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | fn add(&mut self, target: Register) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> src/cpu.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | fn inc(&mut self, target: RegisterPair) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jump` [INFO] [stdout] --> src/cpu.rs:89:6 [INFO] [stdout] | [INFO] [stdout] 89 | fn jump(&mut self, test: JumpTest) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `JumpTest` [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 is never used: `Target` [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 is never used: `Instruction` [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 function is never used: `of_byte` [INFO] [stdout] --> src/instruction.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn of_byte(byte: u8, prefixed: bool) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_unprefixed_byte` [INFO] [stdout] --> src/instruction.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn of_unprefixed_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_prefixed_byte` [INFO] [stdout] --> src/instruction.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn of_prefixed_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/registers.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | A, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/registers.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | B, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `C` [INFO] [stdout] --> src/registers.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | C, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D` [INFO] [stdout] --> src/registers.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | D, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/registers.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | E, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `F` [INFO] [stdout] --> src/registers.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | F, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/registers.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | H, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `L` [INFO] [stdout] --> src/registers.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | L, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AF` [INFO] [stdout] --> src/registers.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | AF, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BC` [INFO] [stdout] --> src/registers.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | BC, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DE` [INFO] [stdout] --> src/registers.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | DE, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HL` [INFO] [stdout] --> src/registers.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | HL, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HLI` [INFO] [stdout] --> src/registers.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | HLI, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HLD` [INFO] [stdout] --> src/registers.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | HLD, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/registers.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get(&self, register: Register) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pair` [INFO] [stdout] --> src/registers.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_pair(&mut self, pair: RegisterPair) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `af` [INFO] [stdout] --> src/registers.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn af(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_af` [INFO] [stdout] --> src/registers.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn set_af(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bc` [INFO] [stdout] --> src/registers.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn bc(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bc` [INFO] [stdout] --> src/registers.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn set_bc(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `de` [INFO] [stdout] --> src/registers.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn de(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_de` [INFO] [stdout] --> src/registers.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn set_de(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hl` [INFO] [stdout] --> src/registers.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn hl(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hl` [INFO] [stdout] --> src/registers.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn set_hl(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hld` [INFO] [stdout] --> src/registers.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn hld(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hli` [INFO] [stdout] --> src/registers.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn hli(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.94s [INFO] running `Command { std: "docker" "inspect" "7a51bbc9274f83bf49076d83d0fbcf2edd589d8cd93ede02c98abc37cf87e0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a51bbc9274f83bf49076d83d0fbcf2edd589d8cd93ede02c98abc37cf87e0a1", kill_on_drop: false }` [INFO] [stdout] 7a51bbc9274f83bf49076d83d0fbcf2edd589d8cd93ede02c98abc37cf87e0a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7af2225b0d835b61688cdc13c14c3fc7f1f0fb5817a24d95b45415b299500740 [INFO] running `Command { std: "docker" "start" "-a" "7af2225b0d835b61688cdc13c14c3fc7f1f0fb5817a24d95b45415b299500740", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^ [INFO] [stdout] | [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: associated function is never used: `read_byte` [INFO] [stdout] --> src/bus.rs:20:10 [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: field is never read: `registers` [INFO] [stdout] --> src/cpu.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | registers: Registers, [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/cpu.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | pc: u16, [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | sp: u16, [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bus` [INFO] [stdout] --> src/cpu.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | bus: Bus, [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `halted` [INFO] [stdout] --> src/cpu.rs:11:3 [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] --> src/cpu.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chomp_byte` [INFO] [stdout] --> src/cpu.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn chomp_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chomp_word` [INFO] [stdout] --> src/cpu.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn chomp_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/cpu.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/cpu.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | fn execute(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `noop` [INFO] [stdout] --> src/cpu.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | fn noop(&mut self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `halt` [INFO] [stdout] --> src/cpu.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | fn halt(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cpu.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | fn add(&mut self, target: Register) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> src/cpu.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | fn inc(&mut self, target: RegisterPair) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jump` [INFO] [stdout] --> src/cpu.rs:89:6 [INFO] [stdout] | [INFO] [stdout] 89 | fn jump(&mut self, test: JumpTest) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `JumpTest` [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 is never used: `Target` [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 is never used: `Instruction` [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 function is never used: `of_byte` [INFO] [stdout] --> src/instruction.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn of_byte(byte: u8, prefixed: bool) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_unprefixed_byte` [INFO] [stdout] --> src/instruction.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn of_unprefixed_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_prefixed_byte` [INFO] [stdout] --> src/instruction.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn of_prefixed_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/registers.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | A, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/registers.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | B, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `C` [INFO] [stdout] --> src/registers.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | C, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D` [INFO] [stdout] --> src/registers.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | D, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/registers.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | E, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `F` [INFO] [stdout] --> src/registers.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | F, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/registers.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | H, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `L` [INFO] [stdout] --> src/registers.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | L, [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] --> src/registers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AF` [INFO] [stdout] --> src/registers.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | AF, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BC` [INFO] [stdout] --> src/registers.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | BC, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DE` [INFO] [stdout] --> src/registers.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | DE, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HL` [INFO] [stdout] --> src/registers.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | HL, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HLI` [INFO] [stdout] --> src/registers.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | HLI, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HLD` [INFO] [stdout] --> src/registers.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | HLD, [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] --> src/registers.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/registers.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get(&self, register: Register) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pair` [INFO] [stdout] --> src/registers.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_pair(&mut self, pair: RegisterPair) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hld` [INFO] [stdout] --> src/registers.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn hld(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hli` [INFO] [stdout] --> src/registers.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn hli(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.76s [INFO] running `Command { std: "docker" "inspect" "7af2225b0d835b61688cdc13c14c3fc7f1f0fb5817a24d95b45415b299500740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af2225b0d835b61688cdc13c14c3fc7f1f0fb5817a24d95b45415b299500740", kill_on_drop: false }` [INFO] [stdout] 7af2225b0d835b61688cdc13c14c3fc7f1f0fb5817a24d95b45415b299500740 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca646630e2d00f9c55596fc0c5340e45edfe42772f4c2cbe03548e4e9edc8768 [INFO] running `Command { std: "docker" "start" "-a" "ca646630e2d00f9c55596fc0c5340e45edfe42772f4c2cbe03548e4e9edc8768", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu.rs:64:7 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 2 tests [INFO] [stderr] 64 | _ => panic!("instruction not implemented"), [INFO] [stdout] test registers::test::read_combined_registers ... ok [INFO] [stderr] | ^ [INFO] [stdout] test registers::test::write_combined_registers ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/cpu.rs:87:21 [INFO] [stderr] | [INFO] [stderr] 87 | fn inc(&mut self, target: RegisterPair) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_byte` [INFO] [stderr] --> src/bus.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn read_byte(&self, loc: u16) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `registers` [INFO] [stderr] --> src/cpu.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | registers: Registers, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pc` [INFO] [stderr] --> src/cpu.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | pc: u16, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sp` [INFO] [stderr] --> src/cpu.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | sp: u16, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bus` [INFO] [stderr] --> src/cpu.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | bus: Bus, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `halted` [INFO] [stderr] --> src/cpu.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | halted: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `chomp_byte` [INFO] [stderr] --> src/cpu.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn chomp_byte(&mut self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `chomp_word` [INFO] [stderr] --> src/cpu.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn chomp_word(&mut self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `step` [INFO] [stderr] --> src/cpu.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn step(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `execute` [INFO] [stderr] --> src/cpu.rs:57:6 [INFO] [stderr] | [INFO] [stderr] 57 | fn execute(&mut self, instruction: Instruction) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `noop` [INFO] [stderr] --> src/cpu.rs:68:6 [INFO] [stderr] | [INFO] [stderr] 68 | fn noop(&mut self) {} [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `halt` [INFO] [stderr] --> src/cpu.rs:70:6 [INFO] [stderr] | [INFO] [stderr] 70 | fn halt(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add` [INFO] [stderr] --> src/cpu.rs:74:6 [INFO] [stderr] | [INFO] [stderr] 74 | fn add(&mut self, target: Register) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inc` [INFO] [stderr] --> src/cpu.rs:87:6 [INFO] [stderr] | [INFO] [stderr] 87 | fn inc(&mut self, target: RegisterPair) {} [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `jump` [INFO] [stderr] --> src/cpu.rs:89:6 [INFO] [stderr] | [INFO] [stderr] 89 | fn jump(&mut self, test: JumpTest) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `JumpTest` [INFO] [stderr] --> src/instruction.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum JumpTest { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Target` [INFO] [stderr] --> src/instruction.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum Target { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Instruction` [INFO] [stderr] --> src/instruction.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | pub enum Instruction { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `of_byte` [INFO] [stderr] --> src/instruction.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn of_byte(byte: u8, prefixed: bool) -> Option { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `of_unprefixed_byte` [INFO] [stderr] --> src/instruction.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn of_unprefixed_byte(byte: u8) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `of_prefixed_byte` [INFO] [stderr] --> src/instruction.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn of_prefixed_byte(byte: u8) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `A` [INFO] [stderr] --> src/registers.rs:54:3 [INFO] [stderr] | [INFO] [stderr] 54 | A, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `B` [INFO] [stderr] --> src/registers.rs:55:3 [INFO] [stderr] | [INFO] [stderr] 55 | B, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `C` [INFO] [stderr] --> src/registers.rs:56:3 [INFO] [stderr] | [INFO] [stderr] 56 | C, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `D` [INFO] [stderr] --> src/registers.rs:57:3 [INFO] [stderr] | [INFO] [stderr] 57 | D, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `E` [INFO] [stderr] --> src/registers.rs:58:3 [INFO] [stderr] | [INFO] [stderr] 58 | E, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `F` [INFO] [stderr] --> src/registers.rs:59:3 [INFO] [stderr] | [INFO] [stderr] 59 | F, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `H` [INFO] [stderr] --> src/registers.rs:60:3 [INFO] [stderr] | [INFO] [stderr] 60 | H, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `L` [INFO] [stderr] --> src/registers.rs:61:3 [INFO] [stderr] | [INFO] [stderr] 61 | L, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Register` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `AF` [INFO] [stderr] --> src/registers.rs:66:3 [INFO] [stderr] | [INFO] [stderr] 66 | AF, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BC` [INFO] [stderr] --> src/registers.rs:67:3 [INFO] [stderr] | [INFO] [stderr] 67 | BC, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DE` [INFO] [stderr] --> src/registers.rs:68:3 [INFO] [stderr] | [INFO] [stderr] 68 | DE, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HL` [INFO] [stderr] --> src/registers.rs:69:3 [INFO] [stderr] | [INFO] [stderr] 69 | HL, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HLI` [INFO] [stderr] --> src/registers.rs:70:3 [INFO] [stderr] | [INFO] [stderr] 70 | HLI, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HLD` [INFO] [stderr] --> src/registers.rs:71:3 [INFO] [stderr] | [INFO] [stderr] 71 | HLD, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/registers.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/registers.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn get(&self, register: Register) -> u8 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_pair` [INFO] [stderr] --> src/registers.rs:113:10 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn get_pair(&mut self, pair: RegisterPair) -> u16 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hld` [INFO] [stderr] --> src/registers.rs:170:10 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn hld(&mut self) -> u16 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hli` [INFO] [stderr] --> src/registers.rs:177:10 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn hli(&mut self) -> u16 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `piranha` (bin "piranha" test) generated 41 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/piranha-8677d8c079256141) [INFO] running `Command { std: "docker" "inspect" "ca646630e2d00f9c55596fc0c5340e45edfe42772f4c2cbe03548e4e9edc8768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca646630e2d00f9c55596fc0c5340e45edfe42772f4c2cbe03548e4e9edc8768", kill_on_drop: false }` [INFO] [stdout] ca646630e2d00f9c55596fc0c5340e45edfe42772f4c2cbe03548e4e9edc8768