[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#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyufrice%2Fnesnes" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yufrice/nesnes on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-2/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] [stderr] Downloaded regex v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d74eaec4d5c627604981f5d847b64fe4f47fe8cfa7d16863d7077b71ccc8bab4 [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" "d74eaec4d5c627604981f5d847b64fe4f47fe8cfa7d16863d7077b71ccc8bab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d74eaec4d5c627604981f5d847b64fe4f47fe8cfa7d16863d7077b71ccc8bab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d74eaec4d5c627604981f5d847b64fe4f47fe8cfa7d16863d7077b71ccc8bab4", kill_on_drop: false }` [INFO] [stdout] d74eaec4d5c627604981f5d847b64fe4f47fe8cfa7d16863d7077b71ccc8bab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] 27a3f0a9bd8ea5e4c81e4e47870e699919f706fc68262b5124db9c4b24cbda44 [INFO] running `Command { std: "docker" "start" "-a" "27a3f0a9bd8ea5e4c81e4e47870e699919f706fc68262b5124db9c4b24cbda44", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling thread_local v0.3.6 [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 rand_os v0.1.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/nesnes-d085ffa181310703.nesnes.7xg3vb4y-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d085ffa181310703.nesnes.7xg3vb4y-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d085ffa181310703.nesnes.7xg3vb4y-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d085ffa181310703.nesnes.7xg3vb4y-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d085ffa181310703.nesnes.7xg3vb4y-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d085ffa181310703.nesnes.7xg3vb4y-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/nesnes-d085ffa181310703.nesnes.7xg3vb4y-cgu.6.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/nesnes-d085ffa181310703" "/opt/rustwide/target/debug/deps/nesnes-d085ffa181310703.43slgvcezvo1e75q.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libnesnes-790195c49c397943.rlib" "/opt/rustwide/target/debug/deps/libsdl2-69653a8ab92fb308.rlib" "/opt/rustwide/target/debug/deps/librand-58dfe59fff583a20.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-547e20561c66783a.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-d194d475f47d453c.rlib" "/opt/rustwide/target/debug/deps/librand_hc-29b765447745d749.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-365cf075441f0a89.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-444aa90c291757cb.rlib" "/opt/rustwide/target/debug/deps/librand_core-d59f52a6c43cdb07.rlib" "/opt/rustwide/target/debug/deps/librand_os-29c76170adbad7a3.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-35edfbb82201539e.rlib" "/opt/rustwide/target/debug/deps/librand_core-7840c02da82e2bf0.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-515102eef3ccfe08.rlib" "/opt/rustwide/target/debug/deps/libbitflags-44e95351d5c34c9b.rlib" "/opt/rustwide/target/debug/deps/libnum-4535e4ce007bf66c.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-9b3c910537d75c98.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-e67644c1b5d64fa6.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-a616ef0b114947c8.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-7e2d25bc1c586404.rlib" "/opt/rustwide/target/debug/deps/libregex-94f27bb7309e6bc2.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-34a93cb0f57de7bb.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-5c29288cae0d000c.rlib" "/opt/rustwide/target/debug/deps/libucd_util-dd49457a1bccdb32.rlib" "/opt/rustwide/target/debug/deps/libthread_local-cfdf414287c9064e.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-6034a6970937b2b0.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-40730d871c9e37dc.rlib" "/opt/rustwide/target/debug/deps/libmemchr-9ecf7f71e8b143f4.rlib" "/opt/rustwide/target/debug/deps/libatty-483e853224de6b8f.rlib" "/opt/rustwide/target/debug/deps/liblibc-752c9b3373b105cb.rlib" "/opt/rustwide/target/debug/deps/libhumantime-497b9fc2fc717a9f.rlib" "/opt/rustwide/target/debug/deps/libquick_error-257bc2ee1d078189.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-1f4309e419a04a9d.rlib" "/opt/rustwide/target/debug/deps/liblog-75e4ac7a9a066b87.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-64b8b7cc69ce7e28.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-bf52c83b5218000c.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-1b1cab3f10607987.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-2e1c807fd8d214f1.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-a6c04fd1ac45a934.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-c9f124f6e94019e0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [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" "27a3f0a9bd8ea5e4c81e4e47870e699919f706fc68262b5124db9c4b24cbda44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a3f0a9bd8ea5e4c81e4e47870e699919f706fc68262b5124db9c4b24cbda44", kill_on_drop: false }` [INFO] [stdout] 27a3f0a9bd8ea5e4c81e4e47870e699919f706fc68262b5124db9c4b24cbda44