[INFO] cloning repository https://github.com/proudlygeek/gaimboi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/proudlygeek/gaimboi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproudlygeek%2Fgaimboi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproudlygeek%2Fgaimboi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9fe6eef2d393e06a0bfe2baec8dc2e66234309d [INFO] checking proudlygeek/gaimboi against try#751cdbaf3a893bc71b2c617bb7be22dfea5f0862 for pr-95611 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproudlygeek%2Fgaimboi" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/proudlygeek/gaimboi on toolchain 751cdbaf3a893bc71b2c617bb7be22dfea5f0862 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+751cdbaf3a893bc71b2c617bb7be22dfea5f0862" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/proudlygeek/gaimboi [INFO] finished tweaking git repo https://github.com/proudlygeek/gaimboi [INFO] tweaked toml for git repo https://github.com/proudlygeek/gaimboi written to /workspace/builds/worker-36/source/Cargo.toml [INFO] crate git repo https://github.com/proudlygeek/gaimboi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+751cdbaf3a893bc71b2c617bb7be22dfea5f0862" "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-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:fd6e315fe1d87bcb2c452ec5cc96a17426cdc68c8a579d2e15b282cf6465d787" "/opt/rustwide/cargo-home/bin/cargo" "+751cdbaf3a893bc71b2c617bb7be22dfea5f0862" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a62eaba8f7b80d775ccc6f2f1d5896b51cb1fa01a1cad58f440aa9a7bac11e9 [INFO] running `Command { std: "docker" "start" "-a" "1a62eaba8f7b80d775ccc6f2f1d5896b51cb1fa01a1cad58f440aa9a7bac11e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a62eaba8f7b80d775ccc6f2f1d5896b51cb1fa01a1cad58f440aa9a7bac11e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a62eaba8f7b80d775ccc6f2f1d5896b51cb1fa01a1cad58f440aa9a7bac11e9", kill_on_drop: false }` [INFO] [stdout] 1a62eaba8f7b80d775ccc6f2f1d5896b51cb1fa01a1cad58f440aa9a7bac11e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:fd6e315fe1d87bcb2c452ec5cc96a17426cdc68c8a579d2e15b282cf6465d787" "/opt/rustwide/cargo-home/bin/cargo" "+751cdbaf3a893bc71b2c617bb7be22dfea5f0862" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e461fd223f84d7104c39f0a3255a9dc4daac1d3c0effa725b8b8e5709473f4b3 [INFO] running `Command { std: "docker" "start" "-a" "e461fd223f84d7104c39f0a3255a9dc4daac1d3c0effa725b8b8e5709473f4b3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking gaimboi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cart.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | section => panic!("header section not implemented: {:?}", section), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cpu = CPU::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cpu = CPU::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EntryPoint` [INFO] [stdout] --> src/cart.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | EntryPoint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HeaderSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cart.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: variant is never constructed: `NintendoLogo` [INFO] [stdout] --> src/cart.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | NintendoLogo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HeaderSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cart.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: variant is never constructed: `SGB` [INFO] [stdout] --> src/cart.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | SGB, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `HeaderSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cart.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: variant is never constructed: `EliteSystems` [INFO] [stdout] --> src/cart.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | EliteSystems, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LicCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cart.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, PartialEq)] [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: `read_cart` [INFO] [stdout] --> src/cart.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn read_cart(self: &Cart, address: u16) -> &u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `registers` [INFO] [stdout] --> src/cpu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | registers: Registers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pc: u16, // Program counter -> 2 bytes [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | sp: u16, // Stack Pointer -> 2 bytes [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_cycle` [INFO] [stdout] --> src/cpu.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn execute_cycle(&mut self, opcode: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cpu.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn add(&mut self, value: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `af` [INFO] [stdout] --> src/registers.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn af(&mut self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bc` [INFO] [stdout] --> src/registers.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn bc(&mut self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `de` [INFO] [stdout] --> src/registers.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn de(&mut self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hl` [INFO] [stdout] --> src/registers.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn hl(&mut self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_af` [INFO] [stdout] --> src/registers.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn set_af(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bc` [INFO] [stdout] --> src/registers.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn set_bc(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_de` [INFO] [stdout] --> src/registers.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn set_de(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_hl` [INFO] [stdout] --> src/registers.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn set_hl(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cart.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | section => panic!("header section not implemented: {:?}", section), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cpu = CPU::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cpu = CPU::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EliteSystems` [INFO] [stdout] --> src/cart.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | EliteSystems, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LicCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cart.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, PartialEq)] [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "e461fd223f84d7104c39f0a3255a9dc4daac1d3c0effa725b8b8e5709473f4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e461fd223f84d7104c39f0a3255a9dc4daac1d3c0effa725b8b8e5709473f4b3", kill_on_drop: false }` [INFO] [stdout] e461fd223f84d7104c39f0a3255a9dc4daac1d3c0effa725b8b8e5709473f4b3