[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#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproudlygeek%2Fgaimboi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/proudlygeek/gaimboi on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/proudlygeek/gaimboi 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking proudlygeek/gaimboi against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproudlygeek%2Fgaimboi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/proudlygeek/gaimboi on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/proudlygeek/gaimboi 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b72da5e728ec4aea07663388e166363d2bfc620c972d45085446ea74fc7ee7f [INFO] running `Command { std: "docker" "start" "-a" "9b72da5e728ec4aea07663388e166363d2bfc620c972d45085446ea74fc7ee7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b72da5e728ec4aea07663388e166363d2bfc620c972d45085446ea74fc7ee7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b72da5e728ec4aea07663388e166363d2bfc620c972d45085446ea74fc7ee7f", kill_on_drop: false }` [INFO] [stdout] 9b72da5e728ec4aea07663388e166363d2bfc620c972d45085446ea74fc7ee7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bfec67e916dd64c30b7b077eb1d6c92ba6430bede9d162dd9f94aff5c3e915e [INFO] running `Command { std: "docker" "start" "-a" "3bfec67e916dd64c30b7b077eb1d6c92ba6430bede9d162dd9f94aff5c3e915e", kill_on_drop: false }` [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] | ^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cart.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 149 | HeaderSection::EntryPoint => &self.content[0x100..=0x103], [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 150 | HeaderSection::NintendoLogo => &self.content[0x104..=0x133], [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 151 | HeaderSection::Title => &self.content[0x134..=0x142], [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 152 | HeaderSection::SGB => &self.content[0x146..=0x146], [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 159 | section => panic!("header section not implemented: {:?}", section), [INFO] [stdout] | ^^^^^^^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:11:9 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EntryPoint`, `NintendoLogo`, and `SGB` are never constructed [INFO] [stdout] --> src/cart.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum HeaderSection { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 7 | EntryPoint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | NintendoLogo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | Title, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EliteSystems` is never constructed [INFO] [stdout] --> src/cart.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum LicCode { [INFO] [stdout] | ------- variant in this enum [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] [INFO] [stdout] [INFO] [stdout] warning: method `read_cart` is never used [INFO] [stdout] --> src/cart.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Cart { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn read_cart(self: &Cart, address: u16) -> &u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `registers`, `pc`, and `sp` are never read [INFO] [stdout] --> src/cpu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 4 | registers: Registers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | pc: u16, // Program counter -> 2 bytes [INFO] [stdout] | ^^ [INFO] [stdout] 6 | sp: u16, // Stack Pointer -> 2 bytes [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute_cycle` and `add` are never used [INFO] [stdout] --> src/cpu.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn execute_cycle(&mut self, opcode: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn add(&mut self, value: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/registers.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Registers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | pub a: u8, [INFO] [stdout] | ^ [INFO] [stdout] 4 | pub f: FlagsRegister, [INFO] [stdout] | ^ [INFO] [stdout] 5 | pub b: u8, [INFO] [stdout] | ^ [INFO] [stdout] 6 | pub c: u8, [INFO] [stdout] | ^ [INFO] [stdout] 7 | pub d: u8, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub e: u8, [INFO] [stdout] | ^ [INFO] [stdout] 9 | pub h: u8, [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub l: u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/registers.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn af(&mut self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn bc(&mut self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn de(&mut self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn hl(&mut self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn set_af(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn set_bc(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn set_de(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn set_hl(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [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] | ^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cart.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 149 | HeaderSection::EntryPoint => &self.content[0x100..=0x103], [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 150 | HeaderSection::NintendoLogo => &self.content[0x104..=0x133], [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 151 | HeaderSection::Title => &self.content[0x134..=0x142], [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 152 | HeaderSection::SGB => &self.content[0x146..=0x146], [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 159 | section => panic!("header section not implemented: {:?}", section), [INFO] [stdout] | ^^^^^^^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/main.rs:11:9 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EliteSystems` is never constructed [INFO] [stdout] --> src/cart.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum LicCode { [INFO] [stdout] | ------- variant in this enum [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "3bfec67e916dd64c30b7b077eb1d6c92ba6430bede9d162dd9f94aff5c3e915e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bfec67e916dd64c30b7b077eb1d6c92ba6430bede9d162dd9f94aff5c3e915e", kill_on_drop: false }` [INFO] [stdout] 3bfec67e916dd64c30b7b077eb1d6c92ba6430bede9d162dd9f94aff5c3e915e