[INFO] cloning repository https://github.com/mitchdzugan/zkg-wlr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mitchdzugan/zkg-wlr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchdzugan%2Fzkg-wlr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchdzugan%2Fzkg-wlr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef703273242c5b6dda79735c06091b880ab9ffee [INFO] checking mitchdzugan/zkg-wlr against master#4455c8937007f3cc3c078375a335d86dbab391ce for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchdzugan%2Fzkg-wlr" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mitchdzugan/zkg-wlr [INFO] finished tweaking git repo https://github.com/mitchdzugan/zkg-wlr [INFO] tweaked toml for git repo https://github.com/mitchdzugan/zkg-wlr written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mitchdzugan/zkg-wlr on toolchain 4455c8937007f3cc3c078375a335d86dbab391ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mitchdzugan/zkg-wlr 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" "+4455c8937007f3cc3c078375a335d86dbab391ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayrs-utils v0.16.1 [INFO] [stderr] Downloaded shmemfdrs2 v1.0.0 [INFO] [stderr] Downloaded wayrs-proto-parser v2.0.4 [INFO] [stderr] Downloaded pangocairo-sys v0.20.4 [INFO] [stderr] Downloaded pangocairo v0.20.4 [INFO] [stderr] Downloaded wayrs-scanner v0.15.0 [INFO] [stderr] Downloaded wayrs-core v1.0.4 [INFO] [stderr] Downloaded gobject-sys v0.20.4 [INFO] [stderr] Downloaded cairo-sys-rs v0.20.0 [INFO] [stderr] Downloaded pango-sys v0.20.4 [INFO] [stderr] Downloaded cairo-rs v0.20.5 [INFO] [stderr] Downloaded glib-macros v0.20.5 [INFO] [stderr] Downloaded glib-sys v0.20.6 [INFO] [stderr] Downloaded cfg-expr v0.17.1 [INFO] [stderr] Downloaded wayrs-protocols v0.14.3 [INFO] [stderr] Downloaded wayrs-client v1.1.3 [INFO] [stderr] Downloaded gio-sys v0.20.6 [INFO] [stderr] Downloaded pango v0.20.6 [INFO] [stderr] Downloaded gio v0.20.6 [INFO] [stderr] Downloaded glib v0.20.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2dcea827e1b80cd87697f7a94b496a7244bc78241ffa50f9cffa252b3b08b39 [INFO] running `Command { std: "docker" "start" "-a" "e2dcea827e1b80cd87697f7a94b496a7244bc78241ffa50f9cffa252b3b08b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2dcea827e1b80cd87697f7a94b496a7244bc78241ffa50f9cffa252b3b08b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2dcea827e1b80cd87697f7a94b496a7244bc78241ffa50f9cffa252b3b08b39", kill_on_drop: false }` [INFO] [stdout] e2dcea827e1b80cd87697f7a94b496a7244bc78241ffa50f9cffa252b3b08b39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d044b5745febf16011db6e17345c230d2a3fa3a94d05932b22a2f82fd2b942d1 [INFO] running `Command { std: "docker" "start" "-a" "d044b5745febf16011db6e17345c230d2a3fa3a94d05932b22a2f82fd2b942d1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling cfg-expr v0.17.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling gio v0.20.6 [INFO] [stderr] Checking wayrs-core v1.0.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling quick-xml v0.37.1 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Checking shmemfdrs2 v1.0.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling wayrs-proto-parser v2.0.4 [INFO] [stderr] Checking xkbcommon v0.8.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling wayrs-scanner v0.15.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling system-deps v7.0.3 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling glib-sys v0.20.6 [INFO] [stderr] Compiling gobject-sys v0.20.4 [INFO] [stderr] Compiling gio-sys v0.20.6 [INFO] [stderr] Compiling pango-sys v0.20.4 [INFO] [stderr] Compiling cairo-sys-rs v0.20.0 [INFO] [stderr] Compiling glib-macros v0.20.5 [INFO] [stderr] Compiling pangocairo-sys v0.20.4 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking wayrs-client v1.1.3 [INFO] [stderr] Checking wayrs-utils v0.16.1 [INFO] [stderr] Checking wayrs-protocols v0.14.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking glib v0.20.6 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking cairo-rs v0.20.5 [INFO] [stderr] Checking pango v0.20.6 [INFO] [stderr] Checking pangocairo v0.20.4 [INFO] [stderr] Checking zkg-wlr v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FRAC_PI_2`, `PI`, and `TAU` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f64::consts::{FRAC_PI_2, PI, TAU}; [INFO] [stdout] | ^^^^^^^^^ ^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `Stdio` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pangocairo::cairo` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use pangocairo::cairo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio::fs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | mod_val += if (mod_shift) { 1 } else { 0 }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 236 - mod_val += if (mod_shift) { 1 } else { 0 }; [INFO] [stdout] 236 + mod_val += if mod_shift { 1 } else { 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | mod_val += if (mod_ctrl ) { 4 } else { 0 }; [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 237 - mod_val += if (mod_ctrl ) { 4 } else { 0 }; [INFO] [stdout] 237 + mod_val += if mod_ctrl { 4 } else { 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | mod_val += if (mod_alt ) { 8 } else { 0 }; [INFO] [stdout] | ^ ^^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - mod_val += if (mod_alt ) { 8 } else { 0 }; [INFO] [stdout] 238 + mod_val += if mod_alt { 8 } else { 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | mod_val += if (mod_meta ) { 64 } else { 0 }; [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 - mod_val += if (mod_meta ) { 64 } else { 0 }; [INFO] [stdout] 239 + mod_val += if mod_meta { 64 } else { 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:243:46 [INFO] [stdout] | [INFO] [stdout] 243 | println!("{} {} {}", sym_val, if (isPress) { "press" } else { "release" }, mod_val); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 243 - println!("{} {} {}", sym_val, if (isPress) { "press" } else { "release" }, mod_val); [INFO] [stdout] 243 + println!("{} {} {}", sym_val, if isPress { "press" } else { "release" }, mod_val); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | if (self.exit) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - if (self.exit) { [INFO] [stdout] 260 + if self.exit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if (self.exit) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - if (self.exit) { [INFO] [stdout] 267 + if self.exit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FRAC_PI_2`, `PI`, and `TAU` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f64::consts::{FRAC_PI_2, PI, TAU}; [INFO] [stdout] | ^^^^^^^^^ ^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `Stdio` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pangocairo::cairo` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use pangocairo::cairo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio::fs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | mod_val += if (mod_shift) { 1 } else { 0 }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 236 - mod_val += if (mod_shift) { 1 } else { 0 }; [INFO] [stdout] 236 + mod_val += if mod_shift { 1 } else { 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | mod_val += if (mod_ctrl ) { 4 } else { 0 }; [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 237 - mod_val += if (mod_ctrl ) { 4 } else { 0 }; [INFO] [stdout] 237 + mod_val += if mod_ctrl { 4 } else { 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | mod_val += if (mod_alt ) { 8 } else { 0 }; [INFO] [stdout] | ^ ^^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - mod_val += if (mod_alt ) { 8 } else { 0 }; [INFO] [stdout] 238 + mod_val += if mod_alt { 8 } else { 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | mod_val += if (mod_meta ) { 64 } else { 0 }; [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 - mod_val += if (mod_meta ) { 64 } else { 0 }; [INFO] [stdout] 239 + mod_val += if mod_meta { 64 } else { 0 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:243:46 [INFO] [stdout] | [INFO] [stdout] 243 | println!("{} {} {}", sym_val, if (isPress) { "press" } else { "release" }, mod_val); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 243 - println!("{} {} {}", sym_val, if (isPress) { "press" } else { "release" }, mod_val); [INFO] [stdout] 243 + println!("{} {} {}", sym_val, if isPress { "press" } else { "release" }, mod_val); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | if (self.exit) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - if (self.exit) { [INFO] [stdout] 260 + if self.exit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if (self.exit) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - if (self.exit) { [INFO] [stdout] 267 + if self.exit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_isnt_killed` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let get_isnt_killed = || -> bool { isnt_killed }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_isnt_killed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `check_recv_stdin` [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let check_recv_stdin = || -> bool { did_recv_stdin }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_recv_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut did_recv_stdin = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut isnt_killed = true; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/main.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | let (buffer, canvas) = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `throttle_cb` and `throttled` are never read [INFO] [stdout] --> src/main.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | throttle_cb: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 142 | throttled: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `TRANSPARENT`, `apply`, and `from_rgba_hex` are never used [INFO] [stdout] --> src/color.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 14 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub const TRANSPARENT: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn apply(self, cr: &Context) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_rgba_hex(hex: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_isnt_killed` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let get_isnt_killed = || -> bool { isnt_killed }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_isnt_killed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `check_recv_stdin` [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let check_recv_stdin = || -> bool { did_recv_stdin }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_recv_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut did_recv_stdin = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut isnt_killed = true; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/main.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | let (buffer, canvas) = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | conn.flush(IoMode::Blocking); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = conn.flush(IoMode::Blocking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | conn.recv_events(IoMode::Blocking); [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] 116 | let _ = conn.recv_events(IoMode::Blocking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | tx_wlr.send(true); [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] 119 | let _ = tx_wlr.send(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `processKeyEvent` should have a snake case name [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn processKeyEvent(isPress: bool, event: &KeyboardEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `process_key_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isPress` should have a snake case name [INFO] [stdout] --> src/main.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | fn processKeyEvent(isPress: bool, event: &KeyboardEvent) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_press` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `checkMod` should have a snake case name [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let checkMod = |m| -> bool { event.xkb_state.mod_name_is_active(m, xkb::STATE_MODS_EFFECTIVE) }; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `check_mod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `throttle_cb` and `throttled` are never read [INFO] [stdout] --> src/main.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | throttle_cb: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 142 | throttled: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `TRANSPARENT`, `apply`, and `from_rgba_hex` are never used [INFO] [stdout] --> src/color.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 14 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub const TRANSPARENT: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn apply(self, cr: &Context) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_rgba_hex(hex: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | conn.flush(IoMode::Blocking); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = conn.flush(IoMode::Blocking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | conn.recv_events(IoMode::Blocking); [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] 116 | let _ = conn.recv_events(IoMode::Blocking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | tx_wlr.send(true); [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] 119 | let _ = tx_wlr.send(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `processKeyEvent` should have a snake case name [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn processKeyEvent(isPress: bool, event: &KeyboardEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `process_key_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `isPress` should have a snake case name [INFO] [stdout] --> src/main.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | fn processKeyEvent(isPress: bool, event: &KeyboardEvent) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_press` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `checkMod` should have a snake case name [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let checkMod = |m| -> bool { event.xkb_state.mod_name_is_active(m, xkb::STATE_MODS_EFFECTIVE) }; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `check_mod` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "d044b5745febf16011db6e17345c230d2a3fa3a94d05932b22a2f82fd2b942d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d044b5745febf16011db6e17345c230d2a3fa3a94d05932b22a2f82fd2b942d1", kill_on_drop: false }` [INFO] [stdout] d044b5745febf16011db6e17345c230d2a3fa3a94d05932b22a2f82fd2b942d1