[INFO] cloning repository https://github.com/M1ngXU/CHIP-8-Emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/M1ngXU/CHIP-8-Emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1ngXU%2FCHIP-8-Emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1ngXU%2FCHIP-8-Emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c6e3fa8bf351d828cdfb34f017ab4b983f76082 [INFO] testing M1ngXU/CHIP-8-Emulator against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1ngXU%2FCHIP-8-Emulator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/M1ngXU/CHIP-8-Emulator [INFO] finished tweaking git repo https://github.com/M1ngXU/CHIP-8-Emulator [INFO] tweaked toml for git repo https://github.com/M1ngXU/CHIP-8-Emulator written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/M1ngXU/CHIP-8-Emulator on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 203 packages to latest compatible versions [INFO] [stderr] Adding rfd v0.10.0 (available: v0.17.2) [INFO] [stderr] Adding sdl2 v0.35.2 (available: v0.38.0) [INFO] [stderr] Adding zvariant_utils v1.0.1 (available: v1.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c684f6042e44af6a7b678986969d131d5d4e2767481b32ca143bbfdcd257b35 [INFO] running `Command { std: "docker" "start" "-a" "6c684f6042e44af6a7b678986969d131d5d4e2767481b32ca143bbfdcd257b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c684f6042e44af6a7b678986969d131d5d4e2767481b32ca143bbfdcd257b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c684f6042e44af6a7b678986969d131d5d4e2767481b32ca143bbfdcd257b35", kill_on_drop: false }` [INFO] [stdout] 6c684f6042e44af6a7b678986969d131d5d4e2767481b32ca143bbfdcd257b35 [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bb73946d57f7930c5b36b4731c0230d75d45fdbebb2da6c2556a07e9639564c [INFO] running `Command { std: "docker" "start" "-a" "9bb73946d57f7930c5b36b4731c0230d75d45fdbebb2da6c2556a07e9639564c", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling async-executor v1.14.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling ordered-stream v0.0.1 [INFO] [stderr] Compiling async-broadcast v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rfd v0.10.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling unescaper v0.1.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling serialport v4.9.0 [INFO] [stderr] Compiling zbus_macros v2.3.2 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling zbus_names v2.6.1 [INFO] [stderr] Compiling zbus v2.3.2 [INFO] [stderr] Compiling ashpd v0.3.2 [INFO] [stderr] Compiling chip8-emulator v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:178:47 [INFO] [stdout] | [INFO] [stdout] 178 | self.sound_timer = Byte::from_u8(data[(screen_end + 2 + 16)]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - self.sound_timer = Byte::from_u8(data[(screen_end + 2 + 16)]); [INFO] [stdout] 178 + self.sound_timer = Byte::from_u8(data[screen_end + 2 + 16 ]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | self.delay_timer = Byte::from_u8(data[(screen_end + 2 + 16 + 1)]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 179 - self.delay_timer = Byte::from_u8(data[(screen_end + 2 + 16 + 1)]); [INFO] [stdout] 179 + self.delay_timer = Byte::from_u8(data[screen_end + 2 + 16 + 1 ]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | &Byte::from_u8(data[(screen_end + 2 + 16 + 2)]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - &Byte::from_u8(data[(screen_end + 2 + 16 + 2)]), [INFO] [stdout] 181 + &Byte::from_u8(data[screen_end + 2 + 16 + 2 ]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | &Byte::from_u8(data[(screen_end + 2 + 16 + 3)]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - &Byte::from_u8(data[(screen_end + 2 + 16 + 3)]), [INFO] [stdout] 182 + &Byte::from_u8(data[screen_end + 2 + 16 + 3 ]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | if data[(screen_end + 2 + 16 + 3 + 1)] == 0 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - if data[(screen_end + 2 + 16 + 3 + 1)] == 0 { [INFO] [stdout] 184 + if data[screen_end + 2 + 16 + 3 + 1 ] == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:187:50 [INFO] [stdout] | [INFO] [stdout] 187 | self.awaiting_key = Some((0xF & data[(screen_end + 2 + 16 + 3 + 1)]) as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - self.awaiting_key = Some((0xF & data[(screen_end + 2 + 16 + 3 + 1)]) as usize); [INFO] [stdout] 187 + self.awaiting_key = Some((0xF & data[screen_end + 2 + 16 + 3 + 1 ]) as usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `result_option_inspect` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(result_option_inspect)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shutdown` is never used [INFO] [stdout] --> src/emulator/interpreter.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Interpreter { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn shutdown(&mut self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/input.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | KeyPress(Scancode), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InputEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - KeyPress(Scancode), [INFO] [stdout] 13 + KeyPress(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/input.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | MouseButtonDown(MouseButton), [INFO] [stdout] | --------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InputEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - MouseButtonDown(MouseButton), [INFO] [stdout] 17 + MouseButtonDown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/input.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | MouseButtonUp(MouseButton), [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InputEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - MouseButtonUp(MouseButton), [INFO] [stdout] 19 + MouseButtonUp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.3.2 [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" "9bb73946d57f7930c5b36b4731c0230d75d45fdbebb2da6c2556a07e9639564c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bb73946d57f7930c5b36b4731c0230d75d45fdbebb2da6c2556a07e9639564c", kill_on_drop: false }` [INFO] [stdout] 9bb73946d57f7930c5b36b4731c0230d75d45fdbebb2da6c2556a07e9639564c [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adc08b44c39381b04517d1b82f57f8581a580f53988435b0908c4d620c70484d [INFO] running `Command { std: "docker" "start" "-a" "adc08b44c39381b04517d1b82f57f8581a580f53988435b0908c4d620c70484d", kill_on_drop: false }` [INFO] [stderr] Compiling chip8-emulator v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:178:47 [INFO] [stdout] | [INFO] [stdout] 178 | self.sound_timer = Byte::from_u8(data[(screen_end + 2 + 16)]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - self.sound_timer = Byte::from_u8(data[(screen_end + 2 + 16)]); [INFO] [stdout] 178 + self.sound_timer = Byte::from_u8(data[screen_end + 2 + 16 ]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | self.delay_timer = Byte::from_u8(data[(screen_end + 2 + 16 + 1)]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 179 - self.delay_timer = Byte::from_u8(data[(screen_end + 2 + 16 + 1)]); [INFO] [stdout] 179 + self.delay_timer = Byte::from_u8(data[screen_end + 2 + 16 + 1 ]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | &Byte::from_u8(data[(screen_end + 2 + 16 + 2)]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - &Byte::from_u8(data[(screen_end + 2 + 16 + 2)]), [INFO] [stdout] 181 + &Byte::from_u8(data[screen_end + 2 + 16 + 2 ]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | &Byte::from_u8(data[(screen_end + 2 + 16 + 3)]), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - &Byte::from_u8(data[(screen_end + 2 + 16 + 3)]), [INFO] [stdout] 182 + &Byte::from_u8(data[screen_end + 2 + 16 + 3 ]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | if data[(screen_end + 2 + 16 + 3 + 1)] == 0 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - if data[(screen_end + 2 + 16 + 3 + 1)] == 0 { [INFO] [stdout] 184 + if data[screen_end + 2 + 16 + 3 + 1 ] == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/emulator/interpreter.rs:187:50 [INFO] [stdout] | [INFO] [stdout] 187 | self.awaiting_key = Some((0xF & data[(screen_end + 2 + 16 + 3 + 1)]) as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - self.awaiting_key = Some((0xF & data[(screen_end + 2 + 16 + 3 + 1)]) as usize); [INFO] [stdout] 187 + self.awaiting_key = Some((0xF & data[screen_end + 2 + 16 + 3 + 1 ]) as usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `result_option_inspect` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(result_option_inspect)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shutdown` is never used [INFO] [stdout] --> src/emulator/interpreter.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Interpreter { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn shutdown(&mut self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/input.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | KeyPress(Scancode), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InputEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - KeyPress(Scancode), [INFO] [stdout] 13 + KeyPress(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/input.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | MouseButtonDown(MouseButton), [INFO] [stdout] | --------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InputEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - MouseButtonDown(MouseButton), [INFO] [stdout] 17 + MouseButtonDown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/input.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | MouseButtonUp(MouseButton), [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InputEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - MouseButtonUp(MouseButton), [INFO] [stdout] 19 + MouseButtonUp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.3.2 [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" "adc08b44c39381b04517d1b82f57f8581a580f53988435b0908c4d620c70484d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc08b44c39381b04517d1b82f57f8581a580f53988435b0908c4d620c70484d", kill_on_drop: false }` [INFO] [stdout] adc08b44c39381b04517d1b82f57f8581a580f53988435b0908c4d620c70484d [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2cc6f9f1f162982425fbfaf6e83a188291d8dbcfa9b694db7a8625ca9b7614ee [INFO] running `Command { std: "docker" "start" "-a" "2cc6f9f1f162982425fbfaf6e83a188291d8dbcfa9b694db7a8625ca9b7614ee", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/emulator/interpreter.rs:178:47 [INFO] [stderr] | [INFO] [stderr] 178 | self.sound_timer = Byte::from_u8(data[(screen_end + 2 + 16)]); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 178 - self.sound_timer = Byte::from_u8(data[(screen_end + 2 + 16)]); [INFO] [stderr] 178 + self.sound_timer = Byte::from_u8(data[screen_end + 2 + 16 ]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/emulator/interpreter.rs:179:47 [INFO] [stderr] | [INFO] [stderr] 179 | self.delay_timer = Byte::from_u8(data[(screen_end + 2 + 16 + 1)]); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 179 - self.delay_timer = Byte::from_u8(data[(screen_end + 2 + 16 + 1)]); [INFO] [stderr] 179 + self.delay_timer = Byte::from_u8(data[screen_end + 2 + 16 + 1 ]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/emulator/interpreter.rs:181:33 [INFO] [stderr] | [INFO] [stderr] 181 | &Byte::from_u8(data[(screen_end + 2 + 16 + 2)]), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 181 - &Byte::from_u8(data[(screen_end + 2 + 16 + 2)]), [INFO] [stderr] 181 + &Byte::from_u8(data[screen_end + 2 + 16 + 2 ]), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/emulator/interpreter.rs:182:33 [INFO] [stderr] | [INFO] [stderr] 182 | &Byte::from_u8(data[(screen_end + 2 + 16 + 3)]), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 182 - &Byte::from_u8(data[(screen_end + 2 + 16 + 3)]), [INFO] [stderr] 182 + &Byte::from_u8(data[screen_end + 2 + 16 + 3 ]), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/emulator/interpreter.rs:184:17 [INFO] [stderr] | [INFO] [stderr] 184 | if data[(screen_end + 2 + 16 + 3 + 1)] == 0 { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 184 - if data[(screen_end + 2 + 16 + 3 + 1)] == 0 { [INFO] [stderr] 184 + if data[screen_end + 2 + 16 + 3 + 1 ] == 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/emulator/interpreter.rs:187:50 [INFO] [stderr] | [INFO] [stderr] 187 | self.awaiting_key = Some((0xF & data[(screen_end + 2 + 16 + 3 + 1)]) as usize); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 187 - self.awaiting_key = Some((0xF & data[(screen_end + 2 + 16 + 3 + 1)]) as usize); [INFO] [stderr] 187 + self.awaiting_key = Some((0xF & data[screen_end + 2 + 16 + 3 + 1 ]) as usize); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the feature `result_option_inspect` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(result_option_inspect)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `shutdown` is never used [INFO] [stderr] --> src/emulator/interpreter.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub trait Interpreter { [INFO] [stderr] | ----------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 35 | fn shutdown(&mut self); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/events/input.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | KeyPress(Scancode), [INFO] [stderr] | -------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `InputEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - KeyPress(Scancode), [INFO] [stderr] 13 + KeyPress(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/events/input.rs:17:21 [INFO] [stderr] | [INFO] [stderr] 17 | MouseButtonDown(MouseButton), [INFO] [stderr] | --------------- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `InputEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - MouseButtonDown(MouseButton), [INFO] [stderr] 17 + MouseButtonDown(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/events/input.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | MouseButtonUp(MouseButton), [INFO] [stderr] | ------------- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `InputEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - MouseButtonUp(MouseButton), [INFO] [stderr] 19 + MouseButtonUp(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `chip8-emulator` (bin "chip8-emulator" test) generated 11 warnings (run `cargo fix --bin "chip8-emulator" -p chip8-emulator --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.3.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chip8_emulator-ac8ccf21da053835) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test emulator::fixed_bit_numbers::tests::decrease ... ok [INFO] [stdout] test emulator::fixed_bit_numbers::tests::get_bit ... ok [INFO] [stdout] test emulator::fixed_bit_numbers::tests::execute_if ... ok [INFO] [stdout] test emulator::fixed_bit_numbers::tests::new_number ... ok [INFO] [stdout] test emulator::fixed_bit_numbers::tests::set ... ok [INFO] [stdout] test emulator::fixed_bit_numbers::tests::increase ... ok [INFO] [stdout] test emulator::fixed_bit_numbers::tests::shift ... ok [INFO] [stdout] test emulator::fixed_bit_numbers::tests::logical_ops ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2cc6f9f1f162982425fbfaf6e83a188291d8dbcfa9b694db7a8625ca9b7614ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cc6f9f1f162982425fbfaf6e83a188291d8dbcfa9b694db7a8625ca9b7614ee", kill_on_drop: false }` [INFO] [stdout] 2cc6f9f1f162982425fbfaf6e83a188291d8dbcfa9b694db7a8625ca9b7614ee