[INFO] updating cached repository https://github.com/c-ola/cassowary-gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59563f1271297b87a4d51447bb3575636797368f [INFO] checking c-ola/cassowary-gb/59563f1271297b87a4d51447bb3575636797368f 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%2Fc-ola%2Fcassowary-gb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/c-ola/cassowary-gb 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/c-ola/cassowary-gb [INFO] finished tweaking git repo https://github.com/c-ola/cassowary-gb [INFO] tweaked toml for git repo https://github.com/c-ola/cassowary-gb written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/c-ola/cassowary-gb 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e9eb893b9e57579f4811a069f2adea93b850bb6830ff14800a8663a9305b2d5b [INFO] running `Command { std: "docker" "start" "-a" "e9eb893b9e57579f4811a069f2adea93b850bb6830ff14800a8663a9305b2d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9eb893b9e57579f4811a069f2adea93b850bb6830ff14800a8663a9305b2d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9eb893b9e57579f4811a069f2adea93b850bb6830ff14800a8663a9305b2d5b", kill_on_drop: false }` [INFO] [stdout] e9eb893b9e57579f4811a069f2adea93b850bb6830ff14800a8663a9305b2d5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5c751a059eaf1a86d9767d23f2b3f5f13938391649b286377e544b54cdea86ce [INFO] running `Command { std: "docker" "start" "-a" "5c751a059eaf1a86d9767d23f2b3f5f13938391649b286377e544b54cdea86ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking cassowary-gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::regids::IF` [INFO] [stdout] --> src/console/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::regids::IF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/console/ppu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Point` [INFO] [stdout] --> src/console/ppu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/console/ppu.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::render::{Canvas, Texture}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::surface::Surface` [INFO] [stdout] --> src/console/ppu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::surface::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> src/console/ppu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::regids::*` [INFO] [stdout] --> src/console/apu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::regids::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpecDesired` [INFO] [stdout] --> src/console/apu.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64` [INFO] [stdout] --> src/console.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::atomic::AtomicU64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/console.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/console.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/console.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/console.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::JoinHandle` [INFO] [stdout] --> src/console.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::thread::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::regids::IF` [INFO] [stdout] --> src/console/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::regids::IF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/console/ppu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Point` [INFO] [stdout] --> src/console/ppu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/console/ppu.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::render::{Canvas, Texture}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::surface::Surface` [INFO] [stdout] --> src/console/ppu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::surface::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> src/console/ppu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::regids::*` [INFO] [stdout] --> src/console/apu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::regids::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpecDesired` [INFO] [stdout] --> src/console/apu.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::audio::{AudioCallback, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicU64` [INFO] [stdout] --> src/console.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::atomic::AtomicU64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/console.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/console.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/console.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/console.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::JoinHandle` [INFO] [stdout] --> src/console.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::thread::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_flip` [INFO] [stdout] --> src/console/ppu.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | fn mix_bytes_obj(low: u8, high: u8, y_flip: bool, x_flip: bool) -> [u8; 8] { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_flip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pace` [INFO] [stdout] --> src/console/apu.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let pace = nr10 & 0b01110000 >> 4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env_dir` [INFO] [stdout] --> src/console/apu.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let env_dir = nr12 & 0b00001000 >> 3; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sweep_pace` [INFO] [stdout] --> src/console/apu.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let sweep_pace = nr12 & 0b00000111; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sweep_pace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trigger` [INFO] [stdout] --> src/console/apu.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let trigger = nr14 & 0b10000000 >> 7; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length_en` [INFO] [stdout] --> src/console/apu.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let length_en = nr14 & 0b01000000 >> 6; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_en` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clock_timer` is never read [INFO] [stdout] --> src/console.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | clock_timer = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock_timer` [INFO] [stdout] --> src/console.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | clock_timer = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stop` [INFO] [stdout] --> src/console.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let stop = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/console.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | let byte = data[i]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerfError` is never constructed [INFO] [stdout] --> src/console.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct PerfError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerfTimer` is never constructed [INFO] [stdout] --> src/console.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct PerfTimer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `end`, and `avg` are never used [INFO] [stdout] --> src/console.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl PerfTimer { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 69 | fn new() -> PerfTimer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn end(&mut self) -> Result<(), PerfError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn avg(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_cpu` is never used [INFO] [stdout] --> src/console.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 147 | impl GameBoy { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn run_cpu(&mut self, stop_signal: Arc, clock: Arc<(Mutex, Condvar)>) -> thread::JoinHandle<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_carry_flags` is never used [INFO] [stdout] --> src/console/cpu.rs:655:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl SharpSM83 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 655 | fn set_carry_flags(&mut self, carry: bool, half_carry: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DMA` is never used [INFO] [stdout] --> src/console/ppu.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const DMA: u16 = 0xFF46; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJ_EN` is never used [INFO] [stdout] --> src/console/ppu.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const OBJ_EN: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LYC_INT_SEL` is never used [INFO] [stdout] --> src/console/ppu.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const LYC_INT_SEL: u8 = 1 << 6; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M2_INT_SEL` is never used [INFO] [stdout] --> src/console/ppu.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const M2_INT_SEL: u8 = 1 << 5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M1_INT_SEL` is never used [INFO] [stdout] --> src/console/ppu.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | const M1_INT_SEL: u8 = 1 << 4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M0_INT_SEL` is never used [INFO] [stdout] --> src/console/ppu.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const M0_INT_SEL: u8 = 1 << 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LYC_EQ_LY` is never used [INFO] [stdout] --> src/console/ppu.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const LYC_EQ_LY: u8 = 1 << 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PPU_MODE` is never used [INFO] [stdout] --> src/console/ppu.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const PPU_MODE: u8 = 0b11; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sprite_prio` is never read [INFO] [stdout] --> src/console/ppu.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 78 | struct Pixel { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub sprite_prio: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel3_pos` is never read [INFO] [stdout] --> src/console/apu.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Apu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | channel3_pos: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Apu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/console.rs:329:15 [INFO] [stdout] | [INFO] [stdout] 328 | let mut memory = self.gamepack.lock().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | match read(rom_path) { [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; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cassowary-gb` (lib test) due to 2 previous errors; 39 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `y_flip` [INFO] [stdout] --> src/console/ppu.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | fn mix_bytes_obj(low: u8, high: u8, y_flip: bool, x_flip: bool) -> [u8; 8] { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_flip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pace` [INFO] [stdout] --> src/console/apu.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let pace = nr10 & 0b01110000 >> 4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env_dir` [INFO] [stdout] --> src/console/apu.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let env_dir = nr12 & 0b00001000 >> 3; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_env_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sweep_pace` [INFO] [stdout] --> src/console/apu.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let sweep_pace = nr12 & 0b00000111; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sweep_pace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trigger` [INFO] [stdout] --> src/console/apu.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let trigger = nr14 & 0b10000000 >> 7; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length_en` [INFO] [stdout] --> src/console/apu.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let length_en = nr14 & 0b01000000 >> 6; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_en` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clock_timer` is never read [INFO] [stdout] --> src/console.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | clock_timer = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock_timer` [INFO] [stdout] --> src/console.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | clock_timer = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stop` [INFO] [stdout] --> src/console.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let stop = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/console.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | let byte = data[i]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerfError` is never constructed [INFO] [stdout] --> src/console.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct PerfError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerfTimer` is never constructed [INFO] [stdout] --> src/console.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct PerfTimer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `end`, and `avg` are never used [INFO] [stdout] --> src/console.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl PerfTimer { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 69 | fn new() -> PerfTimer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn end(&mut self) -> Result<(), PerfError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn avg(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_cpu` is never used [INFO] [stdout] --> src/console.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 147 | impl GameBoy { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn run_cpu(&mut self, stop_signal: Arc, clock: Arc<(Mutex, Condvar)>) -> thread::JoinHandle<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_carry_flags` is never used [INFO] [stdout] --> src/console/cpu.rs:655:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl SharpSM83 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 655 | fn set_carry_flags(&mut self, carry: bool, half_carry: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DMA` is never used [INFO] [stdout] --> src/console/ppu.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const DMA: u16 = 0xFF46; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJ_EN` is never used [INFO] [stdout] --> src/console/ppu.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const OBJ_EN: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LYC_INT_SEL` is never used [INFO] [stdout] --> src/console/ppu.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const LYC_INT_SEL: u8 = 1 << 6; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M2_INT_SEL` is never used [INFO] [stdout] --> src/console/ppu.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const M2_INT_SEL: u8 = 1 << 5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M1_INT_SEL` is never used [INFO] [stdout] --> src/console/ppu.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | const M1_INT_SEL: u8 = 1 << 4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M0_INT_SEL` is never used [INFO] [stdout] --> src/console/ppu.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const M0_INT_SEL: u8 = 1 << 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LYC_EQ_LY` is never used [INFO] [stdout] --> src/console/ppu.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const LYC_EQ_LY: u8 = 1 << 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PPU_MODE` is never used [INFO] [stdout] --> src/console/ppu.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const PPU_MODE: u8 = 0b11; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sprite_prio` is never read [INFO] [stdout] --> src/console/ppu.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 78 | struct Pixel { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub sprite_prio: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel3_pos` is never read [INFO] [stdout] --> src/console/apu.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Apu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | channel3_pos: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Apu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/console.rs:329:15 [INFO] [stdout] | [INFO] [stdout] 328 | let mut memory = self.gamepack.lock().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | match read(rom_path) { [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; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cassowary-gb` (lib) due to 2 previous errors; 39 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5c751a059eaf1a86d9767d23f2b3f5f13938391649b286377e544b54cdea86ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c751a059eaf1a86d9767d23f2b3f5f13938391649b286377e544b54cdea86ce", kill_on_drop: false }` [INFO] [stdout] 5c751a059eaf1a86d9767d23f2b3f5f13938391649b286377e544b54cdea86ce