[INFO] cloning repository https://github.com/WilsonGiese/JANE [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WilsonGiese/JANE" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilsonGiese%2FJANE", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilsonGiese%2FJANE'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 626a3c6c0371eb99750dee6ae1a66e32668fc371 [INFO] checking WilsonGiese/JANE against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilsonGiese%2FJANE" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WilsonGiese/JANE on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WilsonGiese/JANE [INFO] finished tweaking git repo https://github.com/WilsonGiese/JANE [INFO] tweaked toml for git repo https://github.com/WilsonGiese/JANE written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WilsonGiese/JANE already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c55164e3c523de245b16b2becfc1539f710110a659359052ea70b365ac13ba6 [INFO] running `Command { std: "docker" "start" "-a" "5c55164e3c523de245b16b2becfc1539f710110a659359052ea70b365ac13ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c55164e3c523de245b16b2becfc1539f710110a659359052ea70b365ac13ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c55164e3c523de245b16b2becfc1539f710110a659359052ea70b365ac13ba6", kill_on_drop: false }` [INFO] [stdout] 5c55164e3c523de245b16b2becfc1539f710110a659359052ea70b365ac13ba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3acd01412a590ae0b9f52e542b6b2f8ea4e4826699146c8eb5ac57e0ddeac8d [INFO] running `Command { std: "docker" "start" "-a" "c3acd01412a590ae0b9f52e542b6b2f8ea4e4826699146c8eb5ac57e0ddeac8d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking jane v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/cpu.rs:700:53 [INFO] [stdout] | [INFO] [stdout] 700 | let new_a = self.registers.a | self.load(address);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:817:11 [INFO] [stdout] | [INFO] [stdout] 817 | 0x0000 ... 0x1FFF => self.ram.load(address & 0x7FF), [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:818:11 [INFO] [stdout] | [INFO] [stdout] 818 | 0x2000 ... 0x2007 => unimplemented!(), [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/cpu.rs:819:11 [INFO] [stdout] | [INFO] [stdout] 819 | 0x2008 ... 0x3FFF => unimplemented!(), [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/cpu.rs:820:11 [INFO] [stdout] | [INFO] [stdout] 820 | 0x4000 ... 0x401F => unimplemented!(), [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/cpu.rs:821:11 [INFO] [stdout] | [INFO] [stdout] 821 | 0x4020 ... 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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:832:11 [INFO] [stdout] | [INFO] [stdout] 832 | 0x0000 ... 0x07FF => self.ram.store(address & 0x7FF, value), [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/cpu.rs:833:11 [INFO] [stdout] | [INFO] [stdout] 833 | 0x2000 ... 0x2007 => unimplemented!(), [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/cpu.rs:834:11 [INFO] [stdout] | [INFO] [stdout] 834 | 0x2008 ... 0x3FFF => unimplemented!(), [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/cpu.rs:835:11 [INFO] [stdout] | [INFO] [stdout] 835 | 0x4000 ... 0x401F => unimplemented!(), [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/cpu.rs:836:11 [INFO] [stdout] | [INFO] [stdout] 836 | 0x4020 ... 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: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | try!(file.read_to_end(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | let header = try!(Header::new(&header_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/cpu.rs:700:53 [INFO] [stdout] | [INFO] [stdout] 700 | let new_a = self.registers.a | self.load(address);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:817:11 [INFO] [stdout] | [INFO] [stdout] 817 | 0x0000 ... 0x1FFF => self.ram.load(address & 0x7FF), [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:818:11 [INFO] [stdout] | [INFO] [stdout] 818 | 0x2000 ... 0x2007 => unimplemented!(), [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/cpu.rs:819:11 [INFO] [stdout] | [INFO] [stdout] 819 | 0x2008 ... 0x3FFF => unimplemented!(), [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/cpu.rs:820:11 [INFO] [stdout] | [INFO] [stdout] 820 | 0x4000 ... 0x401F => unimplemented!(), [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/cpu.rs:821:11 [INFO] [stdout] | [INFO] [stdout] 821 | 0x4020 ... 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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:832:11 [INFO] [stdout] | [INFO] [stdout] 832 | 0x0000 ... 0x07FF => self.ram.store(address & 0x7FF, value), [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/cpu.rs:833:11 [INFO] [stdout] | [INFO] [stdout] 833 | 0x2000 ... 0x2007 => unimplemented!(), [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/cpu.rs:834:11 [INFO] [stdout] | [INFO] [stdout] 834 | 0x2008 ... 0x3FFF => unimplemented!(), [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/cpu.rs:835:11 [INFO] [stdout] | [INFO] [stdout] 835 | 0x4000 ... 0x401F => unimplemented!(), [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/cpu.rs:836:11 [INFO] [stdout] | [INFO] [stdout] 836 | 0x4020 ... 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: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | try!(file.read_to_end(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | let header = try!(Header::new(&header_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | cartridge: Box [INFO] [stdout] | ^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | cartridge: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | cartridge: Box [INFO] [stdout] | ^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | cartridge: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(cartridge: Box) -> CPU { [INFO] [stdout] | ^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(cartridge: Box) -> CPU { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(cartridge: Box) -> CPU { [INFO] [stdout] | ^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(cartridge: Box) -> CPU { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 825 | _ => unreachable!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 817 | 0x0000 ... 0x1FFF => self.ram.load(address & 0x7FF), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 818 | 0x2000 ... 0x2007 => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 819 | 0x2008 ... 0x3FFF => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 820 | 0x4000 ... 0x401F => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 825 | _ => unreachable!() [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/memory.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn store(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/memory.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn store(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 825 | _ => unreachable!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 817 | 0x0000 ... 0x1FFF => self.ram.load(address & 0x7FF), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 818 | 0x2000 ... 0x2007 => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 819 | 0x2008 ... 0x3FFF => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 820 | 0x4000 ... 0x401F => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 825 | _ => unreachable!() [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/memory.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn store(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/memory.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn store(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NMI_VECTOR` is never used [INFO] [stdout] --> src/cpu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const NMI_VECTOR: u16 = 0xFFFA; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESET_VECTOR` is never used [INFO] [stdout] --> src/cpu.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const RESET_VECTOR: u16 = 0xFFFC; // Location of first instruction in memory [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `power_up` and `reset` are never used [INFO] [stdout] --> src/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 46 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn power_up(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/mapper.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NRomPRG { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | // TODO PRG RAM [INFO] [stdout] 7 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NRomCHR` is never constructed [INFO] [stdout] --> src/mapper.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct NRomCHR { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `storew` is never used [INFO] [stdout] --> src/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Memory { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn storew(&mut self, address: u16, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prg_ram_size` is never read [INFO] [stdout] --> src/rom.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `horizontal_arrangement`, `battery_backed_prg_ram`, `trainer`, and `four_screen_vram` are never read [INFO] [stdout] --> src/rom.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Flags6 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 69 | pub horizontal_arrangement: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub battery_backed_prg_ram: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub trainer: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub four_screen_vram: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags6` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vs_unisystem`, `playchoice_10`, and `ines_2` are never read [INFO] [stdout] --> src/rom.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Flags7 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 97 | pub vs_unisystem: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 98 | pub playchoice_10: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub ines_2: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags7` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chr` is never read [INFO] [stdout] --> src/rom.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Rom { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub chr: Box> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NMI_VECTOR` is never used [INFO] [stdout] --> src/cpu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const NMI_VECTOR: u16 = 0xFFFA; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESET_VECTOR` is never used [INFO] [stdout] --> src/cpu.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const RESET_VECTOR: u16 = 0xFFFC; // Location of first instruction in memory [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `power_up` and `reset` are never used [INFO] [stdout] --> src/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 46 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn power_up(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/mapper.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NRomPRG { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | // TODO PRG RAM [INFO] [stdout] 7 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NRomCHR` is never constructed [INFO] [stdout] --> src/mapper.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct NRomCHR { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `storew` is never used [INFO] [stdout] --> src/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Memory { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn storew(&mut self, address: u16, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prg_ram_size` is never read [INFO] [stdout] --> src/rom.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `horizontal_arrangement`, `battery_backed_prg_ram`, `trainer`, and `four_screen_vram` are never read [INFO] [stdout] --> src/rom.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Flags6 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 69 | pub horizontal_arrangement: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub battery_backed_prg_ram: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub trainer: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub four_screen_vram: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags6` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vs_unisystem`, `playchoice_10`, and `ines_2` are never read [INFO] [stdout] --> src/rom.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Flags7 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 97 | pub vs_unisystem: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 98 | pub playchoice_10: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub ines_2: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags7` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chr` is never read [INFO] [stdout] --> src/rom.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Rom { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub chr: Box> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "c3acd01412a590ae0b9f52e542b6b2f8ea4e4826699146c8eb5ac57e0ddeac8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3acd01412a590ae0b9f52e542b6b2f8ea4e4826699146c8eb5ac57e0ddeac8d", kill_on_drop: false }` [INFO] [stdout] c3acd01412a590ae0b9f52e542b6b2f8ea4e4826699146c8eb5ac57e0ddeac8d [INFO] checking WilsonGiese/JANE against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilsonGiese%2FJANE" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WilsonGiese/JANE on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WilsonGiese/JANE [INFO] finished tweaking git repo https://github.com/WilsonGiese/JANE [INFO] tweaked toml for git repo https://github.com/WilsonGiese/JANE written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/WilsonGiese/JANE already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18e0f7337515ae2aa256f4c76c1579d023caf6c1a3244a716994c59968e3c4ef [INFO] running `Command { std: "docker" "start" "-a" "18e0f7337515ae2aa256f4c76c1579d023caf6c1a3244a716994c59968e3c4ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18e0f7337515ae2aa256f4c76c1579d023caf6c1a3244a716994c59968e3c4ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18e0f7337515ae2aa256f4c76c1579d023caf6c1a3244a716994c59968e3c4ef", kill_on_drop: false }` [INFO] [stdout] 18e0f7337515ae2aa256f4c76c1579d023caf6c1a3244a716994c59968e3c4ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f67045ad35e124ba10b2511750bda67677c6255e95a6881ac8885f15185ba16 [INFO] running `Command { std: "docker" "start" "-a" "0f67045ad35e124ba10b2511750bda67677c6255e95a6881ac8885f15185ba16", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking jane v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/cpu.rs:700:53 [INFO] [stdout] | [INFO] [stdout] 700 | let new_a = self.registers.a | self.load(address);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:817:11 [INFO] [stdout] | [INFO] [stdout] 817 | 0x0000 ... 0x1FFF => self.ram.load(address & 0x7FF), [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:818:11 [INFO] [stdout] | [INFO] [stdout] 818 | 0x2000 ... 0x2007 => unimplemented!(), [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/cpu.rs:819:11 [INFO] [stdout] | [INFO] [stdout] 819 | 0x2008 ... 0x3FFF => unimplemented!(), [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/cpu.rs:820:11 [INFO] [stdout] | [INFO] [stdout] 820 | 0x4000 ... 0x401F => unimplemented!(), [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/cpu.rs:821:11 [INFO] [stdout] | [INFO] [stdout] 821 | 0x4020 ... 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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:832:11 [INFO] [stdout] | [INFO] [stdout] 832 | 0x0000 ... 0x07FF => self.ram.store(address & 0x7FF, value), [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/cpu.rs:833:11 [INFO] [stdout] | [INFO] [stdout] 833 | 0x2000 ... 0x2007 => unimplemented!(), [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/cpu.rs:834:11 [INFO] [stdout] | [INFO] [stdout] 834 | 0x2008 ... 0x3FFF => unimplemented!(), [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 trailing semicolon [INFO] [stdout] --> src/cpu.rs:700:53 [INFO] [stdout] | [INFO] [stdout] 700 | let new_a = self.registers.a | self.load(address);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:835:11 [INFO] [stdout] | [INFO] [stdout] 835 | 0x4000 ... 0x401F => unimplemented!(), [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/cpu.rs:836:11 [INFO] [stdout] | [INFO] [stdout] 836 | 0x4020 ... 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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:817:11 [INFO] [stdout] | [INFO] [stdout] 817 | 0x0000 ... 0x1FFF => self.ram.load(address & 0x7FF), [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | try!(file.read_to_end(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:818:11 [INFO] [stdout] | [INFO] [stdout] 818 | 0x2000 ... 0x2007 => unimplemented!(), [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:819:11 [INFO] [stdout] | [INFO] [stdout] 819 | 0x2008 ... 0x3FFF => unimplemented!(), [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | let header = try!(Header::new(&header_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:820:11 [INFO] [stdout] | [INFO] [stdout] 820 | 0x4000 ... 0x401F => unimplemented!(), [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/cpu.rs:821:11 [INFO] [stdout] | [INFO] [stdout] 821 | 0x4020 ... 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: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu.rs:832:11 [INFO] [stdout] | [INFO] [stdout] 832 | 0x0000 ... 0x07FF => self.ram.store(address & 0x7FF, value), [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/cpu.rs:833:11 [INFO] [stdout] | [INFO] [stdout] 833 | 0x2000 ... 0x2007 => unimplemented!(), [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/cpu.rs:834:11 [INFO] [stdout] | [INFO] [stdout] 834 | 0x2008 ... 0x3FFF => unimplemented!(), [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/cpu.rs:835:11 [INFO] [stdout] | [INFO] [stdout] 835 | 0x4000 ... 0x401F => unimplemented!(), [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/cpu.rs:836:11 [INFO] [stdout] | [INFO] [stdout] 836 | 0x4020 ... 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: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | try!(file.read_to_end(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | let header = try!(Header::new(&header_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | cartridge: Box [INFO] [stdout] | ^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | cartridge: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | cartridge: Box [INFO] [stdout] | ^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | cartridge: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(cartridge: Box) -> CPU { [INFO] [stdout] | ^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(cartridge: Box) -> CPU { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(cartridge: Box) -> CPU { [INFO] [stdout] | ^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(cartridge: Box) -> CPU { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 825 | _ => unreachable!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 817 | 0x0000 ... 0x1FFF => self.ram.load(address & 0x7FF), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 818 | 0x2000 ... 0x2007 => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 819 | 0x2008 ... 0x3FFF => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 820 | 0x4000 ... 0x401F => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 825 | _ => unreachable!() [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 825 | _ => unreachable!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 817 | 0x0000 ... 0x1FFF => self.ram.load(address & 0x7FF), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 818 | 0x2000 ... 0x2007 => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 819 | 0x2008 ... 0x3FFF => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 820 | 0x4000 ... 0x401F => unimplemented!(), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 825 | _ => unreachable!() [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/memory.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn store(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/memory.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn store(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/memory.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn store(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/memory.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn store(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NMI_VECTOR` is never used [INFO] [stdout] --> src/cpu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const NMI_VECTOR: u16 = 0xFFFA; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESET_VECTOR` is never used [INFO] [stdout] --> src/cpu.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const RESET_VECTOR: u16 = 0xFFFC; // Location of first instruction in memory [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `power_up` and `reset` are never used [INFO] [stdout] --> src/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 46 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn power_up(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NMI_VECTOR` is never used [INFO] [stdout] --> src/cpu.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const NMI_VECTOR: u16 = 0xFFFA; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESET_VECTOR` is never used [INFO] [stdout] --> src/cpu.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const RESET_VECTOR: u16 = 0xFFFC; // Location of first instruction in memory [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/mapper.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NRomPRG { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | // TODO PRG RAM [INFO] [stdout] 7 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NRomCHR` is never constructed [INFO] [stdout] --> src/mapper.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct NRomCHR { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `power_up` and `reset` are never used [INFO] [stdout] --> src/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 46 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn power_up(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `storew` is never used [INFO] [stdout] --> src/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Memory { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn storew(&mut self, address: u16, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/mapper.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NRomPRG { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | // TODO PRG RAM [INFO] [stdout] 7 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NRomCHR` is never constructed [INFO] [stdout] --> src/mapper.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct NRomCHR { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prg_ram_size` is never read [INFO] [stdout] --> src/rom.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `storew` is never used [INFO] [stdout] --> src/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Memory { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn storew(&mut self, address: u16, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prg_ram_size` is never read [INFO] [stdout] --> src/rom.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `horizontal_arrangement`, `battery_backed_prg_ram`, `trainer`, and `four_screen_vram` are never read [INFO] [stdout] --> src/rom.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Flags6 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 69 | pub horizontal_arrangement: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub battery_backed_prg_ram: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub trainer: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub four_screen_vram: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags6` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vs_unisystem`, `playchoice_10`, and `ines_2` are never read [INFO] [stdout] --> src/rom.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Flags7 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 97 | pub vs_unisystem: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 98 | pub playchoice_10: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub ines_2: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags7` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `horizontal_arrangement`, `battery_backed_prg_ram`, `trainer`, and `four_screen_vram` are never read [INFO] [stdout] --> src/rom.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Flags6 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 69 | pub horizontal_arrangement: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub battery_backed_prg_ram: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub trainer: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub four_screen_vram: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags6` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chr` is never read [INFO] [stdout] --> src/rom.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Rom { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub chr: Box> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vs_unisystem`, `playchoice_10`, and `ines_2` are never read [INFO] [stdout] --> src/rom.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Flags7 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 97 | pub vs_unisystem: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 98 | pub playchoice_10: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub ines_2: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags7` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chr` is never read [INFO] [stdout] --> src/rom.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Rom { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub chr: Box> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mapper.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(header: Header, prg: Box>) -> NRomPRG { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | prg: ReadOnlyMemory::new(prg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mapper.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(header: Header, prg: Box>) -> NRomPRG { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | prg: ReadOnlyMemory::new(prg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rom.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn open>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | let mut file = try!(File::open(path)); [INFO] [stdout] | ---- ---------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let header = try!(Header::new(&header_data)); [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Ok(Rom { [INFO] [stdout] | ____________^ [INFO] [stdout] 153 | | header: header, [INFO] [stdout] 154 | | prg: Box::new(prg.to_vec()), [INFO] [stdout] 155 | | chr: Box::new(chr.to_vec()) [INFO] [stdout] 156 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rom.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn open>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | let mut file = try!(File::open(path)); [INFO] [stdout] | ---- ---------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | let header = try!(Header::new(&header_data)); [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Ok(Rom { [INFO] [stdout] | ____________^ [INFO] [stdout] 153 | | header: header, [INFO] [stdout] 154 | | prg: Box::new(prg.to_vec()), [INFO] [stdout] 155 | | chr: Box::new(chr.to_vec()) [INFO] [stdout] 156 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jane` (bin "jane") due to 3 previous errors; 30 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jane` (bin "jane" test) due to 3 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f67045ad35e124ba10b2511750bda67677c6255e95a6881ac8885f15185ba16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f67045ad35e124ba10b2511750bda67677c6255e95a6881ac8885f15185ba16", kill_on_drop: false }` [INFO] [stdout] 0f67045ad35e124ba10b2511750bda67677c6255e95a6881ac8885f15185ba16