[INFO] cloning repository https://github.com/Kanabenki/oxidegb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kanabenki/oxidegb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKanabenki%2Foxidegb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKanabenki%2Foxidegb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa1e669fe34141ddf1a43bc6fb4623be5569ccf7 [INFO] building Kanabenki/oxidegb against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKanabenki%2Foxidegb" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kanabenki/oxidegb on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kanabenki/oxidegb [INFO] finished tweaking git repo https://github.com/Kanabenki/oxidegb [INFO] tweaked toml for git repo https://github.com/Kanabenki/oxidegb written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Kanabenki/oxidegb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca91c2e1b8e0caf0778c76ed7dfb47d1d1ba001d99167bd12c3aa789ad19b2d0 [INFO] running `Command { std: "docker" "start" "-a" "ca91c2e1b8e0caf0778c76ed7dfb47d1d1ba001d99167bd12c3aa789ad19b2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca91c2e1b8e0caf0778c76ed7dfb47d1d1ba001d99167bd12c3aa789ad19b2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca91c2e1b8e0caf0778c76ed7dfb47d1d1ba001d99167bd12c3aa789ad19b2d0", kill_on_drop: false }` [INFO] [stdout] ca91c2e1b8e0caf0778c76ed7dfb47d1d1ba001d99167bd12c3aa789ad19b2d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f5157e3de73496823f28cb5c8ef636695bb2288030d1fafa5dc6d6fd080054a [INFO] running `Command { std: "docker" "start" "-a" "6f5157e3de73496823f28cb5c8ef636695bb2288030d1fafa5dc6d6fd080054a", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling wayland-sys v0.29.1 [INFO] [stderr] Compiling wayland-scanner v0.29.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling wayland-client v0.29.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling wayland-commons v0.29.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling owned_ttf_parser v0.12.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling wayland-protocols v0.29.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling gpu-alloc v0.5.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Compiling wgpu-core v0.11.2 [INFO] [stderr] Compiling naga v0.7.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling ab_glyph v0.2.11 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ash v0.33.3+1.2.191 [INFO] [stderr] Compiling wgpu-types v0.11.0 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling atomic_refcell v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling glow v0.11.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling profiling v1.0.4 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling emath v0.15.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling epaint v0.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling wgpu-hal v0.11.4 [INFO] [stderr] Compiling wayland-cursor v0.29.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling egui v0.15.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling x11-clipboard v0.5.3 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling wgpu v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling smithay-clipboard v0.6.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling copypasta v0.7.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling epi v0.15.0 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling pollster v0.2.4 [INFO] [stderr] Compiling pixels v0.7.0 [INFO] [stderr] Compiling egui_wgpu_backend v0.14.0 [INFO] [stderr] Compiling egui-winit v0.15.0 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling enum_dispatch v0.3.7 [INFO] [stderr] Compiling flagset v0.4.2 [INFO] [stderr] Compiling oxidegb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | InputClock::CpuDiv1024 => (1 << 10), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - InputClock::CpuDiv1024 => (1 << 10), [INFO] [stdout] 110 + InputClock::CpuDiv1024 => 1 << 10, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | InputClock::CpuDiv16 => (1 << 4), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - InputClock::CpuDiv16 => (1 << 4), [INFO] [stdout] 111 + InputClock::CpuDiv16 => 1 << 4, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | InputClock::CpuDiv64 => (1 << 6), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - InputClock::CpuDiv64 => (1 << 6), [INFO] [stdout] 112 + InputClock::CpuDiv64 => 1 << 6, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | InputClock::CpuDiv256 => (1 << 8), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - InputClock::CpuDiv256 => (1 << 8), [INFO] [stdout] 113 + InputClock::CpuDiv256 => 1 << 8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `rom_size`, `rom_bank_count`, `ram_bank_count` and `destination` are never read [INFO] [stdout] --> src/gameboy/cartridge/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 17 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | rom_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | rom_bank_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ram_size: u32, [INFO] [stdout] 21 | ram_bank_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | destination: Destination, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/gameboy/cartridge/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Cartridge { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 100 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cartridge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClippedMesh` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{ClippedMesh, CtxRef}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/main.rs:88:80 [INFO] [stdout] | [INFO] [stdout] 88 | egui::menu::bar(ui, |ui| egui::menu::menu(ui, "File", |ui| {})); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:108:70 [INFO] [stdout] | [INFO] [stdout] 108 | self.pixels.render_with(|encoder, render_target, context| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gameboy` is never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Emulator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | gameboy: Gameboy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | / self.pixels.render_with(|encoder, render_target, context| { [INFO] [stdout] 109 | | self.render_pass.execute( [INFO] [stdout] 110 | | encoder, [INFO] [stdout] 111 | | render_target, [INFO] [stdout] ... | [INFO] [stdout] 117 | | Ok(()) [INFO] [stdout] 118 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "6f5157e3de73496823f28cb5c8ef636695bb2288030d1fafa5dc6d6fd080054a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5157e3de73496823f28cb5c8ef636695bb2288030d1fafa5dc6d6fd080054a", kill_on_drop: false }` [INFO] [stdout] 6f5157e3de73496823f28cb5c8ef636695bb2288030d1fafa5dc6d6fd080054a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dcd7bb9890d617ede7c31af1ab4cbe03c81388c5cefbe39552781ae64382db0 [INFO] running `Command { std: "docker" "start" "-a" "1dcd7bb9890d617ede7c31af1ab4cbe03c81388c5cefbe39552781ae64382db0", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | InputClock::CpuDiv1024 => (1 << 10), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - InputClock::CpuDiv1024 => (1 << 10), [INFO] [stdout] 110 + InputClock::CpuDiv1024 => 1 << 10, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | InputClock::CpuDiv16 => (1 << 4), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - InputClock::CpuDiv16 => (1 << 4), [INFO] [stdout] 111 + InputClock::CpuDiv16 => 1 << 4, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | InputClock::CpuDiv64 => (1 << 6), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - InputClock::CpuDiv64 => (1 << 6), [INFO] [stdout] 112 + InputClock::CpuDiv64 => 1 << 6, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling oxidegb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | InputClock::CpuDiv256 => (1 << 8), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - InputClock::CpuDiv256 => (1 << 8), [INFO] [stdout] 113 + InputClock::CpuDiv256 => 1 << 8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `rom_size`, `rom_bank_count`, `ram_bank_count` and `destination` are never read [INFO] [stdout] --> src/gameboy/cartridge/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 17 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | rom_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | rom_bank_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ram_size: u32, [INFO] [stdout] 21 | ram_bank_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | destination: Destination, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/gameboy/cartridge/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Cartridge { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 100 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cartridge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | InputClock::CpuDiv1024 => (1 << 10), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - InputClock::CpuDiv1024 => (1 << 10), [INFO] [stdout] 110 + InputClock::CpuDiv1024 => 1 << 10, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | InputClock::CpuDiv16 => (1 << 4), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - InputClock::CpuDiv16 => (1 << 4), [INFO] [stdout] 111 + InputClock::CpuDiv16 => 1 << 4, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | InputClock::CpuDiv64 => (1 << 6), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - InputClock::CpuDiv64 => (1 << 6), [INFO] [stdout] 112 + InputClock::CpuDiv64 => 1 << 6, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/gameboy/io.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | InputClock::CpuDiv256 => (1 << 8), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - InputClock::CpuDiv256 => (1 << 8), [INFO] [stdout] 113 + InputClock::CpuDiv256 => 1 << 8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClippedMesh` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{ClippedMesh, CtxRef}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `rom_size`, `rom_bank_count`, `ram_bank_count` and `destination` are never read [INFO] [stdout] --> src/gameboy/cartridge/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 17 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | rom_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | rom_bank_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | ram_size: u32, [INFO] [stdout] 21 | ram_bank_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | destination: Destination, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/gameboy/cartridge/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Cartridge { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 100 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cartridge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/main.rs:88:80 [INFO] [stdout] | [INFO] [stdout] 88 | egui::menu::bar(ui, |ui| egui::menu::menu(ui, "File", |ui| {})); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:108:70 [INFO] [stdout] | [INFO] [stdout] 108 | self.pixels.render_with(|encoder, render_target, context| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gameboy` is never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Emulator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | gameboy: Gameboy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | / self.pixels.render_with(|encoder, render_target, context| { [INFO] [stdout] 109 | | self.render_pass.execute( [INFO] [stdout] 110 | | encoder, [INFO] [stdout] 111 | | render_target, [INFO] [stdout] ... | [INFO] [stdout] 117 | | Ok(()) [INFO] [stdout] 118 | | }); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.72s [INFO] running `Command { std: "docker" "inspect" "1dcd7bb9890d617ede7c31af1ab4cbe03c81388c5cefbe39552781ae64382db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dcd7bb9890d617ede7c31af1ab4cbe03c81388c5cefbe39552781ae64382db0", kill_on_drop: false }` [INFO] [stdout] 1dcd7bb9890d617ede7c31af1ab4cbe03c81388c5cefbe39552781ae64382db0