[INFO] fetching crate wmfocus 1.5.0... [INFO] testing wmfocus-1.5.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate wmfocus 1.5.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate wmfocus 1.5.0 [INFO] finished tweaking crates.io crate wmfocus 1.5.0 [INFO] tweaked toml for crates.io crate wmfocus 1.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wmfocus 1.5.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wmfocus 1.5.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2a8d55cb6d3c0cc0c43db6a68278e73f58fc267f7e5899a99ff1095561654fd [INFO] running `Command { std: "docker" "start" "-a" "b2a8d55cb6d3c0cc0c43db6a68278e73f58fc267f7e5899a99ff1095561654fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2a8d55cb6d3c0cc0c43db6a68278e73f58fc267f7e5899a99ff1095561654fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a8d55cb6d3c0cc0c43db6a68278e73f58fc267f7e5899a99ff1095561654fd", kill_on_drop: false }` [INFO] [stdout] b2a8d55cb6d3c0cc0c43db6a68278e73f58fc267f7e5899a99ff1095561654fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a6da604b1984cbbd1e8d57cbb43ee251fd9c5337fb084d3363459b3d75708c [INFO] running `Command { std: "docker" "start" "-a" "39a6da604b1984cbbd1e8d57cbb43ee251fd9c5337fb084d3363459b3d75708c", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling winnow v0.5.31 [INFO] [stderr] Compiling target-lexicon v0.12.12 [INFO] [stderr] Compiling proc-macro2 v1.0.73 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling thiserror v1.0.53 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling css-color-parser v0.1.2 [INFO] [stderr] Compiling quote v1.0.34 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling syn v2.0.44 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling font-loader v0.11.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling clap_builder v4.4.12 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.53 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling clap v4.4.12 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.1 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling glib v0.18.5 [INFO] [stderr] Compiling cairo-rs v0.18.5 [INFO] [stderr] Compiling wmfocus v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `add_some_other_wm_here` [INFO] [stdout] --> src/main.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(any(feature = "i3", feature = "add_some_other_wm_here"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `i3` and `i3ipc` [INFO] [stdout] = help: consider adding `add_some_other_wm_here` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `add_some_other_wm_here` [INFO] [stdout] --> src/main.rs:338:31 [INFO] [stdout] | [INFO] [stdout] 338 | #[cfg(not(any(feature = "i3", feature = "add_some_other_wm_here")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `i3` and `i3ipc` [INFO] [stdout] = help: consider adding `add_some_other_wm_here` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Iterator` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, and `warn` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x11rb::xcb_ffi::XCBConnection` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use x11rb::xcb_ffi::XCBConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionExt as _`, `connection::Connection`, `protocol::Event`, `self`, and `wrapper::ConnectionExt` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | connection::Connection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | protocol::xproto::{self, ConnectionExt as _}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | protocol::Event, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | wrapper::ConnectionExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `x_window_id`, `pos`, `size`, and `is_focused` are never read [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct DesktopWindow { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 31 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | x_window_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | pos: (i32, i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | size: (i32, i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | is_focused: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DesktopWindow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `desktop_window`, `cairo_context`, `draw_pos`, and `rect` are never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct RenderWindow<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 40 | desktop_window: &'a DesktopWindow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | cairo_context: cairo::Context, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | draw_pos: (f64, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | rect: (i32, i32, i32, i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderWindow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/args.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Offset { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 97 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 98 | pub y: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Offset` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `font_family`, `font_size`, and `loaded_font` are never read [INFO] [stdout] --> src/args.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct FontConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 103 | pub font_family: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 104 | pub font_size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | pub loaded_font: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/args.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn parse_args() -> AppConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_hint` is never used [INFO] [stdout] --> src/utils.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_next_hint( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `xcb_visualtype_t` is never constructed [INFO] [stdout] --> src/utils.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct xcb_visualtype_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_xcb_visualtype` is never used [INFO] [stdout] --> src/utils.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn find_xcb_visualtype(conn: &impl Connection, visual_id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extents_for_text` is never used [INFO] [stdout] --> src/utils.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn extents_for_text(text: &str, family: &str, size: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_hint_text` is never used [INFO] [stdout] --> src/utils.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn draw_hint_text( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snatch_keyboard` is never used [INFO] [stdout] --> src/utils.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn snatch_keyboard(conn: &impl Connection, screen: &Screen, timeout: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snatch_mouse` is never used [INFO] [stdout] --> src/utils.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn snatch_mouse(conn: &impl Connection, screen: &Screen, timeout: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_pos` is never used [INFO] [stdout] --> src/utils.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn sort_by_pos(mut dws: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersects` is never used [INFO] [stdout] --> src/utils.rs:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | fn intersects(r1: (i32, i32, i32, i32), r2: (i32, i32, i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_overlaps` is never used [INFO] [stdout] --> src/utils.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn find_overlaps( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_last_key` is never used [INFO] [stdout] --> src/utils.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn remove_last_key(pressed_keys: &mut String, kstr: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pressed_symbol` is never used [INFO] [stdout] --> src/utils.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn get_pressed_symbol(conn: &impl Connection, event: Event) -> xkeysym::Keysym { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `push`, and `is_started` are never used [INFO] [stdout] --> src/utils.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 318 | impl Sequence { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn remove(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn push(&mut self, key: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn is_started(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.75s [INFO] running `Command { std: "docker" "inspect" "39a6da604b1984cbbd1e8d57cbb43ee251fd9c5337fb084d3363459b3d75708c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a6da604b1984cbbd1e8d57cbb43ee251fd9c5337fb084d3363459b3d75708c", kill_on_drop: false }` [INFO] [stdout] 39a6da604b1984cbbd1e8d57cbb43ee251fd9c5337fb084d3363459b3d75708c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 637f2d9a552dffe64ce7382ae0c685790a761e650b1db0239cbf5227611661c5 [INFO] running `Command { std: "docker" "start" "-a" "637f2d9a552dffe64ce7382ae0c685790a761e650b1db0239cbf5227611661c5", kill_on_drop: false }` [INFO] [stderr] Compiling wmfocus v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `add_some_other_wm_here` [INFO] [stdout] --> src/main.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(any(feature = "i3", feature = "add_some_other_wm_here"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `i3` and `i3ipc` [INFO] [stdout] = help: consider adding `add_some_other_wm_here` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `add_some_other_wm_here` [INFO] [stdout] --> src/main.rs:338:31 [INFO] [stdout] | [INFO] [stdout] 338 | #[cfg(not(any(feature = "i3", feature = "add_some_other_wm_here")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `i3` and `i3ipc` [INFO] [stdout] = help: consider adding `add_some_other_wm_here` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Iterator` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, and `warn` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x11rb::xcb_ffi::XCBConnection` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use x11rb::xcb_ffi::XCBConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionExt as _`, `connection::Connection`, `protocol::Event`, `self`, and `wrapper::ConnectionExt` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | connection::Connection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | protocol::xproto::{self, ConnectionExt as _}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | protocol::Event, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | wrapper::ConnectionExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `x_window_id`, `pos`, `size`, and `is_focused` are never read [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct DesktopWindow { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 31 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | x_window_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | pos: (i32, i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | size: (i32, i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | is_focused: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DesktopWindow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `desktop_window`, `cairo_context`, `draw_pos`, and `rect` are never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct RenderWindow<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 40 | desktop_window: &'a DesktopWindow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | cairo_context: cairo::Context, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | draw_pos: (f64, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | rect: (i32, i32, i32, i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderWindow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/args.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Offset { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 97 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 98 | pub y: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Offset` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `font_family`, `font_size`, and `loaded_font` are never read [INFO] [stdout] --> src/args.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct FontConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 103 | pub font_family: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 104 | pub font_size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | pub loaded_font: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/args.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn parse_args() -> AppConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_hint` is never used [INFO] [stdout] --> src/utils.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_next_hint( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `xcb_visualtype_t` is never constructed [INFO] [stdout] --> src/utils.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct xcb_visualtype_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_xcb_visualtype` is never used [INFO] [stdout] --> src/utils.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn find_xcb_visualtype(conn: &impl Connection, visual_id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extents_for_text` is never used [INFO] [stdout] --> src/utils.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn extents_for_text(text: &str, family: &str, size: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_hint_text` is never used [INFO] [stdout] --> src/utils.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn draw_hint_text( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snatch_keyboard` is never used [INFO] [stdout] --> src/utils.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn snatch_keyboard(conn: &impl Connection, screen: &Screen, timeout: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snatch_mouse` is never used [INFO] [stdout] --> src/utils.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn snatch_mouse(conn: &impl Connection, screen: &Screen, timeout: Duration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_pos` is never used [INFO] [stdout] --> src/utils.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn sort_by_pos(mut dws: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_overlaps` is never used [INFO] [stdout] --> src/utils.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn find_overlaps( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_last_key` is never used [INFO] [stdout] --> src/utils.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn remove_last_key(pressed_keys: &mut String, kstr: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pressed_symbol` is never used [INFO] [stdout] --> src/utils.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn get_pressed_symbol(conn: &impl Connection, event: Event) -> xkeysym::Keysym { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "637f2d9a552dffe64ce7382ae0c685790a761e650b1db0239cbf5227611661c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637f2d9a552dffe64ce7382ae0c685790a761e650b1db0239cbf5227611661c5", kill_on_drop: false }` [INFO] [stdout] 637f2d9a552dffe64ce7382ae0c685790a761e650b1db0239cbf5227611661c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c7bfaadd902bdf36bc586e0dd3148a0aa571a95148e6fa47dd9c931ba3a2d57 [INFO] running `Command { std: "docker" "start" "-a" "9c7bfaadd902bdf36bc586e0dd3148a0aa571a95148e6fa47dd9c931ba3a2d57", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `add_some_other_wm_here` [INFO] [stderr] --> src/main.rs:46:27 [INFO] [stderr] | [INFO] [stderr] 46 | #[cfg(any(feature = "i3", feature = "add_some_other_wm_here"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `i3` and `i3ipc` [INFO] [stderr] = help: consider adding `add_some_other_wm_here` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `add_some_other_wm_here` [INFO] [stderr] --> src/main.rs:338:31 [INFO] [stderr] | [INFO] [stderr] 338 | #[cfg(not(any(feature = "i3", feature = "add_some_other_wm_here")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `i3` and `i3ipc` [INFO] [stderr] = help: consider adding `add_some_other_wm_here` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::Iterator` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::iter::Iterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/main.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `debug`, `info`, and `warn` [INFO] [stderr] --> src/main.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use log::{debug, info, warn}; [INFO] [stderr] | ^^^^^ ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `x11rb::xcb_ffi::XCBConnection` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use x11rb::xcb_ffi::XCBConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ConnectionExt as _`, `connection::Connection`, `protocol::Event`, `self`, and `wrapper::ConnectionExt` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | connection::Connection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | protocol::xproto::{self, ConnectionExt as _}, [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 13 | protocol::Event, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 14 | wrapper::ConnectionExt, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `x_window_id`, `pos`, `size`, and `is_focused` are never read [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct DesktopWindow { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 31 | id: i64, [INFO] [stderr] | ^^ [INFO] [stderr] 32 | x_window_id: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 33 | pos: (i32, i32), [INFO] [stderr] | ^^^ [INFO] [stderr] 34 | size: (i32, i32), [INFO] [stderr] | ^^^^ [INFO] [stderr] 35 | is_focused: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DesktopWindow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `desktop_window`, `cairo_context`, `draw_pos`, and `rect` are never read [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct RenderWindow<'a> { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 40 | desktop_window: &'a DesktopWindow, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 41 | cairo_context: cairo::Context, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 42 | draw_pos: (f64, f64), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 43 | rect: (i32, i32, i32, i32), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RenderWindow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `x` and `y` are never read [INFO] [stderr] --> src/args.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct Offset { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 97 | pub x: i32, [INFO] [stderr] | ^ [INFO] [stderr] 98 | pub y: i32, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Offset` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `font_family`, `font_size`, and `loaded_font` are never read [INFO] [stderr] --> src/args.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 102 | pub struct FontConfig { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 103 | pub font_family: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 104 | pub font_size: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 105 | pub loaded_font: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FontConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `parse_args` is never used [INFO] [stderr] --> src/args.rs:231:8 [INFO] [stderr] | [INFO] [stderr] 231 | pub fn parse_args() -> AppConfig { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_next_hint` is never used [INFO] [stderr] --> src/utils.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn get_next_hint( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `xcb_visualtype_t` is never constructed [INFO] [stderr] --> src/utils.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct xcb_visualtype_t { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_xcb_visualtype` is never used [INFO] [stderr] --> src/utils.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn find_xcb_visualtype(conn: &impl Connection, visual_id: u32) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extents_for_text` is never used [INFO] [stderr] --> src/utils.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn extents_for_text(text: &str, family: &str, size: f64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `draw_hint_text` is never used [INFO] [stderr] --> src/utils.rs:106:8 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn draw_hint_text( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `snatch_keyboard` is never used [INFO] [stderr] --> src/utils.rs:194:8 [INFO] [stderr] | [INFO] [stderr] 194 | pub fn snatch_keyboard(conn: &impl Connection, screen: &Screen, timeout: Duration) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `snatch_mouse` is never used [INFO] [stderr] --> src/utils.rs:223:8 [INFO] [stderr] | [INFO] [stderr] 223 | pub fn snatch_mouse(conn: &impl Connection, screen: &Screen, timeout: Duration) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sort_by_pos` is never used [INFO] [stderr] --> src/utils.rs:253:8 [INFO] [stderr] | [INFO] [stderr] 253 | pub fn sort_by_pos(mut dws: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_overlaps` is never used [INFO] [stderr] --> src/utils.rs:269:8 [INFO] [stderr] | [INFO] [stderr] 269 | pub fn find_overlaps( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_last_key` is never used [INFO] [stderr] --> src/utils.rs:283:8 [INFO] [stderr] | [INFO] [stderr] 283 | pub fn remove_last_key(pressed_keys: &mut String, kstr: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_pressed_symbol` is never used [INFO] [stderr] --> src/utils.rs:289:8 [INFO] [stderr] | [INFO] [stderr] 289 | pub fn get_pressed_symbol(conn: &impl Connection, event: Event) -> xkeysym::Keysym { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wmfocus` (bin "wmfocus" test) generated 25 warnings (run `cargo fix --bin "wmfocus" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wmfocus-6a766fd3e200e2d3) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test utils::tests::test_sequences_equal ... ok [INFO] [stdout] test utils::tests::test_no_intersect ... ok [INFO] [stdout] test utils::tests::test_intersects ... ok [INFO] [stdout] test utils::tests::test_sequences_is_started ... ok [INFO] [stdout] test utils::tests::test_sequences_not_equal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c7bfaadd902bdf36bc586e0dd3148a0aa571a95148e6fa47dd9c931ba3a2d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c7bfaadd902bdf36bc586e0dd3148a0aa571a95148e6fa47dd9c931ba3a2d57", kill_on_drop: false }` [INFO] [stdout] 9c7bfaadd902bdf36bc586e0dd3148a0aa571a95148e6fa47dd9c931ba3a2d57