[INFO] cloning repository https://github.com/adks3489/rust-boy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adks3489/rust-boy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadks3489%2Frust-boy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadks3489%2Frust-boy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c48aea78ccc38fe34698de8cc02a286b77d0707c [INFO] checking adks3489/rust-boy against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadks3489%2Frust-boy" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adks3489/rust-boy on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adks3489/rust-boy [INFO] finished tweaking git repo https://github.com/adks3489/rust-boy [INFO] tweaked toml for git repo https://github.com/adks3489/rust-boy written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/adks3489/rust-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded minifb v0.20.0 [INFO] [stderr] Downloaded orbclient v0.3.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0014596b61e29edcd89f2a8152204e9850758983399dccedd3d6f1aa5216ba9e [INFO] running `Command { std: "docker" "start" "-a" "0014596b61e29edcd89f2a8152204e9850758983399dccedd3d6f1aa5216ba9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0014596b61e29edcd89f2a8152204e9850758983399dccedd3d6f1aa5216ba9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0014596b61e29edcd89f2a8152204e9850758983399dccedd3d6f1aa5216ba9e", kill_on_drop: false }` [INFO] [stdout] 0014596b61e29edcd89f2a8152204e9850758983399dccedd3d6f1aa5216ba9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0519c54b35920445b8d29690192875ed606b3522d4b6881a80d476f07d170427 [INFO] running `Command { std: "docker" "start" "-a" "0519c54b35920445b8d29690192875ed606b3522d4b6881a80d476f07d170427", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling minifb v0.20.0 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rust-boy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `gpu::GPU` [INFO] [stdout] --> src/memory_bus.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{gpu, gpu::GPU}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpu::GPU` [INFO] [stdout] --> src/memory_bus.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{gpu, gpu::GPU}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/gpu.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let addr = self.line; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/gpu.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let addr = self.line; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `InstructionSize` is never used [INFO] [stdout] --> src/cpu/instruction.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type InstructionSize = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AF` is never constructed [INFO] [stdout] --> src/cpu/instruction.rs:850:5 [INFO] [stdout] | [INFO] [stdout] 842 | pub enum Target { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 850 | AF, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SET0_FIRST` is never used [INFO] [stdout] --> src/gpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const TILE_SET0_FIRST: usize = 0x800; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SET0_LAST` is never used [INFO] [stdout] --> src/gpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const TILE_SET0_LAST: usize = 0x17FF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SET1_FIRST` is never used [INFO] [stdout] --> src/gpu.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const TILE_SET1_FIRST: usize = 0x0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SET1_LAST` is never used [INFO] [stdout] --> src/gpu.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const TILE_SET1_LAST: usize = 0xFFF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP0_FIRST` is never used [INFO] [stdout] --> src/gpu.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const TILE_MAP0_FIRST: usize = 0x1800; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP0_LAST` is never used [INFO] [stdout] --> src/gpu.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const TILE_MAP0_LAST: usize = 0x1BFF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP1_FIRST` is never used [INFO] [stdout] --> src/gpu.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const TILE_MAP1_FIRST: usize = 0x1C00; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP1_LAST` is never used [INFO] [stdout] --> src/gpu.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const TILE_MAP1_LAST: usize = 0x1FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BYTES_PER_TILE` is never used [INFO] [stdout] --> src/gpu.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const BYTES_PER_TILE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/gpu.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | struct Color(u8, u8, u8); [INFO] [stdout] | ----- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 | struct Color((), (), ()); [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gpu.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 41 | pub background: [u32; BACKGROUND_WIDTH * BACKGROUND_WIDTH], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | tile_set: [[Tile; TILE_COUNT]; 2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | read_mode: ReadMode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | clock: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | [INFO] [stdout] 50 | scroll_x: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | scroll_y: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VerticalBlank`, `ScanlineOAM`, and `ScanlineVRAM` are never constructed [INFO] [stdout] --> src/gpu.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | enum ReadMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 55 | HorizontalBlank, [INFO] [stdout] 56 | VerticalBlank, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | ScanlineOAM, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | ScanlineVRAM, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `step`, `read_tiles`, `render_scan_line`, and `tile_line_color` are never used [INFO] [stdout] --> src/gpu.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl GPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn read_tiles(&mut self, set_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn render_scan_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn tile_line_color(b1: u8, b2: u8) -> [Color; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_SIZE` is never used [INFO] [stdout] --> src/memory_bus.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const IO_SIZE: usize = IO_LAST - IO_FIRST + 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZERO_PAGE_SIZE` is never used [INFO] [stdout] --> src/memory_bus.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const ZERO_PAGE_SIZE: usize = ZERO_PAGE_LAST - ZERO_PAGE_FIRST + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cartridge_ram` is never read [INFO] [stdout] --> src/memory_bus.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct MemoryBus<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | cartridge_ram: [u8; CARTRIDGE_RAM_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `InstructionSize` is never used [INFO] [stdout] --> src/cpu/instruction.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type InstructionSize = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AF` is never constructed [INFO] [stdout] --> src/cpu/instruction.rs:850:5 [INFO] [stdout] | [INFO] [stdout] 842 | pub enum Target { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 850 | AF, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SET0_FIRST` is never used [INFO] [stdout] --> src/gpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const TILE_SET0_FIRST: usize = 0x800; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SET0_LAST` is never used [INFO] [stdout] --> src/gpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const TILE_SET0_LAST: usize = 0x17FF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SET1_FIRST` is never used [INFO] [stdout] --> src/gpu.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const TILE_SET1_FIRST: usize = 0x0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SET1_LAST` is never used [INFO] [stdout] --> src/gpu.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const TILE_SET1_LAST: usize = 0xFFF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP0_FIRST` is never used [INFO] [stdout] --> src/gpu.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const TILE_MAP0_FIRST: usize = 0x1800; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP0_LAST` is never used [INFO] [stdout] --> src/gpu.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const TILE_MAP0_LAST: usize = 0x1BFF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP1_FIRST` is never used [INFO] [stdout] --> src/gpu.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const TILE_MAP1_FIRST: usize = 0x1C00; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_MAP1_LAST` is never used [INFO] [stdout] --> src/gpu.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const TILE_MAP1_LAST: usize = 0x1FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BYTES_PER_TILE` is never used [INFO] [stdout] --> src/gpu.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const BYTES_PER_TILE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/gpu.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | struct Color(u8, u8, u8); [INFO] [stdout] | ----- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 | struct Color((), (), ()); [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gpu.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 41 | pub background: [u32; BACKGROUND_WIDTH * BACKGROUND_WIDTH], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | tile_set: [[Tile; TILE_COUNT]; 2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | read_mode: ReadMode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | clock: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | [INFO] [stdout] 50 | scroll_x: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | scroll_y: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VerticalBlank`, `ScanlineOAM`, and `ScanlineVRAM` are never constructed [INFO] [stdout] --> src/gpu.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | enum ReadMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 55 | HorizontalBlank, [INFO] [stdout] 56 | VerticalBlank, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | ScanlineOAM, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | ScanlineVRAM, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `step`, `read_tiles`, `render_scan_line`, and `tile_line_color` are never used [INFO] [stdout] --> src/gpu.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl GPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn read_tiles(&mut self, set_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn render_scan_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn tile_line_color(b1: u8, b2: u8) -> [Color; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_SIZE` is never used [INFO] [stdout] --> src/memory_bus.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const IO_SIZE: usize = IO_LAST - IO_FIRST + 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZERO_PAGE_SIZE` is never used [INFO] [stdout] --> src/memory_bus.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const ZERO_PAGE_SIZE: usize = ZERO_PAGE_LAST - ZERO_PAGE_FIRST + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cartridge_ram` is never read [INFO] [stdout] --> src/memory_bus.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct MemoryBus<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | cartridge_ram: [u8; CARTRIDGE_RAM_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0519c54b35920445b8d29690192875ed606b3522d4b6881a80d476f07d170427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0519c54b35920445b8d29690192875ed606b3522d4b6881a80d476f07d170427", kill_on_drop: false }` [INFO] [stdout] 0519c54b35920445b8d29690192875ed606b3522d4b6881a80d476f07d170427 [INFO] checking adks3489/rust-boy against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadks3489%2Frust-boy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adks3489/rust-boy on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adks3489/rust-boy [INFO] finished tweaking git repo https://github.com/adks3489/rust-boy [INFO] tweaked toml for git repo https://github.com/adks3489/rust-boy written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adks3489/rust-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 247d00899779a80e80a31521e6652ca9a0e54415c423f07db195ffea689d044b [INFO] running `Command { std: "docker" "start" "-a" "247d00899779a80e80a31521e6652ca9a0e54415c423f07db195ffea689d044b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "247d00899779a80e80a31521e6652ca9a0e54415c423f07db195ffea689d044b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247d00899779a80e80a31521e6652ca9a0e54415c423f07db195ffea689d044b", kill_on_drop: false }` [INFO] [stdout] 247d00899779a80e80a31521e6652ca9a0e54415c423f07db195ffea689d044b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f02ff6de59f70b91588a50d916bd95979cccf8593ac232a102cfa93ea41c75f8 [INFO] running `Command { std: "docker" "start" "-a" "f02ff6de59f70b91588a50d916bd95979cccf8593ac232a102cfa93ea41c75f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-1.5.4/src/exec.rs:848:13 [INFO] [stdout] | [INFO] [stdout] 848 | / match dfa::Fsm::reverse( [INFO] [stdout] 849 | | &self.ro.dfa_reverse, [INFO] [stdout] 850 | | self.cache.value(), [INFO] [stdout] 851 | | false, [INFO] [stdout] ... | [INFO] [stdout] 862 | | Quit => return Some(Quit), [INFO] [stdout] 863 | | }; [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] error: could not compile `regex` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f02ff6de59f70b91588a50d916bd95979cccf8593ac232a102cfa93ea41c75f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f02ff6de59f70b91588a50d916bd95979cccf8593ac232a102cfa93ea41c75f8", kill_on_drop: false }` [INFO] [stdout] f02ff6de59f70b91588a50d916bd95979cccf8593ac232a102cfa93ea41c75f8