[INFO] cloning repository https://github.com/chennnyl/asm-popola [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chennnyl/asm-popola" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchennnyl%2Fasm-popola", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchennnyl%2Fasm-popola'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96ed052a111a4a232e52461d1b0e975538259788 [INFO] checking chennnyl/asm-popola/96ed052a111a4a232e52461d1b0e975538259788 against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchennnyl%2Fasm-popola" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chennnyl/asm-popola on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chennnyl/asm-popola [INFO] finished tweaking git repo https://github.com/chennnyl/asm-popola [INFO] tweaked toml for git repo https://github.com/chennnyl/asm-popola written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chennnyl/asm-popola 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pixels v0.13.0 [INFO] [stderr] Downloaded sctk-adwaita v0.9.0 [INFO] [stderr] Downloaded wide v0.7.20 [INFO] [stderr] Downloaded winit v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af32f278fd2c599e59dadd28ee8b58760793b6cea3a477c0384141d099a88e0f [INFO] running `Command { std: "docker" "start" "-a" "af32f278fd2c599e59dadd28ee8b58760793b6cea3a477c0384141d099a88e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af32f278fd2c599e59dadd28ee8b58760793b6cea3a477c0384141d099a88e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af32f278fd2c599e59dadd28ee8b58760793b6cea3a477c0384141d099a88e0f", kill_on_drop: false }` [INFO] [stdout] af32f278fd2c599e59dadd28ee8b58760793b6cea3a477c0384141d099a88e0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 596764446cd199c91659e186027a61571c02cb76e0b055a11969ea35cc8e6298 [INFO] running `Command { std: "docker" "start" "-a" "596764446cd199c91659e186027a61571c02cb76e0b055a11969ea35cc8e6298", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling winit v0.30.0 [INFO] [stderr] Checking wide v0.7.20 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking owned_ttf_parser v0.21.0 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking ab_glyph v0.2.26 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking devola v0.1.0 (/opt/rustwide/workdir/devola) [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> devola/src/vm.rs:429:39 [INFO] [stdout] | [INFO] [stdout] 429 | CallType::Library(symbol) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `externs` is never read [INFO] [stdout] --> devola/src/vm.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct Devola { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | externs: Option>> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidNumericLiteral`, `InvalidInstruction`, and `InvalidLabel` are never constructed [INFO] [stdout] --> devola/src/parser.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ParseErrorType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 9 | InvalidRegister, InvalidFlag, [INFO] [stdout] 10 | InvalidNumericLiteral, InvalidInstruction, InvalidLabel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorType` 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: type alias `ParseResult` is never used [INFO] [stdout] --> devola/src/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | type ParseResult = Result<(Vec, super::intermediate::SymbolTable), Vec>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_args_target_source` is never used [INFO] [stdout] --> devola/src/parser.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn extract_args_target_source(captures: regex::Captures) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_literal` is never used [INFO] [stdout] --> devola/src/parser.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn to_literal(arg: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_addressing_mode` is never used [INFO] [stdout] --> devola/src/parser.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | fn to_addressing_mode(arg: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_instruction` is never used [INFO] [stdout] --> devola/src/parser.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | fn to_instruction(line: &str, location: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess` is never used [INFO] [stdout] --> devola/src/parser.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn preprocess(code: String) -> Vec<(usize, String)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> devola/src/parser.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn compile(code: String, externs: Option) -> ParseResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ReverseSymbolTable` is never used [INFO] [stdout] --> devola/src/parser.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | pub type ReverseSymbolTable = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_labels` is never used [INFO] [stdout] --> devola/src/parser.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn process_labels(code: Vec, externs: Option) -> Result<(Vec, SymbolTable), Vec<(Str... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_file` is never used [INFO] [stdout] --> devola/src/util.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_from_file(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_file` is never used [INFO] [stdout] --> devola/src/util.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn execute_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> devola/src/parser.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 137 | fn extract_args_target_source(captures: regex::Captures) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 137 | fn extract_args_target_source(captures: regex::Captures<'_>) -> Vec<&str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking sctk-adwaita v0.9.0 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking pixels v0.13.0 [INFO] [stderr] Checking popola v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `SPRITE_TOGGLES` is never used [INFO] [stdout] --> src/inter/mmio.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const SPRITE_TOGGLES: u16 = MMIO+0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_SETTINGS` is never used [INFO] [stdout] --> src/inter/mmio.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const BG_SETTINGS: u16 = MMIO+0x3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VRAM` is never used [INFO] [stdout] --> src/inter/mmio.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const VRAM: u16 = 0x6000; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PALETTE_START` is never used [INFO] [stdout] --> src/inter/mmio.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PALETTE_START: u16 = VRAM+0x0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_SIZE` is never used [INFO] [stdout] --> src/inter/mmio.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const COLOR_SIZE: usize = 2; // 15-bit color [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PALETTE_SIZE` is never used [INFO] [stdout] --> src/inter/mmio.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PALETTE_SIZE: usize = COLOR_SIZE*PALETTE_LENGTH; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PALETTE_OFFSET` is never used [INFO] [stdout] --> src/inter/mmio.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PALETTE_OFFSET: u16 = PALETTE_START+(PALETTE_SIZE*PALETTE_COUNT) as u16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILEMAP_START` is never used [INFO] [stdout] --> src/inter/mmio.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const TILEMAP_START: u16 = PALETTE_OFFSET; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILEMAP_SIZE` is never used [INFO] [stdout] --> src/inter/mmio.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const TILEMAP_SIZE: usize = TILE_SIZE*TILEMAP_LENGTH*TILEMAP_LENGTH; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILEMAP_OFFSET` is never used [INFO] [stdout] --> src/inter/mmio.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const TILEMAP_OFFSET: u16 = TILEMAP_START+(TILEMAP_SIZE*TILEMAP_COUNT) as u16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_START` is never used [INFO] [stdout] --> src/inter/mmio.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const BG_START: u16 = TILEMAP_OFFSET; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_OFFSET` is never used [INFO] [stdout] --> src/inter/mmio.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const BG_OFFSET: u16 = BG_START+(BG_SIZE*BG_COUNT) as u16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_START` is never used [INFO] [stdout] --> src/inter/mmio.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const SPRITE_START: u16 = BG_OFFSET; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_SIZE` is never used [INFO] [stdout] --> src/inter/mmio.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const SPRITE_SIZE: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disable_sprite` is never used [INFO] [stdout] --> src/inter/gfx.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl VRAMModel { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn disable_sprite(&mut self, sprite_index: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VRAMDeserialize` is never used [INFO] [stdout] --> src/inter/gfx.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait VRAMDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rgb15_to_color` is never used [INFO] [stdout] --> src/inter/gfx.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn rgb15_to_color(color_word: u16) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_to_rgb15` is never used [INFO] [stdout] --> src/inter/gfx.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn color_to_rgb15(color: Color) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles` is never read [INFO] [stdout] --> src/gfx/model.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Background { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 27 | pub tiles: [u8; mmio::BG_SIZE] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Background` 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: associated function `size` is never used [INFO] [stdout] --> src/gfx/model.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl SpriteSize { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 50 | pub fn size(sprite_size: SpriteSize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backgrounds` is never read [INFO] [stdout] --> src/gfx/model.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct VRAMModel { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 107 | pub backgrounds: [Background; mmio::BG_COUNT], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VRAMModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BLACK` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | Palette { colors: [Color::BLACK; PALETTE_LENGTH] } [INFO] [stdout] | ^^^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `BLACK` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BLACK` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | Color::BLACK, [INFO] [stdout] | ^^^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `BLACK` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `GREEN` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | Color::GREEN, [INFO] [stdout] | ^^^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `GREEN` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BLUE` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | Color::BLUE, [INFO] [stdout] | ^^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `BLUE` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `RED` found for struct `model::Color` in the current scope [INFO] [stdout] --> src/render/context.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | Color::RED, [INFO] [stdout] | ^^^ associated item not found in `model::Color` [INFO] [stdout] | [INFO] [stdout] ::: src/gfx/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Color { [INFO] [stdout] | ---------------- associated item `RED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `popola` (bin "popola" test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "596764446cd199c91659e186027a61571c02cb76e0b055a11969ea35cc8e6298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596764446cd199c91659e186027a61571c02cb76e0b055a11969ea35cc8e6298", kill_on_drop: false }` [INFO] [stdout] 596764446cd199c91659e186027a61571c02cb76e0b055a11969ea35cc8e6298