[INFO] cloning repository https://github.com/yufrice/nesnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yufrice/nesnes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyufrice%2Fnesnes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyufrice%2Fnesnes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4fe3ae0711fce9849c84c4c087b476c44152318 [INFO] testing yufrice/nesnes against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyufrice%2Fnesnes" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yufrice/nesnes on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yufrice/nesnes [INFO] finished tweaking git repo https://github.com/yufrice/nesnes [INFO] tweaked toml for git repo https://github.com/yufrice/nesnes written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/yufrice/nesnes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26f6ef9b6cdade706f8d71a361c5eeeb09775af4cf771180aedcfee833dae9c4 [INFO] running `Command { std: "docker" "start" "-a" "26f6ef9b6cdade706f8d71a361c5eeeb09775af4cf771180aedcfee833dae9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26f6ef9b6cdade706f8d71a361c5eeeb09775af4cf771180aedcfee833dae9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f6ef9b6cdade706f8d71a361c5eeeb09775af4cf771180aedcfee833dae9c4", kill_on_drop: false }` [INFO] [stdout] 26f6ef9b6cdade706f8d71a361c5eeeb09775af4cf771180aedcfee833dae9c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5edb783c65d423c15396282d5c0e76f7d7a0c3e21c8bfa698c60ecef26945a28 [INFO] running `Command { std: "docker" "start" "-a" "5edb783c65d423c15396282d5c0e76f7d7a0c3e21c8bfa698c60ecef26945a28", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling nesnes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | 0x0000...0x27FF => addr, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | 0x2800...0x2FFF => addr - 0x0800, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | 0x3000...0x3EFF => addr - 0x1000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | 0x3F00...0x3F1F => match addr { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | 0x3F20...0x3FFF => addr - 0x20, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | 0x4000...0xFFFF => unreachable!(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | 0x0000...0x27FF => addr, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | 0x2800...0x2FFF => addr - 0x0800, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | 0x3000...0x3EFF => addr - 0x1000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | 0x3F00...0x3F1F => match addr { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | 0x3F20...0x3FFF => addr - 0x20, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/memory.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | 0x4000...0xFFFF => return, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/arch/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PPUMemory` [INFO] [stdout] --> src/arch/ppu.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::arch::memory::{PPUMemory, PPURegister}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DISPLAY_SIZE` [INFO] [stdout] --> src/arch/ppu.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | DISPLAY_HEIGHT, DISPLAY_SIZE, DISPLAY_SPRITE_WIDTH, DISPLAY_WIDTH, PATTERN_LENGTH, SPRITE, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/arch/ppu.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | 0...239 if line % 8 == 0 => self.sprite_generate(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a` should have an upper camel case name [INFO] [stdout] --> src/arch/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | a, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `x` should have an upper camel case name [INFO] [stdout] --> src/arch/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | x, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `y` should have an upper camel case name [INFO] [stdout] --> src/arch/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | y, [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `pc` should have an upper camel case name [INFO] [stdout] --> src/arch/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pc, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `sp` should have an upper camel case name [INFO] [stdout] --> src/arch/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sp, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `p` should have an upper camel case name [INFO] [stdout] --> src/arch/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | p, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `P` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pitch` [INFO] [stdout] --> src/arch/ppu.rs:228:50 [INFO] [stdout] | [INFO] [stdout] 228 | .with_lock(None, |buffer: &mut [u8], pitch: usize| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pitch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arch/ppu.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut texture0 = texture_creator [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arch/ppu.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut texture1 = texture_creator [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ioa` [INFO] [stdout] --> src/arch/memory.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) ioa: [u8; 0x0020], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DISPLAY2` [INFO] [stdout] --> src/arch/ppu.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | DISPLAY2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DISPLAY3` [INFO] [stdout] --> src/arch/ppu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DISPLAY3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DISPLAY4` [INFO] [stdout] --> src/arch/ppu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | DISPLAY4, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `display1` [INFO] [stdout] --> src/arch/ppu.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) display1: RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mirroring` [INFO] [stdout] --> src/arch/ppu.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) mirroring: Mirroring, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/arch/ppu.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn read(&self, adr: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `soft_reset` [INFO] [stdout] --> src/arch/register.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn soft_reset(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nmi` [INFO] [stdout] --> src/arch/register.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn nmi(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `irq` [INFO] [stdout] --> src/arch/register.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn irq(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/arch/register.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) b: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `i` [INFO] [stdout] --> src/arch/register.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) i: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `pc` [INFO] [stdout] --> src/arch/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `p` [INFO] [stdout] --> src/arch/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | p, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DISPLAY_SIZE` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const DISPLAY_SIZE: usize = 184_320; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nz_withSet` should have a snake case name [INFO] [stdout] --> src/arch/op.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn nz_withSet(&self, value: u8, addr: WriteAddr) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `nz_with_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nzc_withSet` should have a snake case name [INFO] [stdout] --> src/arch/op.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | pub(crate) fn nzc_withSet(&self, result: u16, addr: WriteAddr) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `nzc_with_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nvzc_withSet` should have a snake case name [INFO] [stdout] --> src/arch/op.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | pub(crate) fn nvzc_withSet(&self, pre: u16, rhs: u16, result: u16, addr: WriteAddr) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `nvzc_with_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `color_palettes` should have an upper case name [INFO] [stdout] --> src/arch/ppu.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | static color_palettes: [[u8; 0x03]; 0x40] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `COLOR_PALETTES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/nesnes-60fe3edcfe302de3.nesnes.4a38dc61-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-60fe3edcfe302de3.nesnes.4a38dc61-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-60fe3edcfe302de3.nesnes.4a38dc61-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-60fe3edcfe302de3.nesnes.4a38dc61-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-60fe3edcfe302de3.nesnes.4a38dc61-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-60fe3edcfe302de3.nesnes.4a38dc61-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-60fe3edcfe302de3.nesnes.4a38dc61-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-60fe3edcfe302de3.1dxq8gxm4nxoj70u.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libnesnes-f0df10c9606b3216.rlib" "/opt/rustwide/target/debug/deps/libsdl2-b6846f728b14df73.rlib" "/opt/rustwide/target/debug/deps/librand-c692702a8920fcd7.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-970991550c187f87.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-ff6cdc83cd477f7a.rlib" "/opt/rustwide/target/debug/deps/librand_hc-41127eeeefef1010.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-7fcbaebe84a9721e.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-aeb3e6cd33b8e995.rlib" "/opt/rustwide/target/debug/deps/librand_core-54881814acc37a87.rlib" "/opt/rustwide/target/debug/deps/librand_os-07d0273d9af246ef.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-4f5192adc7cfc68e.rlib" "/opt/rustwide/target/debug/deps/librand_core-24b7ee40fd421f2e.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-4667938ce1300d0a.rlib" "/opt/rustwide/target/debug/deps/libbitflags-257fd09b908c4179.rlib" "/opt/rustwide/target/debug/deps/libnum-d10c57cc5c579d95.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-76cd0787e91177d6.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-096c067680cf9d3f.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9486a05c2fb1b639.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-7f43cc1755b5707b.rlib" "/opt/rustwide/target/debug/deps/libregex-3e03d5e6d322c61a.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-0a6668032f28c853.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-3e94a7c5537e3047.rlib" "/opt/rustwide/target/debug/deps/libucd_util-3cc94c66ff24300e.rlib" "/opt/rustwide/target/debug/deps/libthread_local-0bf60bf4cdf1b7ba.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-deaeff8e79132040.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-912e9880ccea5c58.rlib" "/opt/rustwide/target/debug/deps/libmemchr-83b5d58227d28aa7.rlib" "/opt/rustwide/target/debug/deps/libatty-8bae6bc5bb086026.rlib" "/opt/rustwide/target/debug/deps/liblibc-108d506d933fad24.rlib" "/opt/rustwide/target/debug/deps/libhumantime-b865abc5b19fb1c6.rlib" "/opt/rustwide/target/debug/deps/libquick_error-63d061bf0c7acb92.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-606fb3677bb52f25.rlib" "/opt/rustwide/target/debug/deps/liblog-ddae5497df0c3a13.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc86aa381747737.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-ea87b6c2fe761216.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-91b9e0d063734789.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-2ddfc09cde4cdc0c.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-d066e6f50a258123.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/nesnes-60fe3edcfe302de3" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nesnes` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5edb783c65d423c15396282d5c0e76f7d7a0c3e21c8bfa698c60ecef26945a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5edb783c65d423c15396282d5c0e76f7d7a0c3e21c8bfa698c60ecef26945a28", kill_on_drop: false }` [INFO] [stdout] 5edb783c65d423c15396282d5c0e76f7d7a0c3e21c8bfa698c60ecef26945a28