[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] building M1ngXU/CHIP-8-Emulator against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1ngXU%2FCHIP-8-Emulator" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/M1ngXU/CHIP-8-Emulator on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 184 packages to latest compatible versions [INFO] [stderr] Adding rfd v0.10.0 (available: v0.15.4) [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unescaper v0.1.6 [INFO] [stderr] Downloaded rfd v0.10.0 [INFO] [stderr] Downloaded zvariant_utils v1.0.1 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded zbus_names v2.6.1 [INFO] [stderr] Downloaded async-broadcast v0.4.1 [INFO] [stderr] Downloaded ordered-stream v0.0.1 [INFO] [stderr] Downloaded zvariant_derive v3.15.2 [INFO] [stderr] Downloaded serialport v4.7.3 [INFO] [stderr] Downloaded zbus_macros v2.3.2 [INFO] [stderr] Downloaded pollster v0.2.5 [INFO] [stderr] Downloaded async-recursion v0.3.2 [INFO] [stderr] Downloaded ashpd v0.3.2 [INFO] [stderr] Downloaded zvariant v3.15.2 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded zbus v2.3.2 [INFO] [stderr] Downloaded nix v0.23.2 [INFO] [stderr] Downloaded rustix v0.37.28 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.37.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.37.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.37.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.37.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.37.0 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] [stderr] Downloaded windows v0.37.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bd0521cceeac3d9d20c63c1acdbee39b3c29b6a8a30bd0fe9d347377af2d8f9 [INFO] running `Command { std: "docker" "start" "-a" "1bd0521cceeac3d9d20c63c1acdbee39b3c29b6a8a30bd0fe9d347377af2d8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bd0521cceeac3d9d20c63c1acdbee39b3c29b6a8a30bd0fe9d347377af2d8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bd0521cceeac3d9d20c63c1acdbee39b3c29b6a8a30bd0fe9d347377af2d8f9", kill_on_drop: false }` [INFO] [stdout] 1bd0521cceeac3d9d20c63c1acdbee39b3c29b6a8a30bd0fe9d347377af2d8f9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27880c09bdf27c2c5d464b06f09c45ed96aaa88da2c48ffd69e9741b3c2ded86 [INFO] running `Command { std: "docker" "start" "-a" "27880c09bdf27c2c5d464b06f09c45ed96aaa88da2c48ffd69e9741b3c2ded86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-broadcast v0.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling ordered-stream v0.0.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling rfd v0.10.0 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v2.3.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling unescaper v0.1.6 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling serialport v4.7.3 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling futures v0.3.31 [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 1m 54s [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 3` [INFO] running `Command { std: "docker" "inspect" "27880c09bdf27c2c5d464b06f09c45ed96aaa88da2c48ffd69e9741b3c2ded86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27880c09bdf27c2c5d464b06f09c45ed96aaa88da2c48ffd69e9741b3c2ded86", kill_on_drop: false }` [INFO] [stdout] 27880c09bdf27c2c5d464b06f09c45ed96aaa88da2c48ffd69e9741b3c2ded86 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bcd1f7d8dd99b290110969d446d12fc5737baba4539fe950b39cc1f98d8e06e [INFO] running `Command { std: "docker" "start" "-a" "7bcd1f7d8dd99b290110969d446d12fc5737baba4539fe950b39cc1f98d8e06e", 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.18s [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 3` [INFO] running `Command { std: "docker" "inspect" "7bcd1f7d8dd99b290110969d446d12fc5737baba4539fe950b39cc1f98d8e06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bcd1f7d8dd99b290110969d446d12fc5737baba4539fe950b39cc1f98d8e06e", kill_on_drop: false }` [INFO] [stdout] 7bcd1f7d8dd99b290110969d446d12fc5737baba4539fe950b39cc1f98d8e06e