[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 master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyufrice%2Fnesnes" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yufrice/nesnes on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-8/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c062317f4e45178302757cdfc7672ed40fb2da2136c5b68ba37599099468349f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c062317f4e45178302757cdfc7672ed40fb2da2136c5b68ba37599099468349f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c062317f4e45178302757cdfc7672ed40fb2da2136c5b68ba37599099468349f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c062317f4e45178302757cdfc7672ed40fb2da2136c5b68ba37599099468349f", kill_on_drop: false }` [INFO] [stdout] c062317f4e45178302757cdfc7672ed40fb2da2136c5b68ba37599099468349f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4214787fca98401151a812c7e1bc65bb90c279594aa8947895b7b0f2bd6a196 [INFO] running `Command { std: "docker" "start" "-a" "e4214787fca98401151a812c7e1bc65bb90c279594aa8947895b7b0f2bd6a196", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.3 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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: 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: 42 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-d20cc332040efbaf.nesnes.fa831557-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf.nesnes.fa831557-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf.nesnes.fa831557-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf.nesnes.fa831557-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf.nesnes.fa831557-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf.nesnes.fa831557-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf.nesnes.fa831557-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf.nesnes.fa831557-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf.nesnes.fa831557-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf.1exlgz7t5wegj3bo.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libnesnes-4da318e5bc1c790a.rlib" "/opt/rustwide/target/debug/deps/libsdl2-8a2ba5fa1688288d.rlib" "/opt/rustwide/target/debug/deps/librand-5010e69aa24f0e1d.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-cf1c6e10b01f7775.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-68c2d67f0635a34d.rlib" "/opt/rustwide/target/debug/deps/librand_hc-f47d2efa7fbfb522.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-ca251247296b4122.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-25cebe047f165eba.rlib" "/opt/rustwide/target/debug/deps/librand_core-0a725dfaecf66c67.rlib" "/opt/rustwide/target/debug/deps/librand_os-4a3d2d15d8ac1454.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-70d9fd7f016246b2.rlib" "/opt/rustwide/target/debug/deps/librand_core-e3f7b5ee9401667b.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-2389a9e846a1fe10.rlib" "/opt/rustwide/target/debug/deps/libbitflags-44f48aca50656082.rlib" "/opt/rustwide/target/debug/deps/libnum-a64921edb5c7213e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-b5a90f8942b2f573.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-c86ff70ebcf01844.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-bf28edad26a0550e.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-3bf599dc136aad92.rlib" "/opt/rustwide/target/debug/deps/libregex-8a61be245deeee8b.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-c3a1fce7584dd300.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-b5f0754f2af3a37d.rlib" "/opt/rustwide/target/debug/deps/libucd_util-6788b4990e2fcc67.rlib" "/opt/rustwide/target/debug/deps/libthread_local-2721487484a3f1c6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-48ae5990e2528ae1.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-c11501adc7e6a47e.rlib" "/opt/rustwide/target/debug/deps/libmemchr-bd5bdbd809ac5bef.rlib" "/opt/rustwide/target/debug/deps/libatty-7c816ece5c63eb31.rlib" "/opt/rustwide/target/debug/deps/liblibc-61530c4f8eaefb18.rlib" "/opt/rustwide/target/debug/deps/libhumantime-8026e1d1042238a6.rlib" "/opt/rustwide/target/debug/deps/libquick_error-7c7cd5b552241ac9.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-2f6d14bfb541c507.rlib" "/opt/rustwide/target/debug/deps/liblog-d552ac8315b87846.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-8bed39370c7dd35a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-08487f8e282f19e0.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-9e93f1ef523b9dfd.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-fd135b1b487350d3.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-6d527484b6287cb3.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-91c5e579413a9548.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.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/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/nesnes-d20cc332040efbaf" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e4214787fca98401151a812c7e1bc65bb90c279594aa8947895b7b0f2bd6a196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4214787fca98401151a812c7e1bc65bb90c279594aa8947895b7b0f2bd6a196", kill_on_drop: false }` [INFO] [stdout] e4214787fca98401151a812c7e1bc65bb90c279594aa8947895b7b0f2bd6a196