[INFO] cloning repository https://github.com/mikeplus64/melee-vpad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikeplus64/melee-vpad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeplus64%2Fmelee-vpad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeplus64%2Fmelee-vpad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a543e10b15c07c95eb4900cc90243be78acce6c [INFO] testing mikeplus64/melee-vpad against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeplus64%2Fmelee-vpad" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mikeplus64/melee-vpad [INFO] finished tweaking git repo https://github.com/mikeplus64/melee-vpad [INFO] tweaked toml for git repo https://github.com/mikeplus64/melee-vpad written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mikeplus64/melee-vpad on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mikeplus64/melee-vpad 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c14936c7643fef4f89400ecbf37e9348407fe0ed6048e6b96aa4d737790aa40 [INFO] running `Command { std: "docker" "start" "-a" "5c14936c7643fef4f89400ecbf37e9348407fe0ed6048e6b96aa4d737790aa40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c14936c7643fef4f89400ecbf37e9348407fe0ed6048e6b96aa4d737790aa40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c14936c7643fef4f89400ecbf37e9348407fe0ed6048e6b96aa4d737790aa40", kill_on_drop: false }` [INFO] [stdout] 5c14936c7643fef4f89400ecbf37e9348407fe0ed6048e6b96aa4d737790aa40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7606e53511e48a8f059f4088ae46854da31a655e6cc4ec1b397b18e368aabab4 [INFO] running `Command { std: "docker" "start" "-a" "7606e53511e48a8f059f4088ae46854da31a655e6cc4ec1b397b18e368aabab4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling evdev-sys v0.2.4 (https://github.com/ndesh26/evdev-rs.git#c22bd2c1) [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling array-macro v1.0.5 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling fixed v1.14.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling enum-map-derive v0.4.6 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling wasmer_enumset_derive v0.5.0 [INFO] [stderr] Compiling enum-map v0.6.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling wasmer_enumset v1.0.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling cursive_core v0.2.2 [INFO] [stderr] Compiling cursive v0.16.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_with v1.13.0 [INFO] [stderr] Compiling evdev-rs v0.5.0 (https://github.com/ndesh26/evdev-rs.git#c22bd2c1) [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling melee-vpad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DPad8Binds` and `DPadBinds` [INFO] [stdout] --> src/dir8.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::{DPad8Binds, DPadBinds}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `evdev_rs::enums::EV_KEY` [INFO] [stdout] --> src/dir8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use evdev_rs::enums::EV_KEY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::dir8::Dir8` [INFO] [stdout] --> src/dpad.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::dir8::Dir8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub up_held: bool, [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] 79 - pub up_held: bool, [INFO] [stdout] 79 + ub up_held: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub down_held: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - pub down_held: bool, [INFO] [stdout] 80 + ub down_held: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub left_held: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - pub left_held: bool, [INFO] [stdout] 81 + ub left_held: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub right_held: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - pub right_held: bool, [INFO] [stdout] 82 + ub right_held: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub up: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - pub up: bool, [INFO] [stdout] 83 + ub up: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub down: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - pub down: bool, [INFO] [stdout] 84 + ub down: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub left: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - pub left: bool, [INFO] [stdout] 85 + ub left: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub right: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - pub right: bool, [INFO] [stdout] 86 + ub right: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub l: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub l: bool, [INFO] [stdout] 28 + ub l: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub r: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - pub r: bool, [INFO] [stdout] 29 + ub r: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod1: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pub mod1: bool, [INFO] [stdout] 38 + ub mod1: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub mod2: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub mod2: bool, [INFO] [stdout] 39 + ub mod2: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dir8` is never used [INFO] [stdout] --> src/dir8.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Dir8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dpad.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 78 | || pub struct DPadState { [INFO] [stdout] | ||____________________- associated function in this implementation [INFO] [stdout] 79 | | pub up_held: bool, [INFO] [stdout] 80 | | pub down_held: bool, [INFO] [stdout] ... | [INFO] [stdout] 86 | | pub right: bool, [INFO] [stdout] 87 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_bytes` and `from_bytes` are never used [INFO] [stdout] --> src/dpad.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 78 | || pub struct DPadState { [INFO] [stdout] | ||____________________- associated items in this implementation [INFO] [stdout] 79 | | pub up_held: bool, [INFO] [stdout] 80 | | pub down_held: bool, [INFO] [stdout] ... | [INFO] [stdout] 86 | | pub right: bool, [INFO] [stdout] 87 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/state.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 27 | || pub struct JoyButtons { [INFO] [stdout] | ||_____________________- associated function in this implementation [INFO] [stdout] 28 | | pub l: bool, [INFO] [stdout] 29 | | pub r: bool, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_bytes` and `from_bytes` are never used [INFO] [stdout] --> src/state.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 27 | || pub struct JoyButtons { [INFO] [stdout] | ||_____________________- associated items in this implementation [INFO] [stdout] 28 | | pub l: bool, [INFO] [stdout] 29 | | pub r: bool, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/state.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 37 | || pub struct Modifiers { [INFO] [stdout] | ||____________________- associated function in this implementation [INFO] [stdout] 38 | | pub mod1: bool, [INFO] [stdout] 39 | | pub mod2: bool, [INFO] [stdout] 40 | | #[skip] [INFO] [stdout] 41 | | __: B6, [INFO] [stdout] 42 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_bytes` and `from_bytes` are never used [INFO] [stdout] --> src/state.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 37 | || pub struct Modifiers { [INFO] [stdout] | ||____________________- associated items in this implementation [INFO] [stdout] 38 | | pub mod1: bool, [INFO] [stdout] 39 | | pub mod2: bool, [INFO] [stdout] 40 | | #[skip] [INFO] [stdout] 41 | | __: B6, [INFO] [stdout] 42 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vjoy.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / self.device.write_event(&InputEvent { [INFO] [stdout] 121 | | time: self.now, [INFO] [stdout] 122 | | event_code: EventCode::EV_SYN(EV_SYN::SYN_REPORT), [INFO] [stdout] 123 | | value: 0, [INFO] [stdout] 124 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 120 | let _ = self.device.write_event(&InputEvent { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vjoy.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | / self.device.write_event(&InputEvent { [INFO] [stdout] 130 | | time: self.now, [INFO] [stdout] 131 | | event_code: EventCode::EV_KEY(key), [INFO] [stdout] 132 | | value: value as i32, [INFO] [stdout] 133 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = self.device.write_event(&InputEvent { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `JOY_UP_RANGE_f32` should have an upper case name [INFO] [stdout] --> src/vjoy.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | const JOY_UP_RANGE_f32: f32 = JOY_UP_RANGE as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case (notice the capitalization): `JOY_UP_RANGE_F32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vjoy.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | / self.device.write_event(&InputEvent { [INFO] [stdout] 141 | | time: self.now, [INFO] [stdout] 142 | | event_code: EventCode::EV_ABS(key), [INFO] [stdout] 143 | | value: (value.to_num::() * Self::JOY_UP_RANGE_f32) as i32, [INFO] [stdout] 144 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = self.device.write_event(&InputEvent { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vjoy.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / self.device.write_event(&InputEvent { [INFO] [stdout] 150 | | time: self.now, [INFO] [stdout] 151 | | event_code: EventCode::EV_ABS(key), [INFO] [stdout] 152 | | value: (127.0 + depth.to_num::() * 128.0) as i32, // makes no sense, but it works :) [INFO] [stdout] 153 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 149 | let _ = self.device.write_event(&InputEvent { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.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" "7606e53511e48a8f059f4088ae46854da31a655e6cc4ec1b397b18e368aabab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7606e53511e48a8f059f4088ae46854da31a655e6cc4ec1b397b18e368aabab4", kill_on_drop: false }` [INFO] [stdout] 7606e53511e48a8f059f4088ae46854da31a655e6cc4ec1b397b18e368aabab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f56920c0d09ed3d77ce3b872ba5448af442a0031a5e13d4efa17521585d2e628 [INFO] running `Command { std: "docker" "start" "-a" "f56920c0d09ed3d77ce3b872ba5448af442a0031a5e13d4efa17521585d2e628", kill_on_drop: false }` [INFO] [stderr] Compiling melee-vpad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DPad8Binds` and `DPadBinds` [INFO] [stdout] --> src/dir8.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::{DPad8Binds, DPadBinds}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `evdev_rs::enums::EV_KEY` [INFO] [stdout] --> src/dir8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use evdev_rs::enums::EV_KEY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::dir8::Dir8` [INFO] [stdout] --> src/dpad.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::dir8::Dir8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub up_held: bool, [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] 79 - pub up_held: bool, [INFO] [stdout] 79 + ub up_held: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub down_held: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - pub down_held: bool, [INFO] [stdout] 80 + ub down_held: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub left_held: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - pub left_held: bool, [INFO] [stdout] 81 + ub left_held: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub right_held: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - pub right_held: bool, [INFO] [stdout] 82 + ub right_held: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub up: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - pub up: bool, [INFO] [stdout] 83 + ub up: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub down: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - pub down: bool, [INFO] [stdout] 84 + ub down: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub left: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - pub left: bool, [INFO] [stdout] 85 + ub left: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/dpad.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub right: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - pub right: bool, [INFO] [stdout] 86 + ub right: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub l: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub l: bool, [INFO] [stdout] 28 + ub l: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub r: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - pub r: bool, [INFO] [stdout] 29 + ub r: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub mod1: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pub mod1: bool, [INFO] [stdout] 38 + ub mod1: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub mod2: bool, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub mod2: bool, [INFO] [stdout] 39 + ub mod2: boo , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dir8` is never used [INFO] [stdout] --> src/dir8.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Dir8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dpad.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 78 | || pub struct DPadState { [INFO] [stdout] | ||____________________- associated function in this implementation [INFO] [stdout] 79 | | pub up_held: bool, [INFO] [stdout] 80 | | pub down_held: bool, [INFO] [stdout] ... | [INFO] [stdout] 86 | | pub right: bool, [INFO] [stdout] 87 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_bytes` and `from_bytes` are never used [INFO] [stdout] --> src/dpad.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 78 | || pub struct DPadState { [INFO] [stdout] | ||____________________- associated items in this implementation [INFO] [stdout] 79 | | pub up_held: bool, [INFO] [stdout] 80 | | pub down_held: bool, [INFO] [stdout] ... | [INFO] [stdout] 86 | | pub right: bool, [INFO] [stdout] 87 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/state.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 27 | || pub struct JoyButtons { [INFO] [stdout] | ||_____________________- associated function in this implementation [INFO] [stdout] 28 | | pub l: bool, [INFO] [stdout] 29 | | pub r: bool, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_bytes` and `from_bytes` are never used [INFO] [stdout] --> src/state.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 27 | || pub struct JoyButtons { [INFO] [stdout] | ||_____________________- associated items in this implementation [INFO] [stdout] 28 | | pub l: bool, [INFO] [stdout] 29 | | pub r: bool, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/state.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 37 | || pub struct Modifiers { [INFO] [stdout] | ||____________________- associated function in this implementation [INFO] [stdout] 38 | | pub mod1: bool, [INFO] [stdout] 39 | | pub mod2: bool, [INFO] [stdout] 40 | | #[skip] [INFO] [stdout] 41 | | __: B6, [INFO] [stdout] 42 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_bytes` and `from_bytes` are never used [INFO] [stdout] --> src/state.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stdout] 37 | || pub struct Modifiers { [INFO] [stdout] | ||____________________- associated items in this implementation [INFO] [stdout] 38 | | pub mod1: bool, [INFO] [stdout] 39 | | pub mod2: bool, [INFO] [stdout] 40 | | #[skip] [INFO] [stdout] 41 | | __: B6, [INFO] [stdout] 42 | | } [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vjoy.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / self.device.write_event(&InputEvent { [INFO] [stdout] 121 | | time: self.now, [INFO] [stdout] 122 | | event_code: EventCode::EV_SYN(EV_SYN::SYN_REPORT), [INFO] [stdout] 123 | | value: 0, [INFO] [stdout] 124 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 120 | let _ = self.device.write_event(&InputEvent { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vjoy.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | / self.device.write_event(&InputEvent { [INFO] [stdout] 130 | | time: self.now, [INFO] [stdout] 131 | | event_code: EventCode::EV_KEY(key), [INFO] [stdout] 132 | | value: value as i32, [INFO] [stdout] 133 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = self.device.write_event(&InputEvent { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `JOY_UP_RANGE_f32` should have an upper case name [INFO] [stdout] --> src/vjoy.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | const JOY_UP_RANGE_f32: f32 = JOY_UP_RANGE as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case (notice the capitalization): `JOY_UP_RANGE_F32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vjoy.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | / self.device.write_event(&InputEvent { [INFO] [stdout] 141 | | time: self.now, [INFO] [stdout] 142 | | event_code: EventCode::EV_ABS(key), [INFO] [stdout] 143 | | value: (value.to_num::() * Self::JOY_UP_RANGE_f32) as i32, [INFO] [stdout] 144 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = self.device.write_event(&InputEvent { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vjoy.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / self.device.write_event(&InputEvent { [INFO] [stdout] 150 | | time: self.now, [INFO] [stdout] 151 | | event_code: EventCode::EV_ABS(key), [INFO] [stdout] 152 | | value: (127.0 + depth.to_num::() * 128.0) as i32, // makes no sense, but it works :) [INFO] [stdout] 153 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 149 | let _ = self.device.write_event(&InputEvent { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.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" "f56920c0d09ed3d77ce3b872ba5448af442a0031a5e13d4efa17521585d2e628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f56920c0d09ed3d77ce3b872ba5448af442a0031a5e13d4efa17521585d2e628", kill_on_drop: false }` [INFO] [stdout] f56920c0d09ed3d77ce3b872ba5448af442a0031a5e13d4efa17521585d2e628 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b4f94a96c3121f048c0b0fb72de941c6e70de063eaebb453ae8ce335212fc072 [INFO] running `Command { std: "docker" "start" "-a" "b4f94a96c3121f048c0b0fb72de941c6e70de063eaebb453ae8ce335212fc072", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `DPad8Binds` and `DPadBinds` [INFO] [stderr] --> src/dir8.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::config::{DPad8Binds, DPadBinds}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `evdev_rs::enums::EV_KEY` [INFO] [stderr] --> src/dir8.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use evdev_rs::enums::EV_KEY; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::dir8::Dir8` [INFO] [stderr] --> src/dpad.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::dir8::Dir8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dpad.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | pub up_held: bool, [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] 79 - pub up_held: bool, [INFO] [stderr] 79 + ub up_held: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dpad.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | pub down_held: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 80 - pub down_held: bool, [INFO] [stderr] 80 + ub down_held: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dpad.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | pub left_held: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 81 - pub left_held: bool, [INFO] [stderr] 81 + ub left_held: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dpad.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | pub right_held: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 82 - pub right_held: bool, [INFO] [stderr] 82 + ub right_held: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dpad.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | pub up: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 83 - pub up: bool, [INFO] [stderr] 83 + ub up: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dpad.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | pub down: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 84 - pub down: bool, [INFO] [stderr] 84 + ub down: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dpad.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | pub left: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 85 - pub left: bool, [INFO] [stderr] 85 + ub left: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/dpad.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | pub right: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 86 - pub right: bool, [INFO] [stderr] 86 + ub right: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/state.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub l: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 28 - pub l: bool, [INFO] [stderr] 28 + ub l: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/state.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub r: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 29 - pub r: bool, [INFO] [stderr] 29 + ub r: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/state.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub mod1: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 38 - pub mod1: bool, [INFO] [stderr] 38 + ub mod1: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/state.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub mod2: bool, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 39 - pub mod2: bool, [INFO] [stderr] 39 + ub mod2: boo , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: enum `Dir8` is never used [INFO] [stderr] --> src/dir8.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum Dir8 { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/dpad.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stderr] 78 | || pub struct DPadState { [INFO] [stderr] | ||____________________- associated function in this implementation [INFO] [stderr] 79 | | pub up_held: bool, [INFO] [stderr] 80 | | pub down_held: bool, [INFO] [stderr] ... | [INFO] [stderr] 86 | | pub right: bool, [INFO] [stderr] 87 | | } [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: associated items `into_bytes` and `from_bytes` are never used [INFO] [stderr] --> src/dpad.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stderr] 78 | || pub struct DPadState { [INFO] [stderr] | ||____________________- associated items in this implementation [INFO] [stderr] 79 | | pub up_held: bool, [INFO] [stderr] 80 | | pub down_held: bool, [INFO] [stderr] ... | [INFO] [stderr] 86 | | pub right: bool, [INFO] [stderr] 87 | | } [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/state.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stderr] 27 | || pub struct JoyButtons { [INFO] [stderr] | ||_____________________- associated function in this implementation [INFO] [stderr] 28 | | pub l: bool, [INFO] [stderr] 29 | | pub r: bool, [INFO] [stderr] ... | [INFO] [stderr] 33 | | } [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: associated items `into_bytes` and `from_bytes` are never used [INFO] [stderr] --> src/state.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stderr] 27 | || pub struct JoyButtons { [INFO] [stderr] | ||_____________________- associated items in this implementation [INFO] [stderr] 28 | | pub l: bool, [INFO] [stderr] 29 | | pub r: bool, [INFO] [stderr] ... | [INFO] [stderr] 33 | | } [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/state.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stderr] 37 | || pub struct Modifiers { [INFO] [stderr] | ||____________________- associated function in this implementation [INFO] [stderr] 38 | | pub mod1: bool, [INFO] [stderr] 39 | | pub mod2: bool, [INFO] [stderr] 40 | | #[skip] [INFO] [stderr] 41 | | __: B6, [INFO] [stderr] 42 | | } [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: associated items `into_bytes` and `from_bytes` are never used [INFO] [stderr] --> src/state.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | // #[derive(Copy, Clone, Default, Debug, PartialEq, Eq)] [INFO] [stderr] 37 | || pub struct Modifiers { [INFO] [stderr] | ||____________________- associated items in this implementation [INFO] [stderr] 38 | | pub mod1: bool, [INFO] [stderr] 39 | | pub mod2: bool, [INFO] [stderr] 40 | | #[skip] [INFO] [stderr] 41 | | __: B6, [INFO] [stderr] 42 | | } [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/vjoy.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | / self.device.write_event(&InputEvent { [INFO] [stderr] 121 | | time: self.now, [INFO] [stderr] 122 | | event_code: EventCode::EV_SYN(EV_SYN::SYN_REPORT), [INFO] [stderr] 123 | | value: 0, [INFO] [stderr] 124 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 120 | let _ = self.device.write_event(&InputEvent { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/vjoy.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | / self.device.write_event(&InputEvent { [INFO] [stderr] 130 | | time: self.now, [INFO] [stderr] 131 | | event_code: EventCode::EV_KEY(key), [INFO] [stderr] 132 | | value: value as i32, [INFO] [stderr] 133 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 129 | let _ = self.device.write_event(&InputEvent { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: associated constant `JOY_UP_RANGE_f32` should have an upper case name [INFO] [stderr] --> src/vjoy.rs:136:11 [INFO] [stderr] | [INFO] [stderr] 136 | const JOY_UP_RANGE_f32: f32 = JOY_UP_RANGE as f32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case (notice the capitalization): `JOY_UP_RANGE_F32` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/vjoy.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | / self.device.write_event(&InputEvent { [INFO] [stderr] 141 | | time: self.now, [INFO] [stderr] 142 | | event_code: EventCode::EV_ABS(key), [INFO] [stderr] 143 | | value: (value.to_num::() * Self::JOY_UP_RANGE_f32) as i32, [INFO] [stderr] 144 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 140 | let _ = self.device.write_event(&InputEvent { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/vjoy.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | / self.device.write_event(&InputEvent { [INFO] [stderr] 150 | | time: self.now, [INFO] [stderr] 151 | | event_code: EventCode::EV_ABS(key), [INFO] [stderr] 152 | | value: (127.0 + depth.to_num::() * 128.0) as i32, // makes no sense, but it works :) [INFO] [stderr] 153 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 149 | let _ = self.device.write_event(&InputEvent { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `melee-vpad` (bin "melee-vpad" test) generated 27 warnings (run `cargo fix --bin "melee-vpad" --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.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/melee_vpad-8ba60024688ee68f) [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4f94a96c3121f048c0b0fb72de941c6e70de063eaebb453ae8ce335212fc072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f94a96c3121f048c0b0fb72de941c6e70de063eaebb453ae8ce335212fc072", kill_on_drop: false }` [INFO] [stdout] b4f94a96c3121f048c0b0fb72de941c6e70de063eaebb453ae8ce335212fc072