[INFO] cloning repository https://github.com/fluxoz/gb-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fluxoz/gb-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffluxoz%2Fgb-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffluxoz%2Fgb-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55f9b9e98c207b878792e8d3c62b6c38d742829f [INFO] checking fluxoz/gb-emulator against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffluxoz%2Fgb-emulator" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fluxoz/gb-emulator [INFO] finished tweaking git repo https://github.com/fluxoz/gb-emulator [INFO] tweaked toml for git repo https://github.com/fluxoz/gb-emulator written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fluxoz/gb-emulator on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fluxoz/gb-emulator 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55cc368c41290001653dcd334a1f9767710d51e9b403959f86e4b7afebd645d6 [INFO] running `Command { std: "docker" "start" "-a" "55cc368c41290001653dcd334a1f9767710d51e9b403959f86e4b7afebd645d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55cc368c41290001653dcd334a1f9767710d51e9b403959f86e4b7afebd645d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cc368c41290001653dcd334a1f9767710d51e9b403959f86e4b7afebd645d6", kill_on_drop: false }` [INFO] [stdout] 55cc368c41290001653dcd334a1f9767710d51e9b403959f86e4b7afebd645d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3470c501cce49a3a69ee86405598d72c452cc505d64b39722692d2914d7ef39c [INFO] running `Command { std: "docker" "start" "-a" "3470c501cce49a3a69ee86405598d72c452cc505d64b39722692d2914d7ef39c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling zmij v1.0.10 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking gb-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `speed` is never read [INFO] [stdout] --> src/clock.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Clock { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | speed: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cycle` is never used [INFO] [stdout] --> src/clock.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Clock { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn cycle(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opcodes` and `cb_opcodes` are never read [INFO] [stdout] --> src/cpu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | opcodes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | cb_opcodes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pc` is never used [INFO] [stdout] --> src/cpu.rs:1494:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1494 | pub fn get_pc(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_joypad_state` is never used [INFO] [stdout] --> src/input.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Input { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_joypad_state(&self, joypad_register: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_word` is never used [INFO] [stdout] --> src/memory.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/opcodes/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OpCode { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | pub prefixed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub mnemonic: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub length: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub cycles: (Option, Option), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | pub flags: [FlagOps; 4], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub addr: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub group: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub operand1: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | pub operand2: Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `speed` is never read [INFO] [stdout] --> src/clock.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Clock { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | speed: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cycle` is never used [INFO] [stdout] --> src/clock.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Clock { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn cycle(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opcodes` and `cb_opcodes` are never read [INFO] [stdout] --> src/cpu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | opcodes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | cb_opcodes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_joypad_state` is never used [INFO] [stdout] --> src/input.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Input { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_joypad_state(&self, joypad_register: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_word` is never used [INFO] [stdout] --> src/memory.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/opcodes/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OpCode { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | pub prefixed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub mnemonic: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub length: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub cycles: (Option, Option), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | pub flags: [FlagOps; 4], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub addr: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub group: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub operand1: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | pub operand2: Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.96s [INFO] running `Command { std: "docker" "inspect" "3470c501cce49a3a69ee86405598d72c452cc505d64b39722692d2914d7ef39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3470c501cce49a3a69ee86405598d72c452cc505d64b39722692d2914d7ef39c", kill_on_drop: false }` [INFO] [stdout] 3470c501cce49a3a69ee86405598d72c452cc505d64b39722692d2914d7ef39c