[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] building adks3489/rust-boy against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadks3489%2Frust-boy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adks3489/rust-boy on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-1-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c89714d3d61ff17aacd3b351913f280af7627fb310d0779ffe288471630b7b4b [INFO] running `Command { std: "docker" "start" "-a" "c89714d3d61ff17aacd3b351913f280af7627fb310d0779ffe288471630b7b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c89714d3d61ff17aacd3b351913f280af7627fb310d0779ffe288471630b7b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89714d3d61ff17aacd3b351913f280af7627fb310d0779ffe288471630b7b4b", kill_on_drop: false }` [INFO] [stdout] c89714d3d61ff17aacd3b351913f280af7627fb310d0779ffe288471630b7b4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8bcb6bbd9d737d385f7dd7cfaf08fc64c11320d5fdbe85034d9196e21a38c9b [INFO] running `Command { std: "docker" "start" "-a" "d8bcb6bbd9d737d385f7dd7cfaf08fc64c11320d5fdbe85034d9196e21a38c9b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling minifb v0.20.0 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling 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 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] = help: consider removing these fields [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.45s [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" "d8bcb6bbd9d737d385f7dd7cfaf08fc64c11320d5fdbe85034d9196e21a38c9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8bcb6bbd9d737d385f7dd7cfaf08fc64c11320d5fdbe85034d9196e21a38c9b", kill_on_drop: false }` [INFO] [stdout] d8bcb6bbd9d737d385f7dd7cfaf08fc64c11320d5fdbe85034d9196e21a38c9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3693f6fdcaaa2a09340ece36274000d6a36d153fc46a3d89819d8f0b0cb7309 [INFO] running `Command { std: "docker" "start" "-a" "b3693f6fdcaaa2a09340ece36274000d6a36d153fc46a3d89819d8f0b0cb7309", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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] = help: consider removing these fields [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [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" "b3693f6fdcaaa2a09340ece36274000d6a36d153fc46a3d89819d8f0b0cb7309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3693f6fdcaaa2a09340ece36274000d6a36d153fc46a3d89819d8f0b0cb7309", kill_on_drop: false }` [INFO] [stdout] b3693f6fdcaaa2a09340ece36274000d6a36d153fc46a3d89819d8f0b0cb7309