[INFO] cloning repository https://github.com/lukesnc/gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukesnc/gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukesnc%2Fgb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukesnc%2Fgb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f5b55333c180b05392ee2c76966560375edb6f8 [INFO] checking lukesnc/gb against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukesnc%2Fgb" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lukesnc/gb [INFO] finished tweaking git repo https://github.com/lukesnc/gb [INFO] tweaked toml for git repo https://github.com/lukesnc/gb written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukesnc/gb on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lukesnc/gb 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" "+987a165cfab916796a8315782b83ac460a651ce2" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7ffed75f7c26e15866c503f840773b8cd477d2bcda10e9f33c0cb3e982370fb [INFO] running `Command { std: "docker" "start" "-a" "a7ffed75f7c26e15866c503f840773b8cd477d2bcda10e9f33c0cb3e982370fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7ffed75f7c26e15866c503f840773b8cd477d2bcda10e9f33c0cb3e982370fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ffed75f7c26e15866c503f840773b8cd477d2bcda10e9f33c0cb3e982370fb", kill_on_drop: false }` [INFO] [stdout] a7ffed75f7c26e15866c503f840773b8cd477d2bcda10e9f33c0cb3e982370fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cd925d65d7aa9311ebdd574ab777babca47ce69457f72fbac708a57aa5cab7b [INFO] running `Command { std: "docker" "start" "-a" "3cd925d65d7aa9311ebdd574ab777babca47ce69457f72fbac708a57aa5cab7b", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Checking gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut frame: Frame = [[0; 166]; 144]; [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: type alias `Frame` is never used [INFO] [stdout] --> src/graphics.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Frame = [[u8; 166]; 144]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tile` is never used [INFO] [stdout] --> src/graphics.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Tile = [u8; 16]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TileColorMap` is never used [INFO] [stdout] --> src/graphics.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type TileColorMap = [[u8; 8]; 8]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tile_rows` is never used [INFO] [stdout] --> src/graphics.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn tile_rows(tile: Tile) -> [[u8; 2]; 8] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tile_color_map` is never used [INFO] [stdout] --> src/graphics.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn tile_color_map(tile: Tile) -> TileColorMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/graphics.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Gpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn lcd_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn win_tile_map_area(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn win_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn bg_win_addr_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn bg_tile_map_area(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn obj_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn obj_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn bg_win_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn set_ppu_mode(&mut self, n: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn object_tile(&self, id: u8) -> Tile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn bg_win_tile(&self, id: u8) -> Tile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn draw_frame(&mut self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ch1_sweep`, `ch1_len_timer_duty`, `ch1_volume_envelope`, `ch1_period_low`, and `ch1_period_hi_control` are never read [INFO] [stdout] --> src/sound.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Apu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub ch1_sweep: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub ch1_len_timer_duty: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub ch1_volume_envelope: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub ch1_period_low: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub ch1_period_hi_control: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut frame: Frame = [[0; 166]; 144]; [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: type alias `Frame` is never used [INFO] [stdout] --> src/graphics.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Frame = [[u8; 166]; 144]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/graphics.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Gpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn lcd_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn win_tile_map_area(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn win_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn bg_win_addr_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn bg_tile_map_area(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn obj_size(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn obj_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn bg_win_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn set_ppu_mode(&mut self, n: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn object_tile(&self, id: u8) -> Tile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn bg_win_tile(&self, id: u8) -> Tile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn draw_frame(&mut self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ch1_sweep`, `ch1_len_timer_duty`, `ch1_volume_envelope`, `ch1_period_low`, and `ch1_period_hi_control` are never read [INFO] [stdout] --> src/sound.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Apu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub ch1_sweep: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub ch1_len_timer_duty: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub ch1_volume_envelope: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub ch1_period_low: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub ch1_period_hi_control: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `Command { std: "docker" "inspect" "3cd925d65d7aa9311ebdd574ab777babca47ce69457f72fbac708a57aa5cab7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cd925d65d7aa9311ebdd574ab777babca47ce69457f72fbac708a57aa5cab7b", kill_on_drop: false }` [INFO] [stdout] 3cd925d65d7aa9311ebdd574ab777babca47ce69457f72fbac708a57aa5cab7b