[INFO] cloning repository https://github.com/marethyu/nesty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marethyu/nesty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarethyu%2Fnesty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarethyu%2Fnesty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb358dc0f6f5d00cefd1927f64879abb85446a1d [INFO] checking marethyu/nesty against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarethyu%2Fnesty" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marethyu/nesty 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/marethyu/nesty [INFO] finished tweaking git repo https://github.com/marethyu/nesty [INFO] tweaked toml for git repo https://github.com/marethyu/nesty written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/marethyu/nesty 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded proc-bitfield-macros v0.1.0 [INFO] [stderr] Downloaded wfd v0.1.7 [INFO] [stderr] Downloaded native-dialog v0.6.3 [INFO] [stderr] Downloaded which v4.2.5 [INFO] [stderr] Downloaded redox_syscall v0.2.15 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] [stderr] Downloaded web-sys v0.3.59 [INFO] [stderr] Downloaded proc-bitfield v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3466fb992e9edbe52210f1c8c7a233ec8d9d502fe9534659c66877e658c83582 [INFO] running `Command { std: "docker" "start" "-a" "3466fb992e9edbe52210f1c8c7a233ec8d9d502fe9534659c66877e658c83582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3466fb992e9edbe52210f1c8c7a233ec8d9d502fe9534659c66877e658c83582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3466fb992e9edbe52210f1c8c7a233ec8d9d502fe9534659c66877e658c83582", kill_on_drop: false }` [INFO] [stdout] 3466fb992e9edbe52210f1c8c7a233ec8d9d502fe9534659c66877e658c83582 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 28494d3b4916cc956c358aaa570d47ed54dba7ca7d313a3ab0caa6e4c05b32ad [INFO] running `Command { std: "docker" "start" "-a" "28494d3b4916cc956c358aaa570d47ed54dba7ca7d313a3ab0caa6e4c05b32ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking which v4.2.5 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling proc-bitfield-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Checking proc-bitfield v0.1.1 [INFO] [stderr] Checking nesty v0.1.0 (/opt/rustwide/workdir/nesty) [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking native-dialog v0.6.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> nesty/src/mapper/mapper0.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | fn ppu_write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> nesty/src/mapper/mapper0.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | fn ppu_write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nesty/src/bus.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> nesty/src/bus.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 106 | 0x0000..=0x1FFF => self.ram[mirror!(0x0000, addr, RAM_SIZE)], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 107 | 0x2000..=0x3FFF => self.ppu().borrow_mut().read_register(mirror!(0x2000, addr, PPU_REG_COUNT)), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 108 | 0x4000..=0x401F => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | 0x4020..=0xFFFF => self.cart().borrow_mut().read_byte(addr), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 115 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nesty/src/bus.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> nesty/src/bus.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 127 | 0x0000..=0x1FFF => { self.ram[mirror!(0x0000, addr, RAM_SIZE)] = data; } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 128 | 0x2000..=0x3FFF => { self.ppu().borrow_mut().write_register(mirror!(0x2000, addr, PPU_REG_COUNT), data); } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 129 | 0x4000..=0x401F => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 145 | 0x4020..=0xFFFF => { self.cart().borrow_mut().write_byte(addr, data); } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 146 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nesty/src/bus.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> nesty/src/bus.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 106 | 0x0000..=0x1FFF => self.ram[mirror!(0x0000, addr, RAM_SIZE)], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 107 | 0x2000..=0x3FFF => self.ppu().borrow_mut().read_register(mirror!(0x2000, addr, PPU_REG_COUNT)), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 108 | 0x4000..=0x401F => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | 0x4020..=0xFFFF => self.cart().borrow_mut().read_byte(addr), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 115 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nesty/src/bus.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> nesty/src/bus.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 127 | 0x0000..=0x1FFF => { self.ram[mirror!(0x0000, addr, RAM_SIZE)] = data; } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 128 | 0x2000..=0x3FFF => { self.ppu().borrow_mut().write_register(mirror!(0x2000, addr, PPU_REG_COUNT), data); } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 129 | 0x4000..=0x401F => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 145 | 0x4020..=0xFFFF => { self.cart().borrow_mut().write_byte(addr, data); } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 146 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_word` is never used [INFO] [stdout] --> nesty/src/io.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IO { [INFO] [stdout] | -- method in this trait [INFO] [stdout] ... [INFO] [stdout] 5 | fn write_word(&mut self, addr: u16, data: u16); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_U` is never used [INFO] [stdout] --> nesty/src/m6502.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const FLAG_U: u8 = 5; // unused [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_B` is never used [INFO] [stdout] --> nesty/src/m6502.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const FLAG_B: u8 = 4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cpu_write_word` is never used [INFO] [stdout] --> nesty/src/m6502.rs:658:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl M6502 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 658 | fn cpu_write_word(&mut self, addr: u16, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | if (a >= 0x000 && a < 0x400) || (a >= 0x800 && a < 0xC00) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:812:28 [INFO] [stdout] | [INFO] [stdout] 812 | if a >= 0x000 && a < 0x800 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:857:29 [INFO] [stdout] | [INFO] [stdout] 857 | if (a >= 0x000 && a < 0x400) || (a >= 0x800 && a < 0xC00) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:870:28 [INFO] [stdout] | [INFO] [stdout] 870 | if a >= 0x000 && a < 0x800 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_word` is never used [INFO] [stdout] --> nesty/src/io.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IO { [INFO] [stdout] | -- method in this trait [INFO] [stdout] ... [INFO] [stdout] 5 | fn write_word(&mut self, addr: u16, data: u16); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_U` is never used [INFO] [stdout] --> nesty/src/m6502.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const FLAG_U: u8 = 5; // unused [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_B` is never used [INFO] [stdout] --> nesty/src/m6502.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const FLAG_B: u8 = 4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cpu_write_word` is never used [INFO] [stdout] --> nesty/src/m6502.rs:658:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl M6502 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 658 | fn cpu_write_word(&mut self, addr: u16, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | if (a >= 0x000 && a < 0x400) || (a >= 0x800 && a < 0xC00) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:812:28 [INFO] [stdout] | [INFO] [stdout] 812 | if a >= 0x000 && a < 0x800 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:857:29 [INFO] [stdout] | [INFO] [stdout] 857 | if (a >= 0x000 && a < 0x400) || (a >= 0x800 && a < 0xC00) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:870:28 [INFO] [stdout] | [INFO] [stdout] 870 | if a >= 0x000 && a < 0x800 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nesty-desktop-sdl2 v0.1.0 (/opt/rustwide/workdir/platform/desktop-sdl2) [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking js-sys v0.3.59 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.59 [INFO] [stderr] Checking nesty-web v0.1.0 (/opt/rustwide/workdir/platform/web) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | window.alert_with_message(&err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = window.alert_with_message(&err); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | window.alert_with_message(&err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = window.alert_with_message(&err); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | storage.set_item("nesty-save-state", &serialized_json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = storage.set_item("nesty-save-state", &serialized_json); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | window.alert_with_message("State saved!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = window.alert_with_message("State saved!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | storage.set_item("nesty-save-state", &serialized_json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = storage.set_item("nesty-save-state", &serialized_json); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | window.alert_with_message("State loaded!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = window.alert_with_message("State loaded!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | window.alert_with_message("State saved!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = window.alert_with_message("State saved!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | ctx.put_image_data(&img_data, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = ctx.put_image_data(&img_data, 0.0, 0.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | window.alert_with_message("State loaded!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = window.alert_with_message("State loaded!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | ... display_ctx.draw_image_with_html_canvas_element_and_dw_and_dh(&fake_canvas, 0.0, 0.0, (2 * ppu::WIDTH) as f64, (2 * ppu::HEIGHT) as f6... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = display_ctx.draw_image_with_html_canvas_element_and_dw_and_dh(&fake_canvas, 0.0, 0.0, (2 * ppu::WIDTH) as f64, (2 * ppu::HEIGHT) as f64); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | ctx.put_image_data(&img_data, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = ctx.put_image_data(&img_data, 0.0, 0.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/web/src/lib.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | ... display_ctx.draw_image_with_html_canvas_element_and_dw_and_dh(&fake_canvas, 0.0, 0.0, (2 * ppu::WIDTH) as f64, (2 * ppu::HEIGHT) as f6... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = display_ctx.draw_image_with_html_canvas_element_and_dw_and_dh(&fake_canvas, 0.0, 0.0, (2 * ppu::WIDTH) as f64, (2 * ppu::HEIGHT) as f64); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "28494d3b4916cc956c358aaa570d47ed54dba7ca7d313a3ab0caa6e4c05b32ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28494d3b4916cc956c358aaa570d47ed54dba7ca7d313a3ab0caa6e4c05b32ad", kill_on_drop: false }` [INFO] [stdout] 28494d3b4916cc956c358aaa570d47ed54dba7ca7d313a3ab0caa6e4c05b32ad [INFO] checking marethyu/nesty 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%2Fmarethyu%2Fnesty" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marethyu/nesty 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/marethyu/nesty [INFO] finished tweaking git repo https://github.com/marethyu/nesty [INFO] tweaked toml for git repo https://github.com/marethyu/nesty written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/marethyu/nesty 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a92c96a460d705a9babe996793f67e718ab06196f9528f24098c05f8af4a8478 [INFO] running `Command { std: "docker" "start" "-a" "a92c96a460d705a9babe996793f67e718ab06196f9528f24098c05f8af4a8478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a92c96a460d705a9babe996793f67e718ab06196f9528f24098c05f8af4a8478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92c96a460d705a9babe996793f67e718ab06196f9528f24098c05f8af4a8478", kill_on_drop: false }` [INFO] [stdout] a92c96a460d705a9babe996793f67e718ab06196f9528f24098c05f8af4a8478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0f4f9ce5627a3ec8dd4120155dbf11bf5febb88a52909666151d10c2a4f2b6f7 [INFO] running `Command { std: "docker" "start" "-a" "0f4f9ce5627a3ec8dd4120155dbf11bf5febb88a52909666151d10c2a4f2b6f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking which v4.2.5 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling proc-bitfield-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Checking proc-bitfield v0.1.1 [INFO] [stderr] Checking nesty v0.1.0 (/opt/rustwide/workdir/nesty) [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Checking native-dialog v0.6.3 [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> nesty/src/mapper/mapper0.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | fn ppu_write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> nesty/src/mapper/mapper0.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | fn ppu_write_byte(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nesty/src/bus.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> nesty/src/bus.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 106 | 0x0000..=0x1FFF => self.ram[mirror!(0x0000, addr, RAM_SIZE)], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 107 | 0x2000..=0x3FFF => self.ppu().borrow_mut().read_register(mirror!(0x2000, addr, PPU_REG_COUNT)), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 108 | 0x4000..=0x401F => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | 0x4020..=0xFFFF => self.cart().borrow_mut().read_byte(addr), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 115 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nesty/src/bus.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> nesty/src/bus.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 127 | 0x0000..=0x1FFF => { self.ram[mirror!(0x0000, addr, RAM_SIZE)] = data; } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 128 | 0x2000..=0x3FFF => { self.ppu().borrow_mut().write_register(mirror!(0x2000, addr, PPU_REG_COUNT), data); } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 129 | 0x4000..=0x401F => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 145 | 0x4020..=0xFFFF => { self.cart().borrow_mut().write_byte(addr, data); } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 146 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nesty/src/bus.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> nesty/src/bus.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 106 | 0x0000..=0x1FFF => self.ram[mirror!(0x0000, addr, RAM_SIZE)], [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 107 | 0x2000..=0x3FFF => self.ppu().borrow_mut().read_register(mirror!(0x2000, addr, PPU_REG_COUNT)), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 108 | 0x4000..=0x401F => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | 0x4020..=0xFFFF => self.cart().borrow_mut().read_byte(addr), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 115 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> nesty/src/bus.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> nesty/src/bus.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 127 | 0x0000..=0x1FFF => { self.ram[mirror!(0x0000, addr, RAM_SIZE)] = data; } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 128 | 0x2000..=0x3FFF => { self.ppu().borrow_mut().write_register(mirror!(0x2000, addr, PPU_REG_COUNT), data); } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 129 | 0x4000..=0x401F => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 145 | 0x4020..=0xFFFF => { self.cart().borrow_mut().write_byte(addr, data); } [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 146 | _ => panic!("Address out of bounds: {:04X}", addr) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_word` is never used [INFO] [stdout] --> nesty/src/io.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IO { [INFO] [stdout] | -- method in this trait [INFO] [stdout] ... [INFO] [stdout] 5 | fn write_word(&mut self, addr: u16, data: u16); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_U` is never used [INFO] [stdout] --> nesty/src/m6502.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const FLAG_U: u8 = 5; // unused [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_B` is never used [INFO] [stdout] --> nesty/src/m6502.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const FLAG_B: u8 = 4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cpu_write_word` is never used [INFO] [stdout] --> nesty/src/m6502.rs:658:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl M6502 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 658 | fn cpu_write_word(&mut self, addr: u16, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] --> nesty/src/dma.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(weak_cpu: Weak>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | weak_bus: Weak>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | DMA { [INFO] [stdout] 28 | cpu: weak_cpu.clone(), [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] --> nesty/src/dma.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(weak_cpu: Weak>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | weak_bus: Weak>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | ppu: weak_ppu.clone(), [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] --> nesty/src/dma.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(weak_cpu: Weak>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | weak_bus: Weak>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | bus: weak_bus.clone(), [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] --> nesty/src/cartridge.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 27 | let (mapper, _) = Cartridge::parse_metadata(STARTUP_ROM.to_vec()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | mapper: mapper.unwrap(), [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: nesty/src/cartridge.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let (mapper, _) = Cartridge::parse_metadata(STARTUP_ROM.to_vec()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | expansion_area: box_array![0; EXPANSION_AREA_SIZE] [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_word` is never used [INFO] [stdout] --> nesty/src/io.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IO { [INFO] [stdout] | -- method in this trait [INFO] [stdout] ... [INFO] [stdout] 5 | fn write_word(&mut self, addr: u16, data: u16); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_U` is never used [INFO] [stdout] --> nesty/src/m6502.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const FLAG_U: u8 = 5; // unused [INFO] [stdout] | ^^^^^^ [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] --> nesty/src/m6502.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn new(bus: Weak>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | bus: bus.clone(), [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] warning: constant `FLAG_B` is never used [INFO] [stdout] --> nesty/src/m6502.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const FLAG_B: u8 = 4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cpu_write_word` is never used [INFO] [stdout] --> nesty/src/m6502.rs:658:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl M6502 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 658 | fn cpu_write_word(&mut self, addr: u16, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] --> nesty/src/dma.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(weak_cpu: Weak>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | weak_bus: Weak>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | DMA { [INFO] [stdout] 28 | cpu: weak_cpu.clone(), [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] --> nesty/src/dma.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(weak_cpu: Weak>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | weak_bus: Weak>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | ppu: weak_ppu.clone(), [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] --> nesty/src/bus.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | Bus { [INFO] [stdout] 64 | cart: weak_cart.clone(), [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] --> nesty/src/bus.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | ppu: weak_ppu.clone(), [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] --> nesty/src/dma.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(weak_cpu: Weak>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | weak_bus: Weak>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | bus: weak_bus.clone(), [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] --> nesty/src/bus.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | joypad: weak_joypad.clone(), [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | ram: box_array![0; RAM_SIZE], [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | io_regs: box_array![0; IO_REGS_COUNT], [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> nesty/src/cartridge.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 27 | let (mapper, _) = Cartridge::parse_metadata(STARTUP_ROM.to_vec()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | mapper: mapper.unwrap(), [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] --> nesty/src/ppu.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | PPU { [INFO] [stdout] 174 | cart: cart.clone(), [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] --> nesty/src/ppu.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | nametable: [(); 4].map(|_| box_array![0; NAMETABLE_SIZE]), [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: nesty/src/cartridge.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let (mapper, _) = Cartridge::parse_metadata(STARTUP_ROM.to_vec()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | expansion_area: box_array![0; EXPANSION_AREA_SIZE] [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: nesty/src/ppu.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | palette_ram: box_array![0; PALETTE_RAM_SIZE], [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: nesty/src/ppu.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | oam: box_array![0; OAM_SIZE], [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> nesty/src/m6502.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn new(bus: Weak>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | bus: bus.clone(), [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: nesty/src/ppu.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | transparent: box_array![false; WIDTH * HEIGHT], [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | if (a >= 0x000 && a < 0x400) || (a >= 0x800 && a < 0xC00) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:812:28 [INFO] [stdout] | [INFO] [stdout] 812 | if a >= 0x000 && a < 0x800 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:857:29 [INFO] [stdout] | [INFO] [stdout] 857 | if (a >= 0x000 && a < 0x400) || (a >= 0x800 && a < 0xC00) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:870:28 [INFO] [stdout] | [INFO] [stdout] 870 | if a >= 0x000 && a < 0x800 { [INFO] [stdout] | ^^^^^^^^^^ [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] --> nesty/src/bus.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | Bus { [INFO] [stdout] 64 | cart: weak_cart.clone(), [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] --> nesty/src/bus.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | ppu: weak_ppu.clone(), [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] --> nesty/src/bus.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | joypad: weak_joypad.clone(), [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | ram: box_array![0; RAM_SIZE], [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn new(weak_cart: Weak>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | weak_ppu: Weak>, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | weak_joypad: Weak>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | io_regs: box_array![0; IO_REGS_COUNT], [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> nesty/src/ppu.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | PPU { [INFO] [stdout] 174 | cart: cart.clone(), [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] --> nesty/src/ppu.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | nametable: [(); 4].map(|_| box_array![0; NAMETABLE_SIZE]), [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: nesty/src/ppu.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | palette_ram: box_array![0; PALETTE_RAM_SIZE], [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: nesty/src/ppu.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | oam: box_array![0; OAM_SIZE], [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> nesty/src/bus.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr ; $len:expr) => {{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 30 | | // Use a generic function so that the pointer cast remains type-safe [INFO] [stdout] 31 | | fn vec_to_boxed_array(vec: Vec) -> Box<[T; $len]> { [INFO] [stdout] 32 | | let boxed_slice = vec.into_boxed_slice(); [INFO] [stdout] ... | [INFO] [stdout] 39 | | vec_to_boxed_array(vec![$val; $len]) [INFO] [stdout] 40 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] ::: nesty/src/ppu.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(cart: Weak>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | transparent: box_array![false; WIDTH * HEIGHT], [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `box_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | if (a >= 0x000 && a < 0x400) || (a >= 0x800 && a < 0xC00) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:812:28 [INFO] [stdout] | [INFO] [stdout] 812 | if a >= 0x000 && a < 0x800 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:857:29 [INFO] [stdout] | [INFO] [stdout] 857 | if (a >= 0x000 && a < 0x400) || (a >= 0x800 && a < 0xC00) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> nesty/src/ppu.rs:870:28 [INFO] [stdout] | [INFO] [stdout] 870 | if a >= 0x000 && a < 0x800 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nesty` (lib test) due to 17 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nesty` (lib) due to 17 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f4f9ce5627a3ec8dd4120155dbf11bf5febb88a52909666151d10c2a4f2b6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4f9ce5627a3ec8dd4120155dbf11bf5febb88a52909666151d10c2a4f2b6f7", kill_on_drop: false }` [INFO] [stdout] 0f4f9ce5627a3ec8dd4120155dbf11bf5febb88a52909666151d10c2a4f2b6f7