[INFO] cloning repository https://github.com/bigbass1997/rustari2600 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bigbass1997/rustari2600" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Frustari2600", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Frustari2600'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d9cbba42d56d6fb2a3aac146865d2af180d27d3 [INFO] checking bigbass1997/rustari2600/6d9cbba42d56d6fb2a3aac146865d2af180d27d3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Frustari2600" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bigbass1997/rustari2600 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bigbass1997/rustari2600 [INFO] finished tweaking git repo https://github.com/bigbass1997/rustari2600 [INFO] tweaked toml for git repo https://github.com/bigbass1997/rustari2600 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bigbass1997/rustari2600 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34cc14c75c6dddb5047f45154fb66d309f4ce5573090b8a9716997ba84301fa8 [INFO] running `Command { std: "docker" "start" "-a" "34cc14c75c6dddb5047f45154fb66d309f4ce5573090b8a9716997ba84301fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34cc14c75c6dddb5047f45154fb66d309f4ce5573090b8a9716997ba84301fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34cc14c75c6dddb5047f45154fb66d309f4ce5573090b8a9716997ba84301fa8", kill_on_drop: false }` [INFO] [stdout] 34cc14c75c6dddb5047f45154fb66d309f4ce5573090b8a9716997ba84301fa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec41995ee1a82ebf9f4d5c0a326a60da607b664210d62cc9ce4482f5ce9c4cdb [INFO] running `Command { std: "docker" "start" "-a" "ec41995ee1a82ebf9f4d5c0a326a60da607b664210d62cc9ce4482f5ce9c4cdb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling minifb v0.20.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap v3.0.0-rc.4 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rustari2600 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cpu` [INFO] [stdout] --> src/arch/tia.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Bus, Cpu, InfCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cpu` [INFO] [stdout] --> src/arch/tia.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Bus, Cpu, InfCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/arch/cpu.rs:960:5 [INFO] [stdout] | [INFO] [stdout] 959 | todo!("TODO: TEST THIS"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 960 | / match procedure.cycle { [INFO] [stdout] 961 | | 2 => {cpu.fetch(bus);}, [INFO] [stdout] 962 | | 3 => {bus.read(0x100 + cpu.sp.0 as u16);} [INFO] [stdout] 963 | | 4 => {cpu.stack_pull(bus);}, // pull P from stack (what is P?) [INFO] [stdout] ... | [INFO] [stdout] 973 | | _ => (), [INFO] [stdout] 974 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/arch/cpu.rs:1373:13 [INFO] [stdout] | [INFO] [stdout] 1372 | panic!(""); [INFO] [stdout] | ---------- any code following this expression is unreachable [INFO] [stdout] 1373 | / match procedure.cycle { [INFO] [stdout] 1374 | | 2 => { [INFO] [stdout] 1375 | | procedure.tmp0 = cpu.fetch(bus); [INFO] [stdout] 1376 | | None [INFO] [stdout] ... | [INFO] [stdout] 1397 | | _ => None [INFO] [stdout] 1398 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus_ref` [INFO] [stdout] --> src/arch/tia.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let bus_ref = bus_cell.get_mut(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bus_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arch/tia.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut cpu = &mut bus.cpu; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arch/tia.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut pia = &mut bus.pia; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/arch/pia.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let bus = bus_cell.get_mut(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/arch/cartridge.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/arch/cartridge.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_UPDATE_PER_PIXEL` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const DEBUG_UPDATE_PER_PIXEL: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_UPDATE_PER_FRAME` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEBUG_UPDATE_PER_FRAME: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECAM_COLOR_LUT` is never used [INFO] [stdout] --> src/arch/tia.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SECAM_COLOR_LUT: [u32; 8] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fb_color` is never read [INFO] [stdout] --> src/arch/tia.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Tia { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | pub fb_color: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tia` 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 `debug_color_clock` is never used [INFO] [stdout] --> src/arch/tia.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 105 | impl Tia { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | fn debug_color_clock(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cycles_to_wait` and `counter` are never read [INFO] [stdout] --> src/arch/cpu.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | cycles_to_wait: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 118 | procedure: Option, [INFO] [stdout] 119 | counter: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` 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 `get` is never used [INFO] [stdout] --> src/util.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl InfCell { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get(&self) -> &T { [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] --> src/util.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Self { uc: UnsafeCell::new(val) } [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: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/arch/cpu.rs:960:5 [INFO] [stdout] | [INFO] [stdout] 959 | todo!("TODO: TEST THIS"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 960 | / match procedure.cycle { [INFO] [stdout] 961 | | 2 => {cpu.fetch(bus);}, [INFO] [stdout] 962 | | 3 => {bus.read(0x100 + cpu.sp.0 as u16);} [INFO] [stdout] 963 | | 4 => {cpu.stack_pull(bus);}, // pull P from stack (what is P?) [INFO] [stdout] ... | [INFO] [stdout] 973 | | _ => (), [INFO] [stdout] 974 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/arch/cpu.rs:1373:13 [INFO] [stdout] | [INFO] [stdout] 1372 | panic!(""); [INFO] [stdout] | ---------- any code following this expression is unreachable [INFO] [stdout] 1373 | / match procedure.cycle { [INFO] [stdout] 1374 | | 2 => { [INFO] [stdout] 1375 | | procedure.tmp0 = cpu.fetch(bus); [INFO] [stdout] 1376 | | None [INFO] [stdout] ... | [INFO] [stdout] 1397 | | _ => None [INFO] [stdout] 1398 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustari2600` (bin "rustari2600" test) due to 2 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `bus_ref` [INFO] [stdout] --> src/arch/tia.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let bus_ref = bus_cell.get_mut(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bus_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arch/tia.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut cpu = &mut bus.cpu; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arch/tia.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut pia = &mut bus.pia; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/arch/pia.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let bus = bus_cell.get_mut(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/arch/cartridge.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/arch/cartridge.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_UPDATE_PER_PIXEL` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const DEBUG_UPDATE_PER_PIXEL: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_UPDATE_PER_FRAME` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEBUG_UPDATE_PER_FRAME: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECAM_COLOR_LUT` is never used [INFO] [stdout] --> src/arch/tia.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SECAM_COLOR_LUT: [u32; 8] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fb_color` is never read [INFO] [stdout] --> src/arch/tia.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Tia { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | pub fb_color: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tia` 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 `debug_color_clock` is never used [INFO] [stdout] --> src/arch/tia.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 105 | impl Tia { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | fn debug_color_clock(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cycles_to_wait` and `counter` are never read [INFO] [stdout] --> src/arch/cpu.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | cycles_to_wait: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 118 | procedure: Option, [INFO] [stdout] 119 | counter: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` 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 `get` is never used [INFO] [stdout] --> src/util.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl InfCell { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get(&self) -> &T { [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] --> src/util.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Self { uc: UnsafeCell::new(val) } [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: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustari2600` (bin "rustari2600") due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ec41995ee1a82ebf9f4d5c0a326a60da607b664210d62cc9ce4482f5ce9c4cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec41995ee1a82ebf9f4d5c0a326a60da607b664210d62cc9ce4482f5ce9c4cdb", kill_on_drop: false }` [INFO] [stdout] ec41995ee1a82ebf9f4d5c0a326a60da607b664210d62cc9ce4482f5ce9c4cdb