[INFO] cloning repository https://github.com/F3kilo/htb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/F3kilo/htb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF3kilo%2Fhtb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF3kilo%2Fhtb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f16aa9cde74af3df69b32cbe4f29ece665c7a789 [INFO] testing F3kilo/htb against master#61469b682c2b0bf9cebc4622f1859e2bb3b7ebca for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FF3kilo%2Fhtb" "/workspace/builds/worker-53/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-53/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/F3kilo/htb on toolchain 61469b682c2b0bf9cebc4622f1859e2bb3b7ebca [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/F3kilo/htb [INFO] finished tweaking git repo https://github.com/F3kilo/htb [INFO] tweaked toml for git repo https://github.com/F3kilo/htb written to /workspace/builds/worker-53/source/Cargo.toml [INFO] crate git repo https://github.com/F3kilo/htb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.55 [INFO] [stderr] Downloaded bytemuck v1.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce10e820285afbcbda21e0e73eac4b534d040bc29a5bd3640ae7837a326b39f7 [INFO] running `Command { std: "docker" "start" "-a" "ce10e820285afbcbda21e0e73eac4b534d040bc29a5bd3640ae7837a326b39f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce10e820285afbcbda21e0e73eac4b534d040bc29a5bd3640ae7837a326b39f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce10e820285afbcbda21e0e73eac4b534d040bc29a5bd3640ae7837a326b39f7", kill_on_drop: false }` [INFO] [stdout] ce10e820285afbcbda21e0e73eac4b534d040bc29a5bd3640ae7837a326b39f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d5592a5b7c744d4def1f54d7336accdcb20516f671dcfd4b93e27eb98a49de4 [INFO] running `Command { std: "docker" "start" "-a" "0d5592a5b7c744d4def1f54d7336accdcb20516f671dcfd4b93e27eb98a49de4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling glam v0.20.2 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling wgpu-hal v0.12.4 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling htb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/htb/mod.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn app_event(&mut self, event: Event) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/htb/mod.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn window_event(&mut self, event: WindowEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/htb/mod.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn device_event(&mut self, event: DeviceEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/view/mod.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn window_event(&mut self, event: WindowEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/view/mod.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn device_event(&mut self, event: DeviceEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/view/game.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn device_event(&mut self, event: DeviceEvent) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/view/menu.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn window_event(&mut self, event: WindowEvent) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `settings` [INFO] [stdout] --> src/htb/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | settings: Settings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/htb/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | window: Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `view` [INFO] [stdout] --> src/htb/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | view: View, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartGame` [INFO] [stdout] --> src/htb/event.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | StartGame, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/htb/event.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exit` [INFO] [stdout] --> src/htb/event.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/htb/event.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/htb/event.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn send(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `menu` [INFO] [stdout] --> src/view/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | menu: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `game` [INFO] [stdout] --> src/view/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | game: Game, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `window_event` [INFO] [stdout] --> src/view/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn window_event(&mut self, event: WindowEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `device_event` [INFO] [stdout] --> src/view/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn device_event(&mut self, event: DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `device_event` [INFO] [stdout] --> src/view/game.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn device_event(&mut self, event: DeviceEvent) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `window_event` [INFO] [stdout] --> src/view/menu.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn window_event(&mut self, event: WindowEvent) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "0d5592a5b7c744d4def1f54d7336accdcb20516f671dcfd4b93e27eb98a49de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5592a5b7c744d4def1f54d7336accdcb20516f671dcfd4b93e27eb98a49de4", kill_on_drop: false }` [INFO] [stdout] 0d5592a5b7c744d4def1f54d7336accdcb20516f671dcfd4b93e27eb98a49de4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36b4071731383f8e1eed70ff2c89234500f31a0d63b30bcd8a8ec9cbd2c5c5c1 [INFO] running `Command { std: "docker" "start" "-a" "36b4071731383f8e1eed70ff2c89234500f31a0d63b30bcd8a8ec9cbd2c5c5c1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling htb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/htb/mod.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn app_event(&mut self, event: Event) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/htb/mod.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn window_event(&mut self, event: WindowEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/htb/mod.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn device_event(&mut self, event: DeviceEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/view/mod.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn window_event(&mut self, event: WindowEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/view/mod.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn device_event(&mut self, event: DeviceEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/view/game.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn device_event(&mut self, event: DeviceEvent) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/view/menu.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn window_event(&mut self, event: WindowEvent) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `settings` [INFO] [stdout] --> src/htb/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | settings: Settings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/htb/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | window: Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `view` [INFO] [stdout] --> src/htb/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | view: View, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartGame` [INFO] [stdout] --> src/htb/event.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | StartGame, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/htb/event.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exit` [INFO] [stdout] --> src/htb/event.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/htb/event.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/htb/event.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn send(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `menu` [INFO] [stdout] --> src/view/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | menu: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `game` [INFO] [stdout] --> src/view/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | game: Game, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `window_event` [INFO] [stdout] --> src/view/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn window_event(&mut self, event: WindowEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `device_event` [INFO] [stdout] --> src/view/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn device_event(&mut self, event: DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `device_event` [INFO] [stdout] --> src/view/game.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn device_event(&mut self, event: DeviceEvent) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `window_event` [INFO] [stdout] --> src/view/menu.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn window_event(&mut self, event: WindowEvent) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.81s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/htb-f2f1e3d318e7b975) [INFO] running `Command { std: "docker" "inspect" "36b4071731383f8e1eed70ff2c89234500f31a0d63b30bcd8a8ec9cbd2c5c5c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b4071731383f8e1eed70ff2c89234500f31a0d63b30bcd8a8ec9cbd2c5c5c1", kill_on_drop: false }` [INFO] [stdout] 36b4071731383f8e1eed70ff2c89234500f31a0d63b30bcd8a8ec9cbd2c5c5c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d90dcce634111c0e4858f646a34c50235f326cef5b9f0cdd1bfa9ad89c0ed59 [INFO] running `Command { std: "docker" "start" "-a" "7d90dcce634111c0e4858f646a34c50235f326cef5b9f0cdd1bfa9ad89c0ed59", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/htb/mod.rs:23:33 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn app_event(&mut self, event: Event) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/htb/mod.rs:27:36 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn window_event(&mut self, event: WindowEvent) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/htb/mod.rs:31:36 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn device_event(&mut self, event: DeviceEvent) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/view/mod.rs:15:36 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn window_event(&mut self, event: WindowEvent) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/view/mod.rs:19:36 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn device_event(&mut self, event: DeviceEvent) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/view/game.rs:7:36 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn device_event(&mut self, event: DeviceEvent) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/view/menu.rs:7:36 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn window_event(&mut self, event: WindowEvent) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `settings` [INFO] [stderr] --> src/htb/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | settings: Settings, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `window` [INFO] [stderr] --> src/htb/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | window: Window, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `view` [INFO] [stderr] --> src/htb/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | view: View, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StartGame` [INFO] [stderr] --> src/htb/event.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | StartGame, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/htb/event.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Exit` [INFO] [stderr] --> src/htb/event.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Exit, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/htb/event.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `send` [INFO] [stderr] --> src/htb/event.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn send(self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `menu` [INFO] [stderr] --> src/view/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | menu: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `game` [INFO] [stderr] --> src/view/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | game: Game, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `window_event` [INFO] [stderr] --> src/view/mod.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn window_event(&mut self, event: WindowEvent) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `device_event` [INFO] [stderr] --> src/view/mod.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn device_event(&mut self, event: DeviceEvent) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `device_event` [INFO] [stderr] --> src/view/game.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn device_event(&mut self, event: DeviceEvent) {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `window_event` [INFO] [stderr] --> src/view/menu.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn window_event(&mut self, event: WindowEvent) {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `htb` (bin "htb" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/htb-f2f1e3d318e7b975) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7d90dcce634111c0e4858f646a34c50235f326cef5b9f0cdd1bfa9ad89c0ed59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d90dcce634111c0e4858f646a34c50235f326cef5b9f0cdd1bfa9ad89c0ed59", kill_on_drop: false }` [INFO] [stdout] 7d90dcce634111c0e4858f646a34c50235f326cef5b9f0cdd1bfa9ad89c0ed59