[INFO] cloning repository https://github.com/Odebe/krusty-boy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Odebe/krusty-boy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOdebe%2Fkrusty-boy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOdebe%2Fkrusty-boy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75a1f2d694efb4300828da9b74fb567293609aeb [INFO] checking Odebe/krusty-boy/75a1f2d694efb4300828da9b74fb567293609aeb against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOdebe%2Fkrusty-boy" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Odebe/krusty-boy on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Odebe/krusty-boy [INFO] finished tweaking git repo https://github.com/Odebe/krusty-boy [INFO] tweaked toml for git repo https://github.com/Odebe/krusty-boy written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Odebe/krusty-boy 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10a93a427182ffc5853ebe802085e9d619f9b107183a5465493b09c4aa1a37b4 [INFO] running `Command { std: "docker" "start" "-a" "10a93a427182ffc5853ebe802085e9d619f9b107183a5465493b09c4aa1a37b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10a93a427182ffc5853ebe802085e9d619f9b107183a5465493b09c4aa1a37b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10a93a427182ffc5853ebe802085e9d619f9b107183a5465493b09c4aa1a37b4", kill_on_drop: false }` [INFO] [stdout] 10a93a427182ffc5853ebe802085e9d619f9b107183a5465493b09c4aa1a37b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed2dbe1a2b2c07747c8c3849cc6d0f12ef0d4eb9198e3892d030066c193c628d [INFO] running `Command { std: "docker" "start" "-a" "ed2dbe1a2b2c07747c8c3849cc6d0f12ef0d4eb9198e3892d030066c193c628d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking krusty-boy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `to_u16` in this scope [INFO] [stdout] --> src/gameboy.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bc(&self) -> u16 { to_u16(self.b, self.c) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bc(&self) -> u16 { self.to_u16(self.b, self.c) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u16` in this scope [INFO] [stdout] --> src/gameboy.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bc(&self) -> u16 { to_u16(self.b, self.c) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bc(&self) -> u16 { self.to_u16(self.b, self.c) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u16` in this scope [INFO] [stdout] --> src/gameboy.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn de(&self) -> u16 { to_u16(self.d, self.e) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn de(&self) -> u16 { self.to_u16(self.d, self.e) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u16` in this scope [INFO] [stdout] --> src/gameboy.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn de(&self) -> u16 { to_u16(self.d, self.e) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn de(&self) -> u16 { self.to_u16(self.d, self.e) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u16` in this scope [INFO] [stdout] --> src/gameboy.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn hl(&self) -> u16 { to_u16(self.h, self.l) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn hl(&self) -> u16 { self.to_u16(self.h, self.l) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u16` in this scope [INFO] [stdout] --> src/gameboy.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn hl(&self) -> u16 { to_u16(self.h, self.l) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn hl(&self) -> u16 { self.to_u16(self.h, self.l) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u8` in this scope [INFO] [stdout] --> src/gameboy.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let (b, c) = to_u8(value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 45 | let (b, c) = self.to_u8(value); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u8` in this scope [INFO] [stdout] --> src/gameboy.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let (b, c) = to_u8(value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 45 | let (b, c) = self.to_u8(value); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u8` in this scope [INFO] [stdout] --> src/gameboy.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let (b, e) = to_u8(value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 51 | let (b, e) = self.to_u8(value); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u8` in this scope [INFO] [stdout] --> src/gameboy.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let (b, e) = to_u8(value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 51 | let (b, e) = self.to_u8(value); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u8` in this scope [INFO] [stdout] --> src/gameboy.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let (h, l) = to_u8(value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 57 | let (h, l) = self.to_u8(value); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_u8` in this scope [INFO] [stdout] --> src/gameboy.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let (h, l) = to_u8(value); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider using the method on `Self` [INFO] [stdout] | [INFO] [stdout] 57 | let (h, l) = self.to_u8(value); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gameboy.rs:1944:25 [INFO] [stdout] | [INFO] [stdout] 1944 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gameboy.rs:1944:25 [INFO] [stdout] | [INFO] [stdout] 920 | 0x00 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 924 | 0x01 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 928 | 0x02 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 932 | 0x03 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1944 | _ => { [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gameboy.rs:1944:25 [INFO] [stdout] | [INFO] [stdout] 1944 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gameboy.rs:1944:25 [INFO] [stdout] | [INFO] [stdout] 920 | 0x00 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 924 | 0x01 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 928 | 0x02 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 932 | 0x03 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1944 | _ => { [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `krusty-boy` (bin "krusty-boy" test) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `krusty-boy` (bin "krusty-boy") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ed2dbe1a2b2c07747c8c3849cc6d0f12ef0d4eb9198e3892d030066c193c628d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed2dbe1a2b2c07747c8c3849cc6d0f12ef0d4eb9198e3892d030066c193c628d", kill_on_drop: false }` [INFO] [stdout] ed2dbe1a2b2c07747c8c3849cc6d0f12ef0d4eb9198e3892d030066c193c628d