[INFO] cloning repository https://github.com/bokuweb/rustynes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bokuweb/rustynes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Frustynes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Frustynes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f213881554e20054c7ea7adafe511195c25f8cb7 [INFO] testing bokuweb/rustynes against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Frustynes" "/workspace/builds/worker-55/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-55/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bokuweb/rustynes on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-55/source/.cargo/config [INFO] started tweaking git repo https://github.com/bokuweb/rustynes [INFO] finished tweaking git repo https://github.com/bokuweb/rustynes [INFO] tweaked toml for git repo https://github.com/bokuweb/rustynes written to /workspace/builds/worker-55/source/Cargo.toml [INFO] crate git repo https://github.com/bokuweb/rustynes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 libc v0.2.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ea3d3f67f3b16d6b9c2c7bcbed6f7c5193b8d2e19656cc08ee69147a9e31ce3 [INFO] running `Command { std: "docker" "start" "-a" "8ea3d3f67f3b16d6b9c2c7bcbed6f7c5193b8d2e19656cc08ee69147a9e31ce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ea3d3f67f3b16d6b9c2c7bcbed6f7c5193b8d2e19656cc08ee69147a9e31ce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea3d3f67f3b16d6b9c2c7bcbed6f7c5193b8d2e19656cc08ee69147a9e31ce3", kill_on_drop: false }` [INFO] [stdout] 8ea3d3f67f3b16d6b9c2c7bcbed6f7c5193b8d2e19656cc08ee69147a9e31ce3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7962e59a19652c5da463b284bc624f4569db7414c2148b3038c832c06f4835c [INFO] running `Command { std: "docker" "start" "-a" "a7962e59a19652c5da463b284bc624f4569db7414c2148b3038c832c06f4835c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling rustynes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nes/apu/mod.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | 0x00...0x03 => { [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 2015) 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/nes/apu/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | 0x04...0x07 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | 0x08...0x0b => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 0x0c...0x0f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | 0x0000...0x1FFF => self.work_ram.read(addr & 0x07FF), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | 0x2000...0x3FFF => self.ppu.read(addr - 0x2000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | 0x4000...0x401F => self.apu.read(addr - 0x4000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | 0x8000...0xBFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 0xC000...0xFFFF if self.program_rom.size() <= 0x4000 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | 0xC000...0xFFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | 0x0000...0x1FFF => self.work_ram.write(addr & 0x07FF, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | 0x2000...0x3FFF => self.ppu.write(addr - 0x2000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | 0x4000...0x401F => self.apu.write(addr - 0x4000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | 0x8000...0xFFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/nes/cpu/instructions.rs:556:15 [INFO] [stdout] | [INFO] [stdout] 556 | bus.write((addr | 0x0100), data); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 556 - bus.write((addr | 0x0100), data); [INFO] [stdout] 556 + bus.write(addr | 0x0100, data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/nes/cpu/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | _ => panic!("{}", "Undefined opecode detected."), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `divider_for_frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | divider_for_frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable` [INFO] [stdout] --> src/nes/apu/noise.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable` [INFO] [stdout] --> src/nes/apu/noise.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close_oscillator` [INFO] [stdout] --> src/nes/apu/triangle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn close_oscillator(index: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_oscillator_pulse_width` [INFO] [stdout] --> src/nes/apu/triangle.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_oscillator_pulse_width(index: usize, width: f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_addr` [INFO] [stdout] --> src/nes/ppu/registers/oam.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn reset_addr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nes/apu/mod.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | 0x00...0x03 => { [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 2015) 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/nes/apu/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | 0x04...0x07 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | 0x08...0x0b => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 0x0c...0x0f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | 0x0000...0x1FFF => self.work_ram.read(addr & 0x07FF), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | 0x2000...0x3FFF => self.ppu.read(addr - 0x2000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | 0x4000...0x401F => self.apu.read(addr - 0x4000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | 0x8000...0xBFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 0xC000...0xFFFF if self.program_rom.size() <= 0x4000 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | 0xC000...0xFFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | 0x0000...0x1FFF => self.work_ram.write(addr & 0x07FF, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | 0x2000...0x3FFF => self.ppu.write(addr - 0x2000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | 0x4000...0x401F => self.apu.write(addr - 0x4000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | 0x8000...0xFFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/nes/cpu/instructions.rs:556:15 [INFO] [stdout] | [INFO] [stdout] 556 | bus.write((addr | 0x0100), data); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 556 - bus.write((addr | 0x0100), data); [INFO] [stdout] 556 + bus.write(addr | 0x0100, data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/nes/cpu/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | _ => panic!("{}", "Undefined opecode detected."), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_render_buf` [INFO] [stdout] --> src/nes/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_render_buf(ctx: &mut Context) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eval` [INFO] [stdout] --> src/externs/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn eval(x: &str) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `emscripten_run_script_int` [INFO] [stdout] --> src/externs/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn emscripten_run_script_int(x: *const c_uchar) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper` [INFO] [stdout] --> src/nes/mmc/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mapper: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mmc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/mmc/mod.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bank` [INFO] [stdout] --> src/nes/mmc/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_bank(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mapper` [INFO] [stdout] --> src/nes/mmc/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_mapper(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_buf` [INFO] [stdout] --> src/nes/renderer/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_buf(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `divider_for_frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | divider_for_frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable` [INFO] [stdout] --> src/nes/apu/noise.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable` [INFO] [stdout] --> src/nes/apu/noise.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close_oscillator` [INFO] [stdout] --> src/nes/apu/triangle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn close_oscillator(index: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_oscillator_pulse_width` [INFO] [stdout] --> src/nes/apu/triangle.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_oscillator_pulse_width(index: usize, width: f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_addr` [INFO] [stdout] --> src/nes/ppu/registers/oam.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn reset_addr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.07s [INFO] running `Command { std: "docker" "inspect" "a7962e59a19652c5da463b284bc624f4569db7414c2148b3038c832c06f4835c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7962e59a19652c5da463b284bc624f4569db7414c2148b3038c832c06f4835c", kill_on_drop: false }` [INFO] [stdout] a7962e59a19652c5da463b284bc624f4569db7414c2148b3038c832c06f4835c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 935749e59f91e56f1f79e23a5740b0b5f9d8f0a86df48c6e3a2ae4f911ec6b08 [INFO] running `Command { std: "docker" "start" "-a" "935749e59f91e56f1f79e23a5740b0b5f9d8f0a86df48c6e3a2ae4f911ec6b08", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nes/apu/mod.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | 0x00...0x03 => { [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 2015) 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/nes/apu/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | 0x04...0x07 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | 0x08...0x0b => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 0x0c...0x0f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | 0x0000...0x1FFF => self.work_ram.read(addr & 0x07FF), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | 0x2000...0x3FFF => self.ppu.read(addr - 0x2000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | 0x4000...0x401F => self.apu.read(addr - 0x4000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | 0x8000...0xBFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 0xC000...0xFFFF if self.program_rom.size() <= 0x4000 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | 0xC000...0xFFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | 0x0000...0x1FFF => self.work_ram.write(addr & 0x07FF, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | 0x2000...0x3FFF => self.ppu.write(addr - 0x2000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | 0x4000...0x401F => self.apu.write(addr - 0x4000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | 0x8000...0xFFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/nes/cpu/instructions.rs:556:15 [INFO] [stdout] | [INFO] [stdout] 556 | bus.write((addr | 0x0100), data); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 556 - bus.write((addr | 0x0100), data); [INFO] [stdout] 556 + bus.write(addr | 0x0100, data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustynes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/nes/cpu/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | _ => panic!("{}", "Undefined opecode detected."), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `divider_for_frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | divider_for_frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable` [INFO] [stdout] --> src/nes/apu/noise.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable` [INFO] [stdout] --> src/nes/apu/noise.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close_oscillator` [INFO] [stdout] --> src/nes/apu/triangle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn close_oscillator(index: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_oscillator_pulse_width` [INFO] [stdout] --> src/nes/apu/triangle.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_oscillator_pulse_width(index: usize, width: f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_addr` [INFO] [stdout] --> src/nes/ppu/registers/oam.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn reset_addr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nes/apu/mod.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | 0x00...0x03 => { [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 2015) 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/nes/apu/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | 0x04...0x07 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | 0x08...0x0b => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 0x0c...0x0f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | 0x0000...0x1FFF => self.work_ram.read(addr & 0x07FF), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | 0x2000...0x3FFF => self.ppu.read(addr - 0x2000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | 0x4000...0x401F => self.apu.read(addr - 0x4000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | 0x8000...0xBFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 0xC000...0xFFFF if self.program_rom.size() <= 0x4000 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | 0xC000...0xFFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | 0x0000...0x1FFF => self.work_ram.write(addr & 0x07FF, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | 0x2000...0x3FFF => self.ppu.write(addr - 0x2000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | 0x4000...0x401F => self.apu.write(addr - 0x4000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | 0x8000...0xFFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/nes/cpu/instructions.rs:556:15 [INFO] [stdout] | [INFO] [stdout] 556 | bus.write((addr | 0x0100), data); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 556 - bus.write((addr | 0x0100), data); [INFO] [stdout] 556 + bus.write(addr | 0x0100, data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nes/apu/mod.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | 0x00...0x03 => { [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 2015) 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/nes/apu/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | 0x04...0x07 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | 0x08...0x0b => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/apu/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 0x0c...0x0f => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | 0x0000...0x1FFF => self.work_ram.read(addr & 0x07FF), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | 0x2000...0x3FFF => self.ppu.read(addr - 0x2000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | 0x4000...0x401F => self.apu.read(addr - 0x4000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | 0x8000...0xBFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | 0xC000...0xFFFF if self.program_rom.size() <= 0x4000 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | 0xC000...0xFFFF => self.program_rom.read(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | 0x0000...0x1FFF => self.work_ram.write(addr & 0x07FF, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | 0x2000...0x3FFF => self.ppu.write(addr - 0x2000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | 0x4000...0x401F => self.apu.write(addr - 0x4000, data), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nes/bus/cpu_bus.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/nes/bus/cpu_bus.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | 0x8000...0xFFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/nes/cpu/instructions.rs:556:15 [INFO] [stdout] | [INFO] [stdout] 556 | bus.write((addr | 0x0100), data); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 556 - bus.write((addr | 0x0100), data); [INFO] [stdout] 556 + bus.write(addr | 0x0100, data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / lazy_static! { [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | pub static ref MAP: HashMap = { [INFO] [stdout] 101 | | [INFO] [stdout] ... | [INFO] [stdout] 359 | | }; [INFO] [stdout] 360 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/nes/cpu/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | _ => panic!("{}", "Undefined opecode detected."), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/nes/cpu/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | _ => panic!("{}", "Undefined opecode detected."), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `divider_for_frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | divider_for_frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable` [INFO] [stdout] --> src/nes/apu/noise.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable` [INFO] [stdout] --> src/nes/apu/noise.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close_oscillator` [INFO] [stdout] --> src/nes/apu/triangle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn close_oscillator(index: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_oscillator_pulse_width` [INFO] [stdout] --> src/nes/apu/triangle.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_oscillator_pulse_width(index: usize, width: f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_addr` [INFO] [stdout] --> src/nes/ppu/registers/oam.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn reset_addr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_render_buf` [INFO] [stdout] --> src/nes/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_render_buf(ctx: &mut Context) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eval` [INFO] [stdout] --> src/externs/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn eval(x: &str) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `emscripten_run_script_int` [INFO] [stdout] --> src/externs/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn emscripten_run_script_int(x: *const c_uchar) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper` [INFO] [stdout] --> src/nes/mmc/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mapper: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mmc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/mmc/mod.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bank` [INFO] [stdout] --> src/nes/mmc/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_bank(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mapper` [INFO] [stdout] --> src/nes/mmc/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_mapper(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_buf` [INFO] [stdout] --> src/nes/renderer/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_buf(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `divider_for_frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | divider_for_frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frequency` [INFO] [stdout] --> src/nes/apu/noise.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | frequency: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/apu/noise.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable` [INFO] [stdout] --> src/nes/apu/noise.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable` [INFO] [stdout] --> src/nes/apu/noise.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close_oscillator` [INFO] [stdout] --> src/nes/apu/triangle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn close_oscillator(index: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_oscillator_pulse_width` [INFO] [stdout] --> src/nes/apu/triangle.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn set_oscillator_pulse_width(index: usize, width: f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_addr` [INFO] [stdout] --> src/nes/ppu/registers/oam.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn reset_addr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.20s [INFO] running `Command { std: "docker" "inspect" "935749e59f91e56f1f79e23a5740b0b5f9d8f0a86df48c6e3a2ae4f911ec6b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "935749e59f91e56f1f79e23a5740b0b5f9d8f0a86df48c6e3a2ae4f911ec6b08", kill_on_drop: false }` [INFO] [stdout] 935749e59f91e56f1f79e23a5740b0b5f9d8f0a86df48c6e3a2ae4f911ec6b08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25fc5a72d535fa436f91621e9923534c51af9f674a79aaa6fa9f77bc780042df [INFO] running `Command { std: "docker" "start" "-a" "25fc5a72d535fa436f91621e9923534c51af9f674a79aaa6fa9f77bc780042df", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/apu/mod.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | 0x00...0x03 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/apu/mod.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | 0x04...0x07 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/apu/mod.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | 0x08...0x0b => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/apu/mod.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | 0x0c...0x0f => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | 0x0000...0x1FFF => self.work_ram.read(addr & 0x07FF), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | 0x2000...0x3FFF => self.ppu.read(addr - 0x2000), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:62:19 [INFO] [stderr] | [INFO] [stderr] 62 | 0x4000...0x401F => self.apu.read(addr - 0x4000), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:63:19 [INFO] [stderr] | [INFO] [stderr] 63 | 0x6000...0x7FFF => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:70:19 [INFO] [stderr] | [INFO] [stderr] 70 | 0x8000...0xBFFF => self.program_rom.read(addr - 0x8000), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:71:19 [INFO] [stderr] | [INFO] [stderr] 71 | 0xC000...0xFFFF if self.program_rom.size() <= 0x4000 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:74:19 [INFO] [stderr] | [INFO] [stderr] 74 | 0xC000...0xFFFF => self.program_rom.read(addr - 0x8000), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | 0x0000...0x1FFF => self.work_ram.write(addr & 0x07FF, data), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:82:19 [INFO] [stderr] | [INFO] [stderr] 82 | 0x2000...0x3FFF => self.ppu.write(addr - 0x2000, data), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:85:19 [INFO] [stderr] | [INFO] [stderr] 85 | 0x4000...0x401F => self.apu.write(addr - 0x4000, data), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:86:19 [INFO] [stderr] | [INFO] [stderr] 86 | 0x6000...0x7FFF => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/nes/bus/cpu_bus.rs:92:19 [INFO] [stderr] | [INFO] [stderr] 92 | 0x8000...0xFFFF => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/nes/cpu/instructions.rs:556:15 [INFO] [stderr] | [INFO] [stderr] 556 | bus.write((addr | 0x0100), data); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 556 - bus.write((addr | 0x0100), data); [INFO] [stderr] 556 + bus.write(addr | 0x0100, data); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | / lazy_static! { [INFO] [stderr] 99 | | [INFO] [stderr] 100 | | pub static ref MAP: HashMap = { [INFO] [stderr] 101 | | [INFO] [stderr] ... | [INFO] [stderr] 359 | | }; [INFO] [stderr] 360 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/nes/cpu/opecode.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | / lazy_static! { [INFO] [stderr] 99 | | [INFO] [stderr] 100 | | pub static ref MAP: HashMap = { [INFO] [stderr] 101 | | [INFO] [stderr] ... | [INFO] [stderr] 359 | | }; [INFO] [stderr] 360 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/nes/cpu/mod.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | _ => panic!("{}", "Undefined opecode detected."), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `divider_for_frequency` [INFO] [stderr] --> src/nes/apu/noise.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | divider_for_frequency: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/nes/apu/noise.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `frequency` [INFO] [stderr] --> src/nes/apu/noise.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | frequency: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/nes/apu/noise.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `enable` [INFO] [stderr] --> src/nes/apu/noise.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn enable(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `disable` [INFO] [stderr] --> src/nes/apu/noise.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn disable(&mut self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `close_oscillator` [INFO] [stderr] --> src/nes/apu/triangle.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | fn close_oscillator(index: usize); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set_oscillator_pulse_width` [INFO] [stderr] --> src/nes/apu/triangle.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | fn set_oscillator_pulse_width(index: usize, width: f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reset_addr` [INFO] [stderr] --> src/nes/ppu/registers/oam.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn reset_addr(&mut self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustynes` (lib) generated 27 warnings [INFO] [stderr] warning: `rustynes` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] warning: function is never used: `get_render_buf` [INFO] [stdout] [INFO] [stderr] --> src/nes/mod.rs:89:8 [INFO] [stdout] running 59 tests [INFO] [stderr] | [INFO] [stderr] 89 | pub fn get_render_buf(ctx: &mut Context) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `eval` [INFO] [stderr] --> src/externs/mod.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn eval(x: &str) -> i32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `emscripten_run_script_int` [INFO] [stderr] --> src/externs/mod.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn emscripten_run_script_int(x: *const c_uchar) -> c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mapper` [INFO] [stderr] --> src/nes/mmc/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | mapper: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Mmc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/nes/mmc/mod.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_bank` [INFO] [stderr] --> src/nes/mmc/mod.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn get_bank(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_mapper` [INFO] [stderr] --> src/nes/mmc/mod.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn get_mapper(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_buf` [INFO] [stderr] --> src/nes/renderer/mod.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn get_buf(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `divider_for_frequency` [INFO] [stderr] --> src/nes/apu/noise.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | divider_for_frequency: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Noise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/nes/apu/noise.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rustynes` (bin "rustynes" test) generated 34 warnings (26 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rustynes-3ee9210e089325ed) [INFO] [stdout] test nes::cpu::instructions::test::test_and ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_asl ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_adc_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_and_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_adc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_asl_acc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cmp ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cmp_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cpx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_dec ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_eor_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_inc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_inx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_iny ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_dey ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ldx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cpx_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ldx_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_eor ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_lda ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_jsr ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_lda_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_dex ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cpy_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_jmp ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cpy ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ldy ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_lsr ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_lsr_acc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ldy_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ora_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ora ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_php ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_pha ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_pla ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_rol_accumlator_with_carry ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ror_accumlator_with_carry ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_plp ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ror_accumlator_without_carry ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_sbc_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_sbc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_sta ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_stx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_sty ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_tax ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_tay ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_tsx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_txa ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_txs ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_tya ... ok [INFO] [stdout] test nes::cpu_registers::update_zero ... ok [INFO] [stdout] test nes::ppu::registers::oam::set_addr ... ok [INFO] [stdout] test nes::ppu::registers::ppu_addr::set_addr ... ok [INFO] [stdout] test nes::ppu::registers::ppu_addr::update_addr ... ok [INFO] [stdout] test nes::ppu::sprite_utils::test_get_block_id ... ok [INFO] [stdout] test nes::cpu_registers::get_p ... ok [INFO] [stdout] test nes::ppu::palette::test_get_baclground_palette ... ok [INFO] [stdout] test nes::cpu_registers::update_negative ... ok [INFO] [stdout] test nes::ppu::palette::test_get_sprite_palette ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rustynes-ec4fe65d55a0332d) [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test nes::cpu::instructions::test::test_adc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_and ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_adc_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_asl ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_asl_acc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cmp ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cmp_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_and_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cpx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cpx_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cpy_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_cpy ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_dec ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_dey ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_dex ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_eor ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_eor_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_inc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_inx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_iny ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_jmp ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_jsr ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_lda ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_lda_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ldx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ldx_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ldy ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_lsr ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ldy_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_lsr_acc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ora ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ora_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_pha ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_php ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_pla ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_plp ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ror_accumlator_with_carry ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_rol_accumlator_with_carry ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_ror_accumlator_without_carry ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_sbc ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_sbc_immediate ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_sta ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_sty ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_stx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_tay ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_tsx ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_txa ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_tax ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_tya ... ok [INFO] [stdout] test nes::cpu::instructions::test::test_txs ... ok [INFO] [stdout] test nes::cpu_registers::get_p ... ok [INFO] [stdout] test nes::cpu_registers::update_zero ... ok [INFO] [stdout] test nes::cpu_registers::update_negative ... ok [INFO] [stdout] test nes::ppu::palette::test_get_baclground_palette ... ok [INFO] [stdout] test nes::ppu::palette::test_get_sprite_palette ... ok [INFO] [stdout] test nes::ppu::registers::oam::set_addr ... ok [INFO] [stdout] test nes::ppu::registers::ppu_addr::set_addr ... ok [INFO] [stdout] test nes::ppu::registers::ppu_addr::update_addr ... ok [INFO] [stdout] test nes::ppu::sprite_utils::test_get_block_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests rustynes [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/apu/mod.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | 0x00...0x03 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/apu/mod.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | 0x04...0x07 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/apu/mod.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | 0x08...0x0b => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/apu/mod.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | 0x0c...0x0f => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | 0x0000...0x1FFF => self.work_ram.read(addr & 0x07FF), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | 0x2000...0x3FFF => self.ppu.read(addr - 0x2000), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:62:19 [INFO] [stderr] | [INFO] [stderr] 62 | 0x4000...0x401F => self.apu.read(addr - 0x4000), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:63:19 [INFO] [stderr] | [INFO] [stderr] 63 | 0x6000...0x7FFF => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:70:19 [INFO] [stderr] | [INFO] [stderr] 70 | 0x8000...0xBFFF => self.program_rom.read(addr - 0x8000), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:71:19 [INFO] [stderr] | [INFO] [stderr] 71 | 0xC000...0xFFFF if self.program_rom.size() <= 0x4000 => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:74:19 [INFO] [stderr] | [INFO] [stderr] 74 | 0xC000...0xFFFF => self.program_rom.read(addr - 0x8000), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | 0x0000...0x1FFF => self.work_ram.write(addr & 0x07FF, data), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:82:19 [INFO] [stderr] | [INFO] [stderr] 82 | 0x2000...0x3FFF => self.ppu.write(addr - 0x2000, data), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:85:19 [INFO] [stderr] | [INFO] [stderr] 85 | 0x4000...0x401F => self.apu.write(addr - 0x4000, data), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:86:19 [INFO] [stderr] | [INFO] [stderr] 86 | 0x6000...0x7FFF => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/bus/cpu_bus.rs:92:19 [INFO] [stderr] | [INFO] [stderr] 92 | 0x8000...0xFFFF => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> /opt/rustwide/workdir/src/nes/cpu/instructions.rs:556:15 [INFO] [stderr] | [INFO] [stderr] 556 | bus.write((addr | 0x0100), data); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 556 - bus.write((addr | 0x0100), data); [INFO] [stderr] 556 + bus.write(addr | 0x0100, data); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "25fc5a72d535fa436f91621e9923534c51af9f674a79aaa6fa9f77bc780042df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25fc5a72d535fa436f91621e9923534c51af9f674a79aaa6fa9f77bc780042df", kill_on_drop: false }` [INFO] [stdout] 25fc5a72d535fa436f91621e9923534c51af9f674a79aaa6fa9f77bc780042df