[INFO] cloning repository https://github.com/lutianming/rustile
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lutianming/rustile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flutianming%2Frustile", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flutianming%2Frustile'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d415482664db41661d0b06ada6d08025cad91eeb
[INFO] testing lutianming/rustile against 1.76.0 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flutianming%2Frustile" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lutianming/rustile on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/lutianming/rustile
[INFO] finished tweaking git repo https://github.com/lutianming/rustile
[INFO] tweaked toml for git repo https://github.com/lutianming/rustile written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/lutianming/rustile 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" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (x11) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded env_logger v0.3.1
[INFO] [stderr]   Downloaded regex v0.1.33
[INFO] [stderr]   Downloaded regex-syntax v0.1.2
[INFO] [stderr]   Downloaded x11 v1.1.1
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8ae2dc6ffb0fdf758ea4caf5de35fa3d34b90197caf2ef391dcc57fad85d7401
[INFO] running `Command { std: "docker" "start" "-a" "8ae2dc6ffb0fdf758ea4caf5de35fa3d34b90197caf2ef391dcc57fad85d7401", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ae2dc6ffb0fdf758ea4caf5de35fa3d34b90197caf2ef391dcc57fad85d7401", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ae2dc6ffb0fdf758ea4caf5de35fa3d34b90197caf2ef391dcc57fad85d7401", kill_on_drop: false }`
[INFO] [stdout] 8ae2dc6ffb0fdf758ea4caf5de35fa3d34b90197caf2ef391dcc57fad85d7401
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c719f48d490b72fb0e2e65ae6bd25a3f97c463e6d31eb116ecfc8e9588b910e
[INFO] running `Command { std: "docker" "start" "-a" "0c719f48d490b72fb0e2e65ae6bd25a3f97c463e6d31eb116ecfc8e9588b910e", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (x11) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling pkg-config v0.3.4
[INFO] [stderr]    Compiling libc v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.1.2
[INFO] [stderr]    Compiling log v0.3.1
[INFO] [stderr]    Compiling x11 v1.1.1
[INFO] [stderr]    Compiling regex v0.1.33
[INFO] [stderr]    Compiling env_logger v0.3.1
[INFO] [stderr]    Compiling rustile v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `x11::xlib::Window`
[INFO] [stdout]  --> src/core/window_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use x11::xlib::Window;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Lines`
[INFO] [stdout]  --> src/core/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]   --> src/core/config.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ffi;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/core/config.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::WindowManager`
[INFO] [stdout]  --> src/core/handler.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::WindowManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]   --> src/core/handler.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | use super::super::libx::{self, Context};
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/core/layout.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]  --> src/core/layout.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ffi;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/layout.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/layout.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::container::{self, Container};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/core/layout.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |         decorate(client, id==focus_id);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/libx/mod.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/libx/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/core/handler.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<dyn FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/window_manager.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/core/window_manager.rs:16:61
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]   --> src/core/window_manager.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let root = context.root;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/core/window_manager.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let p = setlocale(6, s);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let res = xlib::XSupportsLocale();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let res = xlib::XSetLocaleModifiers(s);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/window_manager.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn load_resource(mut context: &mut libx::Context) {
[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/core/window_manager.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut values: xlib::XGCValues = unsafe{ mem::zeroed() };
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let mut wm = WindowManager {
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |             let mask = 0x420010;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/core/window_manager.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let s = libx::get_atom_name(self.context, event.message_type);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]    --> src/core/window_manager.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub fn handle_button_motion(&mut self, event: &xlib::XMotionEvent) {
[INFO] [stdout]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/core/window_manager.rs:250:45
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/window_manager.rs:250:52
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/core/window_manager.rs:250:55
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let usertime = libx::get_atom(self.context, "_NET_WM_USER_TIME");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |             usertime => {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:314:13
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:390:21
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 let mut event: xlib::XMotionEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:395:21
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:399:21
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:406:21
[INFO] [stdout]     |
[INFO] [stdout] 406 |                 let mut event: xlib::XConfigureRequestEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:417:21
[INFO] [stdout]     |
[INFO] [stdout] 417 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:421:21
[INFO] [stdout]     |
[INFO] [stdout] 421 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:425:21
[INFO] [stdout]     |
[INFO] [stdout] 425 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 let mut event: xlib::XPropertyEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |             let mut e = libx::next_event(self.context);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:452:13
[INFO] [stdout]     |
[INFO] [stdout] 452 |         let mask = 0x1A0034;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |                         Err(err) => {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Err(err) => {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/config.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let mut cmd = build_cmd(args);
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workspaces`
[INFO] [stdout]   --> src/core/handler.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/layout.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/layout.rs:164:10
[INFO] [stdout]     |
[INFO] [stdout] 164 |     for (i, client) in container.clients.iter_mut().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for (k, workspace) in self.spaces.iter_mut() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |             Some((k, c)) => {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/container.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         for i in 0..indent {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let mut a = self.clients.get_mut(index).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 let mut b = self.clients.get_mut(neighbor).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/container.rs:427:14
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let (x, _) = libx::get_input_focus(self.context);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/core/container.rs:432:21
[INFO] [stdout]     |
[INFO] [stdout] 432 |         if let Some(p) = self.get_parent() {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gc`
[INFO] [stdout]   --> src/core/taskbar.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let gc = context.gc;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/taskbar.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let display = context.display;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/taskbar.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/libx/mod.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `root` is assigned to, but never used
[INFO] [stdout]    --> src/libx/mod.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let mut root = 0;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_root` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `root` is never read
[INFO] [stdout]    --> src/libx/mod.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |                     root = r;
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer_root`
[INFO] [stdout]    --> src/libx/mod.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |     let pointer_root = 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]    --> src/libx/mod.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |     let parent = 2;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/libx/mod.rs:368:13
[INFO] [stdout]     |
[INFO] [stdout] 368 |         let s = xlib::XGetInputFocus(context.display, &mut window, &mut revert_to);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/libx/mod.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/libx/mod.rs:446:9
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let status: *mut xlib::XComposeStatus = ptr::null_mut();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/libx/mod.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |         let r = xlib::XParseColor(display, cmap, cname, &mut color);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/core/taskbar.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             unsafe{
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWX` is never used
[INFO] [stdout]   --> src/core/layout.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const CWX: libc::c_uint = 1<<0;
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWY` is never used
[INFO] [stdout]   --> src/core/layout.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const CWY: libc::c_uint = 1<<1;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` is never used
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_window_property` is never used
[INFO] [stdout]    --> src/libx/mod.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn get_window_property(context: Context, window: Window, atom: xlib::Atom) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:63:48
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let s = ffi::CString::new("").unwrap().as_ptr();
[INFO] [stdout]    |                 ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:73:57
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let fontbase = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]    |                        -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/config.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     cmd.spawn();
[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] 86 |                     let _ = cmd.spawn();
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/handler.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[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] 56 |     Box::new(move |workspaces| {let _ = cmd.spawn();})
[INFO] [stdout]    |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `border` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const border: u32 = 1;
[INFO] [stdout]    |       ^^^^^^ help: convert the identifier to upper case: `BORDER`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:12
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:42
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:352:20
[INFO] [stdout]     |
[INFO] [stdout] 352 |                 if last < 0 {
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:517:54
[INFO] [stdout]     |
[INFO] [stdout] 517 |         let cname = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]     |                     -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:527:58
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:540:58
[INFO] [stdout]     |
[INFO] [stdout] 540 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 102 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.37s
[INFO] running `Command { std: "docker" "inspect" "0c719f48d490b72fb0e2e65ae6bd25a3f97c463e6d31eb116ecfc8e9588b910e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c719f48d490b72fb0e2e65ae6bd25a3f97c463e6d31eb116ecfc8e9588b910e", kill_on_drop: false }`
[INFO] [stdout] 0c719f48d490b72fb0e2e65ae6bd25a3f97c463e6d31eb116ecfc8e9588b910e
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb62f09dc9c9772ae7723e679c4f939a5b9f18a1882e22f7d34aba76b61aa0d8
[INFO] running `Command { std: "docker" "start" "-a" "cb62f09dc9c9772ae7723e679c4f939a5b9f18a1882e22f7d34aba76b61aa0d8", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (x11) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stdout] warning: unused import: `x11::xlib::Window`
[INFO] [stdout]  --> src/core/window_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use x11::xlib::Window;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Lines`
[INFO] [stdout]  --> src/core/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]   --> src/core/config.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ffi;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/core/config.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::WindowManager`
[INFO] [stdout]  --> src/core/handler.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::WindowManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]   --> src/core/handler.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | use super::super::libx::{self, Context};
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/core/layout.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]  --> src/core/layout.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ffi;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/layout.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/layout.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::container::{self, Container};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/core/layout.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |         decorate(client, id==focus_id);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/libx/mod.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/libx/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/core/handler.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<dyn FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/window_manager.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/core/window_manager.rs:16:61
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]   --> src/core/window_manager.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let root = context.root;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/core/window_manager.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let p = setlocale(6, s);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let res = xlib::XSupportsLocale();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let res = xlib::XSetLocaleModifiers(s);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/window_manager.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn load_resource(mut context: &mut libx::Context) {
[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/core/window_manager.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut values: xlib::XGCValues = unsafe{ mem::zeroed() };
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let mut wm = WindowManager {
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |             let mask = 0x420010;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/core/window_manager.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let s = libx::get_atom_name(self.context, event.message_type);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]    --> src/core/window_manager.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub fn handle_button_motion(&mut self, event: &xlib::XMotionEvent) {
[INFO] [stdout]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/core/window_manager.rs:250:45
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/window_manager.rs:250:52
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/core/window_manager.rs:250:55
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let usertime = libx::get_atom(self.context, "_NET_WM_USER_TIME");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |             usertime => {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:314:13
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:390:21
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 let mut event: xlib::XMotionEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:395:21
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:399:21
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:406:21
[INFO] [stdout]     |
[INFO] [stdout] 406 |                 let mut event: xlib::XConfigureRequestEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:417:21
[INFO] [stdout]     |
[INFO] [stdout] 417 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:421:21
[INFO] [stdout]     |
[INFO] [stdout] 421 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:425:21
[INFO] [stdout]     |
[INFO] [stdout] 425 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 let mut event: xlib::XPropertyEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |             let mut e = libx::next_event(self.context);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:452:13
[INFO] [stdout]     |
[INFO] [stdout] 452 |         let mask = 0x1A0034;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |                         Err(err) => {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Err(err) => {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/config.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let mut cmd = build_cmd(args);
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workspaces`
[INFO] [stdout]   --> src/core/handler.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/layout.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/layout.rs:164:10
[INFO] [stdout]     |
[INFO] [stdout] 164 |     for (i, client) in container.clients.iter_mut().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for (k, workspace) in self.spaces.iter_mut() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |             Some((k, c)) => {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/container.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         for i in 0..indent {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let mut a = self.clients.get_mut(index).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 let mut b = self.clients.get_mut(neighbor).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/container.rs:427:14
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let (x, _) = libx::get_input_focus(self.context);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/core/container.rs:432:21
[INFO] [stdout]     |
[INFO] [stdout] 432 |         if let Some(p) = self.get_parent() {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gc`
[INFO] [stdout]   --> src/core/taskbar.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let gc = context.gc;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/taskbar.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let display = context.display;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/taskbar.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/libx/mod.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `root` is assigned to, but never used
[INFO] [stdout]    --> src/libx/mod.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let mut root = 0;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_root` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `root` is never read
[INFO] [stdout]    --> src/libx/mod.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |                     root = r;
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer_root`
[INFO] [stdout]    --> src/libx/mod.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |     let pointer_root = 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]    --> src/libx/mod.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |     let parent = 2;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/libx/mod.rs:368:13
[INFO] [stdout]     |
[INFO] [stdout] 368 |         let s = xlib::XGetInputFocus(context.display, &mut window, &mut revert_to);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/libx/mod.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/libx/mod.rs:446:9
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let status: *mut xlib::XComposeStatus = ptr::null_mut();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/libx/mod.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |         let r = xlib::XParseColor(display, cmap, cname, &mut color);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/core/taskbar.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             unsafe{
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWX` is never used
[INFO] [stdout]   --> src/core/layout.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const CWX: libc::c_uint = 1<<0;
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWY` is never used
[INFO] [stdout]   --> src/core/layout.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const CWY: libc::c_uint = 1<<1;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` is never used
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_window_property` is never used
[INFO] [stdout]    --> src/libx/mod.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn get_window_property(context: Context, window: Window, atom: xlib::Atom) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:63:48
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let s = ffi::CString::new("").unwrap().as_ptr();
[INFO] [stdout]    |                 ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:73:57
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let fontbase = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]    |                        -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/config.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     cmd.spawn();
[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] 86 |                     let _ = cmd.spawn();
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/handler.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[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] 56 |     Box::new(move |workspaces| {let _ = cmd.spawn();})
[INFO] [stdout]    |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `border` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const border: u32 = 1;
[INFO] [stdout]    |       ^^^^^^ help: convert the identifier to upper case: `BORDER`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:12
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:42
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:352:20
[INFO] [stdout]     |
[INFO] [stdout] 352 |                 if last < 0 {
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:517:54
[INFO] [stdout]     |
[INFO] [stdout] 517 |         let cname = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]     |                     -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:527:58
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:540:58
[INFO] [stdout]     |
[INFO] [stdout] 540 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 102 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rustile v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `x11::xlib::Window`
[INFO] [stdout]  --> src/core/window_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use x11::xlib::Window;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Lines`
[INFO] [stdout]  --> src/core/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]   --> src/core/config.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ffi;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/core/config.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::WindowManager`
[INFO] [stdout]  --> src/core/handler.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::WindowManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]   --> src/core/handler.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | use super::super::libx::{self, Context};
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/core/layout.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]  --> src/core/layout.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ffi;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/layout.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/layout.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::container::{self, Container};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/core/layout.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |         decorate(client, id==focus_id);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::super::super::libx`
[INFO] [stdout]    --> src/core/container.rs:552:9
[INFO] [stdout]     |
[INFO] [stdout] 552 |     use super::super::super::libx;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/libx/mod.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/libx/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/core/handler.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<dyn FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/window_manager.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/core/window_manager.rs:16:61
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]   --> src/core/window_manager.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let root = context.root;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/core/window_manager.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let p = setlocale(6, s);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let res = xlib::XSupportsLocale();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let res = xlib::XSetLocaleModifiers(s);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/window_manager.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn load_resource(mut context: &mut libx::Context) {
[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/core/window_manager.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut values: xlib::XGCValues = unsafe{ mem::zeroed() };
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let mut wm = WindowManager {
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |             let mask = 0x420010;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/core/window_manager.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let s = libx::get_atom_name(self.context, event.message_type);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]    --> src/core/window_manager.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub fn handle_button_motion(&mut self, event: &xlib::XMotionEvent) {
[INFO] [stdout]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/core/window_manager.rs:250:45
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/window_manager.rs:250:52
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/core/window_manager.rs:250:55
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let usertime = libx::get_atom(self.context, "_NET_WM_USER_TIME");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |             usertime => {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:314:13
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:390:21
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 let mut event: xlib::XMotionEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:395:21
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:399:21
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:406:21
[INFO] [stdout]     |
[INFO] [stdout] 406 |                 let mut event: xlib::XConfigureRequestEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:417:21
[INFO] [stdout]     |
[INFO] [stdout] 417 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:421:21
[INFO] [stdout]     |
[INFO] [stdout] 421 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:425:21
[INFO] [stdout]     |
[INFO] [stdout] 425 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 let mut event: xlib::XPropertyEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |             let mut e = libx::next_event(self.context);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:452:13
[INFO] [stdout]     |
[INFO] [stdout] 452 |         let mask = 0x1A0034;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |                         Err(err) => {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Err(err) => {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/config.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let mut cmd = build_cmd(args);
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workspaces`
[INFO] [stdout]   --> src/core/handler.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/layout.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/layout.rs:164:10
[INFO] [stdout]     |
[INFO] [stdout] 164 |     for (i, client) in container.clients.iter_mut().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for (k, workspace) in self.spaces.iter_mut() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |             Some((k, c)) => {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/container.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         for i in 0..indent {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let mut a = self.clients.get_mut(index).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 let mut b = self.clients.get_mut(neighbor).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/container.rs:427:14
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let (x, _) = libx::get_input_focus(self.context);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/core/container.rs:432:21
[INFO] [stdout]     |
[INFO] [stdout] 432 |         if let Some(p) = self.get_parent() {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:566:13
[INFO] [stdout]     |
[INFO] [stdout] 566 |         let mut wm = init();
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gc`
[INFO] [stdout]   --> src/core/taskbar.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let gc = context.gc;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/taskbar.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let display = context.display;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/taskbar.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/libx/mod.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `root` is assigned to, but never used
[INFO] [stdout]    --> src/libx/mod.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let mut root = 0;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_root` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `root` is never read
[INFO] [stdout]    --> src/libx/mod.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |                     root = r;
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer_root`
[INFO] [stdout]    --> src/libx/mod.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |     let pointer_root = 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]    --> src/libx/mod.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |     let parent = 2;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/libx/mod.rs:368:13
[INFO] [stdout]     |
[INFO] [stdout] 368 |         let s = xlib::XGetInputFocus(context.display, &mut window, &mut revert_to);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/libx/mod.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/libx/mod.rs:446:9
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let status: *mut xlib::XComposeStatus = ptr::null_mut();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/libx/mod.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |         let r = xlib::XParseColor(display, cmap, cname, &mut color);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/core/taskbar.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             unsafe{
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWX` is never used
[INFO] [stdout]   --> src/core/layout.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const CWX: libc::c_uint = 1<<0;
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWY` is never used
[INFO] [stdout]   --> src/core/layout.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const CWY: libc::c_uint = 1<<1;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` is never used
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clean` is never used
[INFO] [stdout]    --> src/core/container.rs:560:8
[INFO] [stdout]     |
[INFO] [stdout] 560 |     fn clean() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_window_property` is never used
[INFO] [stdout]    --> src/libx/mod.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn get_window_property(context: Context, window: Window, atom: xlib::Atom) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:63:48
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let s = ffi::CString::new("").unwrap().as_ptr();
[INFO] [stdout]    |                 ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:73:57
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let fontbase = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]    |                        -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/config.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     cmd.spawn();
[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] 86 |                     let _ = cmd.spawn();
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/core/config.rs:231:40
[INFO] [stdout]     |
[INFO] [stdout] 231 |     assert!(bindsyms.contains_key(&c), true);
[INFO] [stdout]     |                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 231 |     assert!(bindsyms.contains_key(&c), "{}", true);
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/handler.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[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] 56 |     Box::new(move |workspaces| {let _ = cmd.spawn();})
[INFO] [stdout]    |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `border` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const border: u32 = 1;
[INFO] [stdout]    |       ^^^^^^ help: convert the identifier to upper case: `BORDER`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:12
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:42
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:352:20
[INFO] [stdout]     |
[INFO] [stdout] 352 |                 if last < 0 {
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:517:54
[INFO] [stdout]     |
[INFO] [stdout] 517 |         let cname = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]     |                     -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:527:58
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:540:58
[INFO] [stdout]     |
[INFO] [stdout] 540 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 106 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.67s
[INFO] running `Command { std: "docker" "inspect" "cb62f09dc9c9772ae7723e679c4f939a5b9f18a1882e22f7d34aba76b61aa0d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb62f09dc9c9772ae7723e679c4f939a5b9f18a1882e22f7d34aba76b61aa0d8", kill_on_drop: false }`
[INFO] [stdout] cb62f09dc9c9772ae7723e679c4f939a5b9f18a1882e22f7d34aba76b61aa0d8
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c7740aa3f216353613188dc8f124dc2c00d0aa820c8f4e3d6fb40b0279c1de1d
[INFO] running `Command { std: "docker" "start" "-a" "c7740aa3f216353613188dc8f124dc2c00d0aa820c8f4e3d6fb40b0279c1de1d", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (x11) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused import: `x11::xlib::Window`
[INFO] [stderr]  --> src/core/window_manager.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use x11::xlib::Window;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::Lines`
[INFO] [stderr]  --> src/core/config.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::io::Lines;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ffi`
[INFO] [stderr]   --> src/core/config.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::ffi;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::boxed::Box`
[INFO] [stderr]   --> src/core/config.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::boxed::Box;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ptr`
[INFO] [stderr]  --> src/core/handler.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::ptr;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::WindowManager`
[INFO] [stderr]  --> src/core/handler.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use super::WindowManager;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Context`
[INFO] [stderr]   --> src/core/handler.rs:13:32
[INFO] [stderr]    |
[INFO] [stderr] 13 | use super::super::libx::{self, Context};
[INFO] [stderr]    |                                ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::mem`
[INFO] [stderr]  --> src/core/layout.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::mem;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ffi`
[INFO] [stderr]  --> src/core/layout.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::ffi;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ptr`
[INFO] [stderr]  --> src/core/layout.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::ptr;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/core/layout.rs:9:24
[INFO] [stderr]   |
[INFO] [stderr] 9 | use super::container::{self, Container};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/core/layout.rs:188:40
[INFO] [stderr]     |
[INFO] [stderr] 188 |         decorate(client, id==focus_id);;
[INFO] [stderr]     |                                        ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unknown lint: `unstable`
[INFO] [stderr]  --> src/libx/mod.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #![allow(unstable)]
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::boxed::Box`
[INFO] [stderr]   --> src/libx/mod.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::boxed::Box;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/core/handler.rs:53:25
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub type HandleFn = Box<FnMut(&mut Workspaces)>;
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub type HandleFn = Box<dyn FnMut(&mut Workspaces)>;
[INFO] [stderr]    |                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `display`
[INFO] [stderr]   --> src/core/window_manager.rs:16:32
[INFO] [stderr]    |
[INFO] [stderr] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stderr]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `event`
[INFO] [stderr]   --> src/core/window_manager.rs:16:61
[INFO] [stderr]    |
[INFO] [stderr] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stderr]    |                                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `root`
[INFO] [stderr]   --> src/core/window_manager.rs:35:9
[INFO] [stderr]    |
[INFO] [stderr] 35 |     let root = context.root;
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]   --> src/core/window_manager.rs:64:13
[INFO] [stderr]    |
[INFO] [stderr] 64 |         let p = setlocale(6, s);
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `res`
[INFO] [stderr]   --> src/core/window_manager.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let res = xlib::XSupportsLocale();
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `res`
[INFO] [stderr]   --> src/core/window_manager.rs:66:13
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let res = xlib::XSetLocaleModifiers(s);
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/core/window_manager.rs:31:18
[INFO] [stderr]    |
[INFO] [stderr] 31 | fn load_resource(mut context: &mut libx::Context) {
[INFO] [stderr]    |                  ----^^^^^^^
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/core/window_manager.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let mut values: xlib::XGCValues = unsafe{ mem::zeroed() };
[INFO] [stderr]    |         ----^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:113:6
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let mut wm = WindowManager {
[INFO] [stderr]     |         ----^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mask`
[INFO] [stderr]    --> src/core/window_manager.rs:177:17
[INFO] [stderr]     |
[INFO] [stderr] 177 |             let mask = 0x420010;
[INFO] [stderr]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]    --> src/core/window_manager.rs:193:13
[INFO] [stderr]     |
[INFO] [stderr] 193 |         let s = libx::get_atom_name(self.context, event.message_type);
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `event`
[INFO] [stderr]    --> src/core/window_manager.rs:222:44
[INFO] [stderr]     |
[INFO] [stderr] 222 |     pub fn handle_button_motion(&mut self, event: &xlib::XMotionEvent) {
[INFO] [stderr]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]    --> src/core/window_manager.rs:250:45
[INFO] [stderr]     |
[INFO] [stderr] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stderr]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/core/window_manager.rs:250:52
[INFO] [stderr]     |
[INFO] [stderr] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stderr]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]    --> src/core/window_manager.rs:250:55
[INFO] [stderr]     |
[INFO] [stderr] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stderr]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `usertime`
[INFO] [stderr]    --> src/core/window_manager.rs:305:13
[INFO] [stderr]     |
[INFO] [stderr] 305 |         let usertime = libx::get_atom(self.context, "_NET_WM_USER_TIME");
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `usertime`
[INFO] [stderr]    --> src/core/window_manager.rs:307:13
[INFO] [stderr]     |
[INFO] [stderr] 307 |             usertime => {
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:314:13
[INFO] [stderr]     |
[INFO] [stderr] 314 |         let mut change = xlib::XWindowChanges {
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:390:21
[INFO] [stderr]     |
[INFO] [stderr] 390 |                 let mut event: xlib::XMotionEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:395:21
[INFO] [stderr]     |
[INFO] [stderr] 395 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:399:21
[INFO] [stderr]     |
[INFO] [stderr] 399 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:406:21
[INFO] [stderr]     |
[INFO] [stderr] 406 |                 let mut event: xlib::XConfigureRequestEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:411:21
[INFO] [stderr]     |
[INFO] [stderr] 411 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:417:21
[INFO] [stderr]     |
[INFO] [stderr] 417 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:421:21
[INFO] [stderr]     |
[INFO] [stderr] 421 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:425:21
[INFO] [stderr]     |
[INFO] [stderr] 425 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:430:21
[INFO] [stderr]     |
[INFO] [stderr] 430 |                 let mut event: xlib::XPropertyEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:442:17
[INFO] [stderr]     |
[INFO] [stderr] 442 |             let mut e = libx::next_event(self.context);
[INFO] [stderr]     |                 ----^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mask`
[INFO] [stderr]    --> src/core/window_manager.rs:452:13
[INFO] [stderr]     |
[INFO] [stderr] 452 |         let mask = 0x1A0034;
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/core/config.rs:60:29
[INFO] [stderr]    |
[INFO] [stderr] 60 |                         Err(err) => {
[INFO] [stderr]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/core/config.rs:66:17
[INFO] [stderr]    |
[INFO] [stderr] 66 |             Err(err) => {
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/config.rs:108:21
[INFO] [stderr]     |
[INFO] [stderr] 108 |                 let mut cmd = build_cmd(args);
[INFO] [stderr]     |                     ----^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `workspaces`
[INFO] [stderr]   --> src/core/handler.rs:56:20
[INFO] [stderr]    |
[INFO] [stderr] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[INFO] [stderr]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaces`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `boundingbox`
[INFO] [stderr]   --> src/core/layout.rs:93:18
[INFO] [stderr]    |
[INFO] [stderr] 93 |             let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stderr]    |                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/core/layout.rs:164:10
[INFO] [stderr]     |
[INFO] [stderr] 164 |     for (i, client) in container.clients.iter_mut().enumerate() {
[INFO] [stderr]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]    --> src/core/workspaces.rs:167:14
[INFO] [stderr]     |
[INFO] [stderr] 167 |         for (k, workspace) in self.spaces.iter_mut() {
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]    --> src/core/workspaces.rs:192:19
[INFO] [stderr]     |
[INFO] [stderr] 192 |             Some((k, c)) => {
[INFO] [stderr]     |                   ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/core/container.rs:102:13
[INFO] [stderr]     |
[INFO] [stderr] 102 |         for i in 0..indent {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/container.rs:290:21
[INFO] [stderr]     |
[INFO] [stderr] 290 |                 let mut a = self.clients.get_mut(index).unwrap();
[INFO] [stderr]     |                     ----^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/container.rs:294:21
[INFO] [stderr]     |
[INFO] [stderr] 294 |                 let mut b = self.clients.get_mut(neighbor).unwrap();
[INFO] [stderr]     |                     ----^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/core/container.rs:427:14
[INFO] [stderr]     |
[INFO] [stderr] 427 |         let (x, _) = libx::get_input_focus(self.context);
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]    --> src/core/container.rs:432:21
[INFO] [stderr]     |
[INFO] [stderr] 432 |         if let Some(p) = self.get_parent() {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `gc`
[INFO] [stderr]   --> src/core/taskbar.rs:55:13
[INFO] [stderr]    |
[INFO] [stderr] 55 |         let gc = context.gc;
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `display`
[INFO] [stderr]   --> src/core/taskbar.rs:56:13
[INFO] [stderr]    |
[INFO] [stderr] 56 |         let display = context.display;
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `boundingbox`
[INFO] [stderr]   --> src/core/taskbar.rs:84:22
[INFO] [stderr]    |
[INFO] [stderr] 84 |                 let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stderr]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/libx/mod.rs:184:21
[INFO] [stderr]     |
[INFO] [stderr] 184 |                 Err(e) => {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `root` is assigned to, but never used
[INFO] [stderr]    --> src/libx/mod.rs:273:13
[INFO] [stderr]     |
[INFO] [stderr] 273 |     let mut root = 0;
[INFO] [stderr]     |             ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_root` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `root` is never read
[INFO] [stderr]    --> src/libx/mod.rs:285:21
[INFO] [stderr]     |
[INFO] [stderr] 285 |                     root = r;
[INFO] [stderr]     |                     ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pointer_root`
[INFO] [stderr]    --> src/libx/mod.rs:355:9
[INFO] [stderr]     |
[INFO] [stderr] 355 |     let pointer_root = 1;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_root`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `parent`
[INFO] [stderr]    --> src/libx/mod.rs:356:9
[INFO] [stderr]     |
[INFO] [stderr] 356 |     let parent = 2;
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]    --> src/libx/mod.rs:368:13
[INFO] [stderr]     |
[INFO] [stderr] 368 |         let s = xlib::XGetInputFocus(context.display, &mut window, &mut revert_to);
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/libx/mod.rs:389:9
[INFO] [stderr]     |
[INFO] [stderr] 389 |     let mut change = xlib::XWindowChanges {
[INFO] [stderr]     |         ----^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `status`
[INFO] [stderr]    --> src/libx/mod.rs:446:9
[INFO] [stderr]     |
[INFO] [stderr] 446 |     let status: *mut xlib::XComposeStatus = ptr::null_mut();
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> src/libx/mod.rs:518:13
[INFO] [stderr]     |
[INFO] [stderr] 518 |         let r = xlib::XParseColor(display, cmap, cname, &mut color);
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/core/taskbar.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 62 |             unsafe{
[INFO] [stderr]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWX` is never used
[INFO] [stderr]   --> src/core/layout.rs:12:7
[INFO] [stderr]    |
[INFO] [stderr] 12 | const CWX: libc::c_uint = 1<<0;
[INFO] [stderr]    |       ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWY` is never used
[INFO] [stderr]   --> src/core/layout.rs:13:7
[INFO] [stderr]    |
[INFO] [stderr] 13 | const CWY: libc::c_uint = 1<<1;
[INFO] [stderr]    |       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWWidth` is never used
[INFO] [stderr]   --> src/core/layout.rs:14:7
[INFO] [stderr]    |
[INFO] [stderr] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stderr]    |       ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWHeight` is never used
[INFO] [stderr]   --> src/core/layout.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWBorderWidth` is never used
[INFO] [stderr]   --> src/core/layout.rs:16:7
[INFO] [stderr]    |
[INFO] [stderr] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stderr]    |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWSibling` is never used
[INFO] [stderr]   --> src/core/layout.rs:17:7
[INFO] [stderr]    |
[INFO] [stderr] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWStackMode` is never used
[INFO] [stderr]   --> src/core/layout.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWBorderWidth` is never used
[INFO] [stderr]   --> src/libx/mod.rs:21:7
[INFO] [stderr]    |
[INFO] [stderr] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stderr]    |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWSibling` is never used
[INFO] [stderr]   --> src/libx/mod.rs:22:7
[INFO] [stderr]    |
[INFO] [stderr] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWStackMode` is never used
[INFO] [stderr]   --> src/libx/mod.rs:23:7
[INFO] [stderr]    |
[INFO] [stderr] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_window_property` is never used
[INFO] [stderr]    --> src/libx/mod.rs:234:4
[INFO] [stderr]     |
[INFO] [stderr] 234 | fn get_window_property(context: Context, window: Window, atom: xlib::Atom) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/core/window_manager.rs:63:48
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let s = ffi::CString::new("").unwrap().as_ptr();
[INFO] [stderr]    |                 ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/core/window_manager.rs:73:57
[INFO] [stderr]    |
[INFO] [stderr] 73 |         let fontbase = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stderr]    |                        -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/core/config.rs:86:21
[INFO] [stderr]    |
[INFO] [stderr] 86 |                     cmd.spawn();
[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)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 86 |                     let _ = cmd.spawn();
[INFO] [stderr]    |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/core/handler.rs:56:33
[INFO] [stderr]    |
[INFO] [stderr] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[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] 56 |     Box::new(move |workspaces| {let _ = cmd.spawn();})
[INFO] [stderr]    |                                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWWidth` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:14:7
[INFO] [stderr]    |
[INFO] [stderr] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stderr]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWHeight` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stderr]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:16:7
[INFO] [stderr]    |
[INFO] [stderr] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stderr]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWSibling` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:17:7
[INFO] [stderr]    |
[INFO] [stderr] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stderr]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWStackMode` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stderr]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `border` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:20:7
[INFO] [stderr]    |
[INFO] [stderr] 20 | const border: u32 = 1;
[INFO] [stderr]    |       ^^^^^^ help: convert the identifier to upper case: `BORDER`
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/core/container.rs:280:12
[INFO] [stderr]     |
[INFO] [stderr] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/core/container.rs:280:42
[INFO] [stderr]     |
[INFO] [stderr] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/core/container.rs:352:20
[INFO] [stderr]     |
[INFO] [stderr] 352 |                 if last < 0 {
[INFO] [stderr]     |                    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWWidth` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:19:7
[INFO] [stderr]    |
[INFO] [stderr] 19 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stderr]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWHeight` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:20:7
[INFO] [stderr]    |
[INFO] [stderr] 20 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stderr]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:21:7
[INFO] [stderr]    |
[INFO] [stderr] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stderr]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWSibling` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:22:7
[INFO] [stderr]    |
[INFO] [stderr] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stderr]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWStackMode` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:23:7
[INFO] [stderr]    |
[INFO] [stderr] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stderr]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/libx/mod.rs:517:54
[INFO] [stderr]     |
[INFO] [stderr] 517 |         let cname = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stderr]     |                     -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/libx/mod.rs:527:58
[INFO] [stderr]     |
[INFO] [stderr] 527 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stderr]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/libx/mod.rs:540:58
[INFO] [stderr]     |
[INFO] [stderr] 540 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stderr]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::super::super::libx`
[INFO] [stderr]    --> src/core/container.rs:552:9
[INFO] [stderr]     |
[INFO] [stderr] 552 |     use super::super::super::libx;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/container.rs:566:13
[INFO] [stderr]     |
[INFO] [stderr] 566 |         let mut wm = init();
[INFO] [stderr]     |             ----^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: function `clean` is never used
[INFO] [stderr]    --> src/core/container.rs:560:8
[INFO] [stderr]     |
[INFO] [stderr] 560 |     fn clean() {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/core/config.rs:231:40
[INFO] [stderr]     |
[INFO] [stderr] 231 |     assert!(bindsyms.contains_key(&c), true);
[INFO] [stderr]     |                                        ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 231 |     assert!(bindsyms.contains_key(&c), "{}", true);
[INFO] [stderr]     |                                        +++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rustile` (lib) generated 102 warnings (run `cargo fix --lib -p rustile` to apply 65 suggestions)
[INFO] [stderr] warning: `rustile` (lib test) generated 106 warnings (102 duplicates) (run `cargo fix --lib -p rustile --tests` to apply 3 suggestions)
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/main.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rustile` (bin "rustile" test) generated 1 warning
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustile-7d4bb1872e5de448)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test core::config::test_map ... ok
[INFO] [stdout] test libx::test::test_open ... FAILED
[INFO] [stdout] test core::container::test::new ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- libx::test::test_open stdout ----
[INFO] [stdout] thread 'libx::test::test_open' panicked at src/libx/mod.rs:571:5:
[INFO] [stdout] assertion failed: display.is_some()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x558a80ccf176 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x558a80ccf176 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x558a80ccf176 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x558a80ccf176 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x558a80cf80d0 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x558a80cf80d0 - core::fmt::write::h3ed6aeaa977c8e45
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x558a80cccb7f - std::io::Write::write_fmt::h1299aa7741865f2b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x558a80ccef54 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x558a80ccef54 - std::sys_common::backtrace::print::h85035a511aafe7a8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x558a80cd0cc7 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
[INFO] [stdout]   10:     0x558a80cd09ad - std::panicking::default_hook::hf5fcb0f213fe709a
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x558a80c9fc87 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h60265c2dfa87ee34
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x558a80c9fc87 - test::test_main::{{closure}}::h77865bd3127078c6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x558a80cd12e6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbc5ccf4eb663e1e5
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x558a80cd12e6 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x558a80cd0ff9 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:649:13
[INFO] [stdout]   16:     0x558a80ccf676 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x558a80cd0d90 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x558a80c3ecd5 - core::panicking::panic_fmt::h784f20a50eaab275
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x558a80c3ed93 - core::panicking::panic::hb837a5ebbbe5b188
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:144:5
[INFO] [stdout]   20:     0x558a80c4ce0b - rustile::libx::test::test_open::h4bbaec2844291a4c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/libx/mod.rs:571:5
[INFO] [stdout]   21:     0x558a80c4cda7 - rustile::libx::test::test_open::{{closure}}::h92d6313f208ead1c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/libx/mod.rs:569:15
[INFO] [stdout]   22:     0x558a80c57726 - core::ops::function::FnOnce::call_once::hc62108e9a441f9a4
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x558a80ca555f - core::ops::function::FnOnce::call_once::h8dc6907944022cf6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x558a80ca555f - test::__rust_begin_short_backtrace::haae1a87433f1efb3
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:627:18
[INFO] [stdout]   25:     0x558a80ca42e1 - test::run_test_in_process::{{closure}}::h8c7decfa7c14e152
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:60
[INFO] [stdout]   26:     0x558a80ca42e1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h19e6ff056d9d21e9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x558a80ca42e1 - std::panicking::try::do_call::h89c848fcaa37c035
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   28:     0x558a80ca42e1 - std::panicking::try::h57ab3dc74e2839b8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   29:     0x558a80ca42e1 - std::panic::catch_unwind::hfb6a1b1abc120fb9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   30:     0x558a80ca42e1 - test::run_test_in_process::h5ae2f9875edd562d
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:27
[INFO] [stdout]   31:     0x558a80ca42e1 - test::run_test::{{closure}}::h35d7300d8928a067
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:573:43
[INFO] [stdout]   32:     0x558a80c6b616 - test::run_test::{{closure}}::h7525ced405d23d1b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:601:41
[INFO] [stdout]   33:     0x558a80c6b616 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e7db78ce05afad8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   34:     0x558a80c70677 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcfbcb64f1a1b3482
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   35:     0x558a80c70677 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9d89c5c4108bd689
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x558a80c70677 - std::panicking::try::do_call::h8a4869bc94ec50c9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   37:     0x558a80c70677 - std::panicking::try::h9a576f20ff81ac30
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   38:     0x558a80c70677 - std::panic::catch_unwind::hbcb4e3f860ef9830
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   39:     0x558a80c70677 - std::thread::Builder::spawn_unchecked_::{{closure}}::h93c79a6be1505948
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   40:     0x558a80c70677 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h426d96740c81bdaf
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x558a80cd5ea5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   42:     0x558a80cd5ea5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x558a80cd5ea5 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f417344aac3 - <unknown>
[INFO] [stdout]   45:     0x7f41734dbbf4 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- core::container::test::new stdout ----
[INFO] [stdout] thread 'core::container::test::new' panicked at src/core/window_manager.rs:105:17:
[INFO] [stdout] can't open display
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x558a80ccf176 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x558a80ccf176 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x558a80ccf176 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x558a80ccf176 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x558a80cf80d0 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x558a80cf80d0 - core::fmt::write::h3ed6aeaa977c8e45
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x558a80cccb7f - std::io::Write::write_fmt::h1299aa7741865f2b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x558a80ccef54 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x558a80ccef54 - std::sys_common::backtrace::print::h85035a511aafe7a8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x558a80cd0cc7 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
[INFO] [stdout]   10:     0x558a80cd09ad - std::panicking::default_hook::hf5fcb0f213fe709a
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x558a80c9fc87 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h60265c2dfa87ee34
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x558a80c9fc87 - test::test_main::{{closure}}::h77865bd3127078c6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x558a80cd12e6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbc5ccf4eb663e1e5
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x558a80cd12e6 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x558a80c61698 - std::panicking::begin_panic::{{closure}}::h56c0d28ad4f50b10
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:687:9
[INFO] [stdout]   16:     0x558a80c4cec6 - std::sys_common::backtrace::__rust_end_short_backtrace::h43fbe78a6db27e4e
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x558a80c615a3 - std::panicking::begin_panic::hba90cba8af2e5973
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:686:12
[INFO] [stdout]   18:     0x558a80c6438d - rustile::core::window_manager::WindowManager::new::h22d2b8812049e9ec
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core/window_manager.rs:105:17
[INFO] [stdout]   19:     0x558a80c64b60 - rustile::core::container::test::init::h1eab0de8337a5d13
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core/container.rs:555:22
[INFO] [stdout]   20:     0x558a80c64c11 - rustile::core::container::test::new::hd03dae8579f82025
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core/container.rs:566:22
[INFO] [stdout]   21:     0x558a80c64be7 - rustile::core::container::test::new::{{closure}}::ha0e58c8b5f569717
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core/container.rs:565:13
[INFO] [stdout]   22:     0x558a80c577f6 - core::ops::function::FnOnce::call_once::he003d24f225765f5
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x558a80ca555f - core::ops::function::FnOnce::call_once::h8dc6907944022cf6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x558a80ca555f - test::__rust_begin_short_backtrace::haae1a87433f1efb3
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:627:18
[INFO] [stdout]   25:     0x558a80ca42e1 - test::run_test_in_process::{{closure}}::h8c7decfa7c14e152
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:60
[INFO] [stdout]   26:     0x558a80ca42e1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h19e6ff056d9d21e9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x558a80ca42e1 - std::panicking::try::do_call::h89c848fcaa37c035
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   28:     0x558a80ca42e1 - std::panicking::try::h57ab3dc74e2839b8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   29:     0x558a80ca42e1 - std::panic::catch_unwind::hfb6a1b1abc120fb9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   30:     0x558a80ca42e1 - test::run_test_in_process::h5ae2f9875edd562d
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:27
[INFO] [stdout]   31:     0x558a80ca42e1 - test::run_test::{{closure}}::h35d7300d8928a067
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:573:43
[INFO] [stdout]   32:     0x558a80c6b616 - test::run_test::{{closure}}::h7525ced405d23d1b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:601:41
[INFO] [stdout]   33:     0x558a80c6b616 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e7db78ce05afad8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   34:     0x558a80c70677 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcfbcb64f1a1b3482
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   35:     0x558a80c70677 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9d89c5c4108bd689
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x558a80c70677 - std::panicking::try::do_call::h8a4869bc94ec50c9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   37:     0x558a80c70677 - std::panicking::try::h9a576f20ff81ac30
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   38:     0x558a80c70677 - std::panic::catch_unwind::hbcb4e3f860ef9830
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   39:     0x558a80c70677 - std::thread::Builder::spawn_unchecked_::{{closure}}::h93c79a6be1505948
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   40:     0x558a80c70677 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h426d96740c81bdaf
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x558a80cd5ea5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   42:     0x558a80cd5ea5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x558a80cd5ea5 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f417344aac3 - <unknown>
[INFO] [stdout]   45:     0x7f41734dbbf4 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     core::container::test::new
[INFO] [stdout]     libx::test::test_open
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "c7740aa3f216353613188dc8f124dc2c00d0aa820c8f4e3d6fb40b0279c1de1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7740aa3f216353613188dc8f124dc2c00d0aa820c8f4e3d6fb40b0279c1de1d", kill_on_drop: false }`
[INFO] [stdout] c7740aa3f216353613188dc8f124dc2c00d0aa820c8f4e3d6fb40b0279c1de1d
[INFO] testing lutianming/rustile against beta-2024-02-10 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flutianming%2Frustile" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lutianming/rustile on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/lutianming/rustile
[INFO] finished tweaking git repo https://github.com/lutianming/rustile
[INFO] tweaked toml for git repo https://github.com/lutianming/rustile written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/lutianming/rustile 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" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (x11) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5fa141c90a8a56b70adad6b736c30498e9c278dcb7f3364b105e6521eaecdf91
[INFO] running `Command { std: "docker" "start" "-a" "5fa141c90a8a56b70adad6b736c30498e9c278dcb7f3364b105e6521eaecdf91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5fa141c90a8a56b70adad6b736c30498e9c278dcb7f3364b105e6521eaecdf91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fa141c90a8a56b70adad6b736c30498e9c278dcb7f3364b105e6521eaecdf91", kill_on_drop: false }`
[INFO] [stdout] 5fa141c90a8a56b70adad6b736c30498e9c278dcb7f3364b105e6521eaecdf91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2740c48d061ac52eb9282c04cb62162113a5a7972d6ef0cfb42df77f1898fde0
[INFO] running `Command { std: "docker" "start" "-a" "2740c48d061ac52eb9282c04cb62162113a5a7972d6ef0cfb42df77f1898fde0", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (x11) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling libc v0.1.8
[INFO] [stderr]    Compiling pkg-config v0.3.4
[INFO] [stderr]    Compiling regex-syntax v0.1.2
[INFO] [stderr]    Compiling log v0.3.1
[INFO] [stderr]    Compiling x11 v1.1.1
[INFO] [stderr]    Compiling regex v0.1.33
[INFO] [stderr]    Compiling env_logger v0.3.1
[INFO] [stderr]    Compiling rustile v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `x11::xlib::Window`
[INFO] [stdout]  --> src/core/window_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use x11::xlib::Window;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Lines`
[INFO] [stdout]  --> src/core/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]   --> src/core/config.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ffi;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/core/config.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::WindowManager`
[INFO] [stdout]  --> src/core/handler.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::WindowManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]   --> src/core/handler.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | use super::super::libx::{self, Context};
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/core/layout.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]  --> src/core/layout.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ffi;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/layout.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/layout.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::container::{self, Container};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/core/layout.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |         decorate(client, id==focus_id);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/libx/mod.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/libx/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/core/handler.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<dyn FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/window_manager.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/core/window_manager.rs:16:61
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]   --> src/core/window_manager.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let root = context.root;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/core/window_manager.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let p = setlocale(6, s);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let res = xlib::XSupportsLocale();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let res = xlib::XSetLocaleModifiers(s);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/window_manager.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn load_resource(mut context: &mut libx::Context) {
[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/core/window_manager.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut values: xlib::XGCValues = unsafe{ mem::zeroed() };
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let mut wm = WindowManager {
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |             let mask = 0x420010;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/core/window_manager.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let s = libx::get_atom_name(self.context, event.message_type);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]    --> src/core/window_manager.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub fn handle_button_motion(&mut self, event: &xlib::XMotionEvent) {
[INFO] [stdout]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/core/window_manager.rs:250:45
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/window_manager.rs:250:52
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/core/window_manager.rs:250:55
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let usertime = libx::get_atom(self.context, "_NET_WM_USER_TIME");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |             usertime => {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:314:13
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:390:21
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 let mut event: xlib::XMotionEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:395:21
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:399:21
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:406:21
[INFO] [stdout]     |
[INFO] [stdout] 406 |                 let mut event: xlib::XConfigureRequestEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:417:21
[INFO] [stdout]     |
[INFO] [stdout] 417 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:421:21
[INFO] [stdout]     |
[INFO] [stdout] 421 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:425:21
[INFO] [stdout]     |
[INFO] [stdout] 425 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 let mut event: xlib::XPropertyEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |             let mut e = libx::next_event(self.context);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:452:13
[INFO] [stdout]     |
[INFO] [stdout] 452 |         let mask = 0x1A0034;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |                         Err(err) => {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Err(err) => {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/config.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let mut cmd = build_cmd(args);
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workspaces`
[INFO] [stdout]   --> src/core/handler.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/layout.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/layout.rs:164:10
[INFO] [stdout]     |
[INFO] [stdout] 164 |     for (i, client) in container.clients.iter_mut().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for (k, workspace) in self.spaces.iter_mut() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |             Some((k, c)) => {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/container.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         for i in 0..indent {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let mut a = self.clients.get_mut(index).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 let mut b = self.clients.get_mut(neighbor).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/container.rs:427:14
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let (x, _) = libx::get_input_focus(self.context);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/core/container.rs:432:21
[INFO] [stdout]     |
[INFO] [stdout] 432 |         if let Some(p) = self.get_parent() {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gc`
[INFO] [stdout]   --> src/core/taskbar.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let gc = context.gc;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/taskbar.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let display = context.display;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/taskbar.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/core/taskbar.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             unsafe{
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/libx/mod.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `root` is assigned to, but never used
[INFO] [stdout]    --> src/libx/mod.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let mut root = 0;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_root` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `root` is never read
[INFO] [stdout]    --> src/libx/mod.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |                     root = r;
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer_root`
[INFO] [stdout]    --> src/libx/mod.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |     let pointer_root = 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]    --> src/libx/mod.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |     let parent = 2;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/libx/mod.rs:368:13
[INFO] [stdout]     |
[INFO] [stdout] 368 |         let s = xlib::XGetInputFocus(context.display, &mut window, &mut revert_to);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/libx/mod.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/libx/mod.rs:446:9
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let status: *mut xlib::XComposeStatus = ptr::null_mut();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/libx/mod.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |         let r = xlib::XParseColor(display, cmap, cname, &mut color);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWX` is never used
[INFO] [stdout]   --> src/core/layout.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const CWX: libc::c_uint = 1<<0;
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWY` is never used
[INFO] [stdout]   --> src/core/layout.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const CWY: libc::c_uint = 1<<1;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` is never used
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_window_property` is never used
[INFO] [stdout]    --> src/libx/mod.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn get_window_property(context: Context, window: Window, atom: xlib::Atom) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:63:48
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let s = ffi::CString::new("").unwrap().as_ptr();
[INFO] [stdout]    |                 ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:73:57
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let fontbase = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]    |                        -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/config.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     cmd.spawn();
[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] 86 |                     let _ = cmd.spawn();
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/handler.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[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] 56 |     Box::new(move |workspaces| {let _ = cmd.spawn();})
[INFO] [stdout]    |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `border` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const border: u32 = 1;
[INFO] [stdout]    |       ^^^^^^ help: convert the identifier to upper case: `BORDER`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:12
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:42
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:352:20
[INFO] [stdout]     |
[INFO] [stdout] 352 |                 if last < 0 {
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:517:54
[INFO] [stdout]     |
[INFO] [stdout] 517 |         let cname = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]     |                     -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:527:58
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:540:58
[INFO] [stdout]     |
[INFO] [stdout] 540 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 102 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "2740c48d061ac52eb9282c04cb62162113a5a7972d6ef0cfb42df77f1898fde0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2740c48d061ac52eb9282c04cb62162113a5a7972d6ef0cfb42df77f1898fde0", kill_on_drop: false }`
[INFO] [stdout] 2740c48d061ac52eb9282c04cb62162113a5a7972d6ef0cfb42df77f1898fde0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9891bb7bc7108eead4489a1710858ec1df117cd937aee3d46eb1af856487f03a
[INFO] running `Command { std: "docker" "start" "-a" "9891bb7bc7108eead4489a1710858ec1df117cd937aee3d46eb1af856487f03a", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (x11) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stdout] warning: unused import: `x11::xlib::Window`
[INFO] [stdout]  --> src/core/window_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use x11::xlib::Window;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Lines`
[INFO] [stdout]  --> src/core/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]   --> src/core/config.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ffi;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/core/config.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::WindowManager`
[INFO] [stdout]  --> src/core/handler.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::WindowManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]   --> src/core/handler.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | use super::super::libx::{self, Context};
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/core/layout.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]  --> src/core/layout.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ffi;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/layout.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/layout.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::container::{self, Container};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/core/layout.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |         decorate(client, id==focus_id);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/libx/mod.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/libx/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/core/handler.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<dyn FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/window_manager.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/core/window_manager.rs:16:61
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]   --> src/core/window_manager.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let root = context.root;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/core/window_manager.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let p = setlocale(6, s);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let res = xlib::XSupportsLocale();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let res = xlib::XSetLocaleModifiers(s);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/window_manager.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn load_resource(mut context: &mut libx::Context) {
[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/core/window_manager.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut values: xlib::XGCValues = unsafe{ mem::zeroed() };
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let mut wm = WindowManager {
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |             let mask = 0x420010;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/core/window_manager.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let s = libx::get_atom_name(self.context, event.message_type);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]    --> src/core/window_manager.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub fn handle_button_motion(&mut self, event: &xlib::XMotionEvent) {
[INFO] [stdout]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/core/window_manager.rs:250:45
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/window_manager.rs:250:52
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/core/window_manager.rs:250:55
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let usertime = libx::get_atom(self.context, "_NET_WM_USER_TIME");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |             usertime => {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:314:13
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:390:21
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 let mut event: xlib::XMotionEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:395:21
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:399:21
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:406:21
[INFO] [stdout]     |
[INFO] [stdout] 406 |                 let mut event: xlib::XConfigureRequestEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:417:21
[INFO] [stdout]     |
[INFO] [stdout] 417 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:421:21
[INFO] [stdout]     |
[INFO] [stdout] 421 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:425:21
[INFO] [stdout]     |
[INFO] [stdout] 425 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 let mut event: xlib::XPropertyEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |             let mut e = libx::next_event(self.context);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:452:13
[INFO] [stdout]     |
[INFO] [stdout] 452 |         let mask = 0x1A0034;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |                         Err(err) => {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Err(err) => {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/config.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let mut cmd = build_cmd(args);
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workspaces`
[INFO] [stdout]   --> src/core/handler.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/layout.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/layout.rs:164:10
[INFO] [stdout]     |
[INFO] [stdout] 164 |     for (i, client) in container.clients.iter_mut().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for (k, workspace) in self.spaces.iter_mut() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |             Some((k, c)) => {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/container.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         for i in 0..indent {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let mut a = self.clients.get_mut(index).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 let mut b = self.clients.get_mut(neighbor).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/container.rs:427:14
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let (x, _) = libx::get_input_focus(self.context);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/core/container.rs:432:21
[INFO] [stdout]     |
[INFO] [stdout] 432 |         if let Some(p) = self.get_parent() {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gc`
[INFO] [stdout]   --> src/core/taskbar.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let gc = context.gc;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/taskbar.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let display = context.display;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/taskbar.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/core/taskbar.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             unsafe{
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/libx/mod.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `root` is assigned to, but never used
[INFO] [stdout]    --> src/libx/mod.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let mut root = 0;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_root` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `root` is never read
[INFO] [stdout]    --> src/libx/mod.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |                     root = r;
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer_root`
[INFO] [stdout]    --> src/libx/mod.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |     let pointer_root = 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]    --> src/libx/mod.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |     let parent = 2;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/libx/mod.rs:368:13
[INFO] [stdout]     |
[INFO] [stdout] 368 |         let s = xlib::XGetInputFocus(context.display, &mut window, &mut revert_to);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/libx/mod.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/libx/mod.rs:446:9
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let status: *mut xlib::XComposeStatus = ptr::null_mut();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/libx/mod.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |         let r = xlib::XParseColor(display, cmap, cname, &mut color);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWX` is never used
[INFO] [stdout]   --> src/core/layout.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const CWX: libc::c_uint = 1<<0;
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWY` is never used
[INFO] [stdout]   --> src/core/layout.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const CWY: libc::c_uint = 1<<1;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` is never used
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_window_property` is never used
[INFO] [stdout]    --> src/libx/mod.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn get_window_property(context: Context, window: Window, atom: xlib::Atom) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:63:48
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let s = ffi::CString::new("").unwrap().as_ptr();
[INFO] [stdout]    |                 ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:73:57
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let fontbase = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]    |                        -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/config.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     cmd.spawn();
[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] 86 |                     let _ = cmd.spawn();
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/handler.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[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] 56 |     Box::new(move |workspaces| {let _ = cmd.spawn();})
[INFO] [stdout]    |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `border` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const border: u32 = 1;
[INFO] [stdout]    |       ^^^^^^ help: convert the identifier to upper case: `BORDER`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:12
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:42
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:352:20
[INFO] [stdout]     |
[INFO] [stdout] 352 |                 if last < 0 {
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:517:54
[INFO] [stdout]     |
[INFO] [stdout] 517 |         let cname = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]     |                     -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:527:58
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:540:58
[INFO] [stdout]     |
[INFO] [stdout] 540 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 102 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rustile v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `x11::xlib::Window`
[INFO] [stdout]  --> src/core/window_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use x11::xlib::Window;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Lines`
[INFO] [stdout]  --> src/core/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]   --> src/core/config.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ffi;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/core/config.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::WindowManager`
[INFO] [stdout]  --> src/core/handler.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::WindowManager;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]   --> src/core/handler.rs:13:32
[INFO] [stdout]    |
[INFO] [stdout] 13 | use super::super::libx::{self, Context};
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/core/layout.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi`
[INFO] [stdout]  --> src/core/layout.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ffi;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/core/layout.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/layout.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::container::{self, Container};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/core/layout.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |         decorate(client, id==focus_id);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::super::super::libx`
[INFO] [stdout]    --> src/core/container.rs:552:9
[INFO] [stdout]     |
[INFO] [stdout] 552 |     use super::super::super::libx;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/libx/mod.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::boxed::Box`
[INFO] [stdout]   --> src/libx/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::boxed::Box;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/core/handler.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type HandleFn = Box<dyn FnMut(&mut Workspaces)>;
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/window_manager.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/core/window_manager.rs:16:61
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stdout]    |                                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]   --> src/core/window_manager.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let root = context.root;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/core/window_manager.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let p = setlocale(6, s);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let res = xlib::XSupportsLocale();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/core/window_manager.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let res = xlib::XSetLocaleModifiers(s);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/window_manager.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn load_resource(mut context: &mut libx::Context) {
[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/core/window_manager.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut values: xlib::XGCValues = unsafe{ mem::zeroed() };
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let mut wm = WindowManager {
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |             let mask = 0x420010;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/core/window_manager.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let s = libx::get_atom_name(self.context, event.message_type);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]    --> src/core/window_manager.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub fn handle_button_motion(&mut self, event: &xlib::XMotionEvent) {
[INFO] [stdout]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/core/window_manager.rs:250:45
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/window_manager.rs:250:52
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/core/window_manager.rs:250:55
[INFO] [stdout]     |
[INFO] [stdout] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stdout]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let usertime = libx::get_atom(self.context, "_NET_WM_USER_TIME");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usertime`
[INFO] [stdout]    --> src/core/window_manager.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |             usertime => {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:314:13
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:390:21
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 let mut event: xlib::XMotionEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:395:21
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:399:21
[INFO] [stdout]     |
[INFO] [stdout] 399 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:406:21
[INFO] [stdout]     |
[INFO] [stdout] 406 |                 let mut event: xlib::XConfigureRequestEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:417:21
[INFO] [stdout]     |
[INFO] [stdout] 417 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:421:21
[INFO] [stdout]     |
[INFO] [stdout] 421 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:425:21
[INFO] [stdout]     |
[INFO] [stdout] 425 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:430:21
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 let mut event: xlib::XPropertyEvent = From::from(e);
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/window_manager.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |             let mut e = libx::next_event(self.context);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]    --> src/core/window_manager.rs:452:13
[INFO] [stdout]     |
[INFO] [stdout] 452 |         let mask = 0x1A0034;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |                         Err(err) => {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/core/config.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Err(err) => {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/config.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let mut cmd = build_cmd(args);
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workspaces`
[INFO] [stdout]   --> src/core/handler.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/layout.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/layout.rs:164:10
[INFO] [stdout]     |
[INFO] [stdout] 164 |     for (i, client) in container.clients.iter_mut().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for (k, workspace) in self.spaces.iter_mut() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/core/workspaces.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |             Some((k, c)) => {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/core/container.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         for i in 0..indent {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 let mut a = self.clients.get_mut(index).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 let mut b = self.clients.get_mut(neighbor).unwrap();
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/core/container.rs:427:14
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let (x, _) = libx::get_input_focus(self.context);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]    --> src/core/container.rs:432:21
[INFO] [stdout]     |
[INFO] [stdout] 432 |         if let Some(p) = self.get_parent() {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/container.rs:566:13
[INFO] [stdout]     |
[INFO] [stdout] 566 |         let mut wm = init();
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gc`
[INFO] [stdout]   --> src/core/taskbar.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let gc = context.gc;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/core/taskbar.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let display = context.display;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boundingbox`
[INFO] [stdout]   --> src/core/taskbar.rs:84:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/core/taskbar.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             unsafe{
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/libx/mod.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `root` is assigned to, but never used
[INFO] [stdout]    --> src/libx/mod.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let mut root = 0;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_root` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `root` is never read
[INFO] [stdout]    --> src/libx/mod.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |                     root = r;
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer_root`
[INFO] [stdout]    --> src/libx/mod.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |     let pointer_root = 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]    --> src/libx/mod.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |     let parent = 2;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/libx/mod.rs:368:13
[INFO] [stdout]     |
[INFO] [stdout] 368 |         let s = xlib::XGetInputFocus(context.display, &mut window, &mut revert_to);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/libx/mod.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut change = xlib::XWindowChanges {
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/libx/mod.rs:446:9
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let status: *mut xlib::XComposeStatus = ptr::null_mut();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/libx/mod.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |         let r = xlib::XParseColor(display, cmap, cname, &mut color);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWX` is never used
[INFO] [stdout]   --> src/core/layout.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const CWX: libc::c_uint = 1<<0;
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWY` is never used
[INFO] [stdout]   --> src/core/layout.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const CWY: libc::c_uint = 1<<1;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` is never used
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clean` is never used
[INFO] [stdout]    --> src/core/container.rs:560:8
[INFO] [stdout]     |
[INFO] [stdout] 560 |     fn clean() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` is never used
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` is never used
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` is never used
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_window_property` is never used
[INFO] [stdout]    --> src/libx/mod.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn get_window_property(context: Context, window: Window, atom: xlib::Atom) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:63:48
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let s = ffi::CString::new("").unwrap().as_ptr();
[INFO] [stdout]    |                 ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/core/window_manager.rs:73:57
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let fontbase = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]    |                        -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/config.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     cmd.spawn();
[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] 86 |                     let _ = cmd.spawn();
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/core/config.rs:231:40
[INFO] [stdout]     |
[INFO] [stdout] 231 |     assert!(bindsyms.contains_key(&c), true);
[INFO] [stdout]     |                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 231 |     assert!(bindsyms.contains_key(&c), "{}", true);
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/handler.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[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] 56 |     Box::new(move |workspaces| {let _ = cmd.spawn();})
[INFO] [stdout]    |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `border` should have an upper case name
[INFO] [stdout]   --> src/core/layout.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const border: u32 = 1;
[INFO] [stdout]    |       ^^^^^^ help: convert the identifier to upper case: `BORDER`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:12
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:280:42
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/container.rs:352:20
[INFO] [stdout]     |
[INFO] [stdout] 352 |                 if last < 0 {
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stdout]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWHeight` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWSibling` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stdout]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CWStackMode` should have an upper case name
[INFO] [stdout]   --> src/libx/mod.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stdout]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:517:54
[INFO] [stdout]     |
[INFO] [stdout] 517 |         let cname = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stdout]     |                     -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:527:58
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/libx/mod.rs:540:58
[INFO] [stdout]     |
[INFO] [stdout] 540 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stdout]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 106 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.62s
[INFO] running `Command { std: "docker" "inspect" "9891bb7bc7108eead4489a1710858ec1df117cd937aee3d46eb1af856487f03a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9891bb7bc7108eead4489a1710858ec1df117cd937aee3d46eb1af856487f03a", kill_on_drop: false }`
[INFO] [stdout] 9891bb7bc7108eead4489a1710858ec1df117cd937aee3d46eb1af856487f03a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fbd32f18299e107aaf0df9b3d1da1b8783424dc4dfda603177dc2db944474d32
[INFO] running `Command { std: "docker" "start" "-a" "fbd32f18299e107aaf0df9b3d1da1b8783424dc4dfda603177dc2db944474d32", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (x11) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused import: `x11::xlib::Window`
[INFO] [stderr]  --> src/core/window_manager.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use x11::xlib::Window;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::Lines`
[INFO] [stderr]  --> src/core/config.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::io::Lines;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ffi`
[INFO] [stderr]   --> src/core/config.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::ffi;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::boxed::Box`
[INFO] [stderr]   --> src/core/config.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::boxed::Box;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ptr`
[INFO] [stderr]  --> src/core/handler.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::ptr;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::WindowManager`
[INFO] [stderr]  --> src/core/handler.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use super::WindowManager;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Context`
[INFO] [stderr]   --> src/core/handler.rs:13:32
[INFO] [stderr]    |
[INFO] [stderr] 13 | use super::super::libx::{self, Context};
[INFO] [stderr]    |                                ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::mem`
[INFO] [stderr]  --> src/core/layout.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::mem;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ffi`
[INFO] [stderr]  --> src/core/layout.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::ffi;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ptr`
[INFO] [stderr]  --> src/core/layout.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::ptr;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/core/layout.rs:9:24
[INFO] [stderr]   |
[INFO] [stderr] 9 | use super::container::{self, Container};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/core/layout.rs:188:40
[INFO] [stderr]     |
[INFO] [stderr] 188 |         decorate(client, id==focus_id);;
[INFO] [stderr]     |                                        ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unknown lint: `unstable`
[INFO] [stderr]  --> src/libx/mod.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #![allow(unstable)]
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::boxed::Box`
[INFO] [stderr]   --> src/libx/mod.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::boxed::Box;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/core/handler.rs:53:25
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub type HandleFn = Box<FnMut(&mut Workspaces)>;
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub type HandleFn = Box<dyn FnMut(&mut Workspaces)>;
[INFO] [stderr]    |                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `display`
[INFO] [stderr]   --> src/core/window_manager.rs:16:32
[INFO] [stderr]    |
[INFO] [stderr] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stderr]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `event`
[INFO] [stderr]   --> src/core/window_manager.rs:16:61
[INFO] [stderr]    |
[INFO] [stderr] 16 | unsafe extern fn error_handler(display: *mut xlib::Display, event: *mut xlib::XErrorEvent) -> libc::c_int {
[INFO] [stderr]    |                                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `root`
[INFO] [stderr]   --> src/core/window_manager.rs:35:9
[INFO] [stderr]    |
[INFO] [stderr] 35 |     let root = context.root;
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]   --> src/core/window_manager.rs:64:13
[INFO] [stderr]    |
[INFO] [stderr] 64 |         let p = setlocale(6, s);
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `res`
[INFO] [stderr]   --> src/core/window_manager.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let res = xlib::XSupportsLocale();
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `res`
[INFO] [stderr]   --> src/core/window_manager.rs:66:13
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let res = xlib::XSetLocaleModifiers(s);
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/core/window_manager.rs:31:18
[INFO] [stderr]    |
[INFO] [stderr] 31 | fn load_resource(mut context: &mut libx::Context) {
[INFO] [stderr]    |                  ----^^^^^^^
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/core/window_manager.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let mut values: xlib::XGCValues = unsafe{ mem::zeroed() };
[INFO] [stderr]    |         ----^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:113:6
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let mut wm = WindowManager {
[INFO] [stderr]     |         ----^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mask`
[INFO] [stderr]    --> src/core/window_manager.rs:177:17
[INFO] [stderr]     |
[INFO] [stderr] 177 |             let mask = 0x420010;
[INFO] [stderr]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]    --> src/core/window_manager.rs:193:13
[INFO] [stderr]     |
[INFO] [stderr] 193 |         let s = libx::get_atom_name(self.context, event.message_type);
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `event`
[INFO] [stderr]    --> src/core/window_manager.rs:222:44
[INFO] [stderr]     |
[INFO] [stderr] 222 |     pub fn handle_button_motion(&mut self, event: &xlib::XMotionEvent) {
[INFO] [stderr]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]    --> src/core/window_manager.rs:250:45
[INFO] [stderr]     |
[INFO] [stderr] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stderr]     |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/core/window_manager.rs:250:52
[INFO] [stderr]     |
[INFO] [stderr] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stderr]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]    --> src/core/window_manager.rs:250:55
[INFO] [stderr]     |
[INFO] [stderr] 250 |                     container::Mode::Resize(index, x, y) => {
[INFO] [stderr]     |                                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `usertime`
[INFO] [stderr]    --> src/core/window_manager.rs:305:13
[INFO] [stderr]     |
[INFO] [stderr] 305 |         let usertime = libx::get_atom(self.context, "_NET_WM_USER_TIME");
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `usertime`
[INFO] [stderr]    --> src/core/window_manager.rs:307:13
[INFO] [stderr]     |
[INFO] [stderr] 307 |             usertime => {
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usertime`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:314:13
[INFO] [stderr]     |
[INFO] [stderr] 314 |         let mut change = xlib::XWindowChanges {
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:390:21
[INFO] [stderr]     |
[INFO] [stderr] 390 |                 let mut event: xlib::XMotionEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:395:21
[INFO] [stderr]     |
[INFO] [stderr] 395 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:399:21
[INFO] [stderr]     |
[INFO] [stderr] 399 |                 let mut event: xlib::XButtonEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:406:21
[INFO] [stderr]     |
[INFO] [stderr] 406 |                 let mut event: xlib::XConfigureRequestEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:411:21
[INFO] [stderr]     |
[INFO] [stderr] 411 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:417:21
[INFO] [stderr]     |
[INFO] [stderr] 417 |                 let mut event: xlib::XFocusChangeEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:421:21
[INFO] [stderr]     |
[INFO] [stderr] 421 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:425:21
[INFO] [stderr]     |
[INFO] [stderr] 425 |                 let mut event: xlib::XCrossingEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:430:21
[INFO] [stderr]     |
[INFO] [stderr] 430 |                 let mut event: xlib::XPropertyEvent = From::from(e);
[INFO] [stderr]     |                     ----^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/window_manager.rs:442:17
[INFO] [stderr]     |
[INFO] [stderr] 442 |             let mut e = libx::next_event(self.context);
[INFO] [stderr]     |                 ----^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mask`
[INFO] [stderr]    --> src/core/window_manager.rs:452:13
[INFO] [stderr]     |
[INFO] [stderr] 452 |         let mask = 0x1A0034;
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/core/config.rs:60:29
[INFO] [stderr]    |
[INFO] [stderr] 60 |                         Err(err) => {
[INFO] [stderr]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/core/config.rs:66:17
[INFO] [stderr]    |
[INFO] [stderr] 66 |             Err(err) => {
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/config.rs:108:21
[INFO] [stderr]     |
[INFO] [stderr] 108 |                 let mut cmd = build_cmd(args);
[INFO] [stderr]     |                     ----^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `workspaces`
[INFO] [stderr]   --> src/core/handler.rs:56:20
[INFO] [stderr]    |
[INFO] [stderr] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[INFO] [stderr]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspaces`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `boundingbox`
[INFO] [stderr]   --> src/core/layout.rs:93:18
[INFO] [stderr]    |
[INFO] [stderr] 93 |             let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stderr]    |                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/core/layout.rs:164:10
[INFO] [stderr]     |
[INFO] [stderr] 164 |     for (i, client) in container.clients.iter_mut().enumerate() {
[INFO] [stderr]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]    --> src/core/workspaces.rs:167:14
[INFO] [stderr]     |
[INFO] [stderr] 167 |         for (k, workspace) in self.spaces.iter_mut() {
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]    --> src/core/workspaces.rs:192:19
[INFO] [stderr]     |
[INFO] [stderr] 192 |             Some((k, c)) => {
[INFO] [stderr]     |                   ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/core/container.rs:102:13
[INFO] [stderr]     |
[INFO] [stderr] 102 |         for i in 0..indent {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/container.rs:290:21
[INFO] [stderr]     |
[INFO] [stderr] 290 |                 let mut a = self.clients.get_mut(index).unwrap();
[INFO] [stderr]     |                     ----^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/container.rs:294:21
[INFO] [stderr]     |
[INFO] [stderr] 294 |                 let mut b = self.clients.get_mut(neighbor).unwrap();
[INFO] [stderr]     |                     ----^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/core/container.rs:427:14
[INFO] [stderr]     |
[INFO] [stderr] 427 |         let (x, _) = libx::get_input_focus(self.context);
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]    --> src/core/container.rs:432:21
[INFO] [stderr]     |
[INFO] [stderr] 432 |         if let Some(p) = self.get_parent() {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `gc`
[INFO] [stderr]   --> src/core/taskbar.rs:55:13
[INFO] [stderr]    |
[INFO] [stderr] 55 |         let gc = context.gc;
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `display`
[INFO] [stderr]   --> src/core/taskbar.rs:56:13
[INFO] [stderr]    |
[INFO] [stderr] 56 |         let display = context.display;
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `boundingbox`
[INFO] [stderr]   --> src/core/taskbar.rs:84:22
[INFO] [stderr]    |
[INFO] [stderr] 84 |                 let (boundingbox, dummy) = libx::text_extents(context, s.clone());
[INFO] [stderr]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundingbox`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/core/taskbar.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 62 |             unsafe{
[INFO] [stderr]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/libx/mod.rs:184:21
[INFO] [stderr]     |
[INFO] [stderr] 184 |                 Err(e) => {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `root` is assigned to, but never used
[INFO] [stderr]    --> src/libx/mod.rs:273:13
[INFO] [stderr]     |
[INFO] [stderr] 273 |     let mut root = 0;
[INFO] [stderr]     |             ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_root` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `root` is never read
[INFO] [stderr]    --> src/libx/mod.rs:285:21
[INFO] [stderr]     |
[INFO] [stderr] 285 |                     root = r;
[INFO] [stderr]     |                     ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pointer_root`
[INFO] [stderr]    --> src/libx/mod.rs:355:9
[INFO] [stderr]     |
[INFO] [stderr] 355 |     let pointer_root = 1;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer_root`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `parent`
[INFO] [stderr]    --> src/libx/mod.rs:356:9
[INFO] [stderr]     |
[INFO] [stderr] 356 |     let parent = 2;
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]    --> src/libx/mod.rs:368:13
[INFO] [stderr]     |
[INFO] [stderr] 368 |         let s = xlib::XGetInputFocus(context.display, &mut window, &mut revert_to);
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/libx/mod.rs:389:9
[INFO] [stderr]     |
[INFO] [stderr] 389 |     let mut change = xlib::XWindowChanges {
[INFO] [stderr]     |         ----^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `status`
[INFO] [stderr]    --> src/libx/mod.rs:446:9
[INFO] [stderr]     |
[INFO] [stderr] 446 |     let status: *mut xlib::XComposeStatus = ptr::null_mut();
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> src/libx/mod.rs:518:13
[INFO] [stderr]     |
[INFO] [stderr] 518 |         let r = xlib::XParseColor(display, cmap, cname, &mut color);
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWX` is never used
[INFO] [stderr]   --> src/core/layout.rs:12:7
[INFO] [stderr]    |
[INFO] [stderr] 12 | const CWX: libc::c_uint = 1<<0;
[INFO] [stderr]    |       ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWY` is never used
[INFO] [stderr]   --> src/core/layout.rs:13:7
[INFO] [stderr]    |
[INFO] [stderr] 13 | const CWY: libc::c_uint = 1<<1;
[INFO] [stderr]    |       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWWidth` is never used
[INFO] [stderr]   --> src/core/layout.rs:14:7
[INFO] [stderr]    |
[INFO] [stderr] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stderr]    |       ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWHeight` is never used
[INFO] [stderr]   --> src/core/layout.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stderr]    |       ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWBorderWidth` is never used
[INFO] [stderr]   --> src/core/layout.rs:16:7
[INFO] [stderr]    |
[INFO] [stderr] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stderr]    |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWSibling` is never used
[INFO] [stderr]   --> src/core/layout.rs:17:7
[INFO] [stderr]    |
[INFO] [stderr] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWStackMode` is never used
[INFO] [stderr]   --> src/core/layout.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWBorderWidth` is never used
[INFO] [stderr]   --> src/libx/mod.rs:21:7
[INFO] [stderr]    |
[INFO] [stderr] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stderr]    |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWSibling` is never used
[INFO] [stderr]   --> src/libx/mod.rs:22:7
[INFO] [stderr]    |
[INFO] [stderr] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWStackMode` is never used
[INFO] [stderr]   --> src/libx/mod.rs:23:7
[INFO] [stderr]    |
[INFO] [stderr] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_window_property` is never used
[INFO] [stderr]    --> src/libx/mod.rs:234:4
[INFO] [stderr]     |
[INFO] [stderr] 234 | fn get_window_property(context: Context, window: Window, atom: xlib::Atom) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/core/window_manager.rs:63:48
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let s = ffi::CString::new("").unwrap().as_ptr();
[INFO] [stderr]    |                 ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/core/window_manager.rs:73:57
[INFO] [stderr]    |
[INFO] [stderr] 73 |         let fontbase = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stderr]    |                        -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/core/config.rs:86:21
[INFO] [stderr]    |
[INFO] [stderr] 86 |                     cmd.spawn();
[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)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 86 |                     let _ = cmd.spawn();
[INFO] [stderr]    |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/core/handler.rs:56:33
[INFO] [stderr]    |
[INFO] [stderr] 56 |     Box::new(move |workspaces| {cmd.spawn();})
[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] 56 |     Box::new(move |workspaces| {let _ = cmd.spawn();})
[INFO] [stderr]    |                                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWWidth` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:14:7
[INFO] [stderr]    |
[INFO] [stderr] 14 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stderr]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWHeight` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stderr]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:16:7
[INFO] [stderr]    |
[INFO] [stderr] 16 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stderr]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWSibling` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:17:7
[INFO] [stderr]    |
[INFO] [stderr] 17 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stderr]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWStackMode` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stderr]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `border` should have an upper case name
[INFO] [stderr]   --> src/core/layout.rs:20:7
[INFO] [stderr]    |
[INFO] [stderr] 20 | const border: u32 = 1;
[INFO] [stderr]    |       ^^^^^^ help: convert the identifier to upper case: `BORDER`
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/core/container.rs:280:12
[INFO] [stderr]     |
[INFO] [stderr] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/core/container.rs:280:42
[INFO] [stderr]     |
[INFO] [stderr] 280 |         if index >= 0 && index < size && neighbor >= 0 && neighbor < size {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/core/container.rs:352:20
[INFO] [stderr]     |
[INFO] [stderr] 352 |                 if last < 0 {
[INFO] [stderr]     |                    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWWidth` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:19:7
[INFO] [stderr]    |
[INFO] [stderr] 19 | const CWWidth: libc::c_uint = 1<<2;
[INFO] [stderr]    |       ^^^^^^^ help: convert the identifier to upper case: `CWWIDTH`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWHeight` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:20:7
[INFO] [stderr]    |
[INFO] [stderr] 20 | const CWHeight: libc::c_uint = 1<<3;
[INFO] [stderr]    |       ^^^^^^^^ help: convert the identifier to upper case: `CWHEIGHT`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWBorderWidth` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:21:7
[INFO] [stderr]    |
[INFO] [stderr] 21 | const CWBorderWidth: libc::c_uint = 1<<4;
[INFO] [stderr]    |       ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CWBORDER_WIDTH`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWSibling` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:22:7
[INFO] [stderr]    |
[INFO] [stderr] 22 | const CWSibling: libc::c_uint =    1<<5;
[INFO] [stderr]    |       ^^^^^^^^^ help: convert the identifier to upper case: `CWSIBLING`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CWStackMode` should have an upper case name
[INFO] [stderr]   --> src/libx/mod.rs:23:7
[INFO] [stderr]    |
[INFO] [stderr] 23 | const CWStackMode: libc::c_uint = 1<<6;
[INFO] [stderr]    |       ^^^^^^^^^^^ help: convert the identifier to upper case: `CWSTACK_MODE`
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/libx/mod.rs:517:54
[INFO] [stderr]     |
[INFO] [stderr] 517 |         let cname = ffi::CString::new(name).unwrap().as_ptr();
[INFO] [stderr]     |                     -------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/libx/mod.rs:527:58
[INFO] [stderr]     |
[INFO] [stderr] 527 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stderr]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/libx/mod.rs:540:58
[INFO] [stderr]     |
[INFO] [stderr] 540 |         let cstring = ffi::CString::new(string).unwrap().as_ptr();
[INFO] [stderr]     |                       ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::super::super::libx`
[INFO] [stderr]    --> src/core/container.rs:552:9
[INFO] [stderr]     |
[INFO] [stderr] 552 |     use super::super::super::libx;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/container.rs:566:13
[INFO] [stderr]     |
[INFO] [stderr] 566 |         let mut wm = init();
[INFO] [stderr]     |             ----^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: function `clean` is never used
[INFO] [stderr]    --> src/core/container.rs:560:8
[INFO] [stderr]     |
[INFO] [stderr] 560 |     fn clean() {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/core/config.rs:231:40
[INFO] [stderr]     |
[INFO] [stderr] 231 |     assert!(bindsyms.contains_key(&c), true);
[INFO] [stderr]     |                                        ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 231 |     assert!(bindsyms.contains_key(&c), "{}", true);
[INFO] [stderr]     |                                        +++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rustile` (lib) generated 102 warnings (run `cargo fix --lib -p rustile` to apply 65 suggestions)
[INFO] [stderr] warning: `rustile` (lib test) generated 106 warnings (102 duplicates) (run `cargo fix --lib -p rustile --tests` to apply 3 suggestions)
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/main.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rustile` (bin "rustile" test) generated 1 warning
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustile-9252c01ac056aa9e)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test core::config::test_map ... ok
[INFO] [stdout] test core::container::test::new ... FAILED
[INFO] [stdout] test libx::test::test_open ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- core::container::test::new stdout ----
[INFO] [stdout] thread 'core::container::test::new' panicked at src/core/window_manager.rs:105:17:
[INFO] [stdout] can't open display
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55900fa1cda6 - std::backtrace_rs::backtrace::libunwind::trace::h140b6deb6a45c671
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x55900fa1cda6 - std::backtrace_rs::backtrace::trace_unsynchronized::h8450d7e4e9219aed
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55900fa1cda6 - std::sys_common::backtrace::_print_fmt::hbd28e5e6c6fc3a3f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55900fa1cda6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb058f285768cf98e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55900fa45b30 - core::fmt::rt::Argument::fmt::h87dec7a95127da24
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x55900fa45b30 - core::fmt::write::h873f89a91a4832db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x55900fa1a59f - std::io::Write::write_fmt::h90f651e9e694a4bb
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/io/mod.rs:1846:15
[INFO] [stdout]    7:     0x55900fa1cb84 - std::sys_common::backtrace::_print::h7719d1529d9a9e13
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55900fa1cb84 - std::sys_common::backtrace::print::haa3afbd0e7947108
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55900fa1e8f7 - std::panicking::default_hook::{{closure}}::h10e3de2ec0eaff22
[INFO] [stdout]   10:     0x55900fa1e5dd - std::panicking::default_hook::hbdc1b1b7fe073dab
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x55900f9ed5d7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h20f7887d7cd0a330
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x55900f9ed5d7 - test::test_main::{{closure}}::hc125a615957b5cb1
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x55900fa1ef16 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h8c19e0590f8443c4
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x55900fa1ef16 - std::panicking::rust_panic_with_hook::hb81692602460473d
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:785:13
[INFO] [stdout]   15:     0x55900f9a53d8 - std::panicking::begin_panic::{{closure}}::h2b2cf32dba33b4fb
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:689:9
[INFO] [stdout]   16:     0x55900f99e606 - std::sys_common::backtrace::__rust_end_short_backtrace::hfcc132b546ddd051
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55900f9a5333 - std::panicking::begin_panic::h2bdecdb0de1dc797
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:688:12
[INFO] [stdout]   18:     0x55900f9a15dd - rustile::core::window_manager::WindowManager::new::h41ad463530cdf1ed
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core/window_manager.rs:105:17
[INFO] [stdout]   19:     0x55900f9b1290 - rustile::core::container::test::init::h746140579a60bc14
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core/container.rs:555:22
[INFO] [stdout]   20:     0x55900f9b1441 - rustile::core::container::test::new::h2742ce188ba81316
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core/container.rs:566:22
[INFO] [stdout]   21:     0x55900f9b1417 - rustile::core::container::test::new::{{closure}}::he6c431d81e963d5b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/core/container.rs:565:13
[INFO] [stdout]   22:     0x55900f9a9026 - core::ops::function::FnOnce::call_once::hb0e1ede3aec43577
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55900f9f31cf - core::ops::function::FnOnce::call_once::h692fe6f34484199f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55900f9f31cf - test::__rust_begin_short_backtrace::h48b62e76bd60e2de
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:621:18
[INFO] [stdout]   25:     0x55900f9f1ff1 - test::run_test_in_process::{{closure}}::h1c68597526ef43db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:60
[INFO] [stdout]   26:     0x55900f9f1ff1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hcae98092997f976b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x55900f9f1ff1 - std::panicking::try::do_call::h8d1548c2f5bb535a
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   28:     0x55900f9f1ff1 - std::panicking::try::hbb7a2054f484688e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   29:     0x55900f9f1ff1 - std::panic::catch_unwind::h696d12d9d80497c2
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   30:     0x55900f9f1ff1 - test::run_test_in_process::h053367a7217c825b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:27
[INFO] [stdout]   31:     0x55900f9f1ff1 - test::run_test::{{closure}}::hfa524e9fabcba78e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:567:43
[INFO] [stdout]   32:     0x55900f9b9456 - test::run_test::{{closure}}::h2c4d0bb741ef7f9f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:595:41
[INFO] [stdout]   33:     0x55900f9b9456 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0d2c708415550075
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   34:     0x55900f9be417 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h76e2635840d7293f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   35:     0x55900f9be417 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::haa640b67a810a214
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x55900f9be417 - std::panicking::try::do_call::h41892e3bc2807ab5
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   37:     0x55900f9be417 - std::panicking::try::h861a16d180681c80
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   38:     0x55900f9be417 - std::panic::catch_unwind::h8195f9064b1509fa
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   39:     0x55900f9be417 - std::thread::Builder::spawn_unchecked_::{{closure}}::h73cc419da1217371
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   40:     0x55900f9be417 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h79dc6499ff073b09
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x55900fa233c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha718e8cdc51a5182
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   42:     0x55900fa233c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h86072abc877c5474
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x55900fa233c5 - std::sys::pal::unix::thread::Thread::new::thread_start::hac4056197c365894
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f3d563d0ac3 - <unknown>
[INFO] [stdout]   45:     0x7f3d56461bf4 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- libx::test::test_open stdout ----
[INFO] [stdout] thread 'libx::test::test_open' panicked at src/libx/mod.rs:571:5:
[INFO] [stdout] assertion failed: display.is_some()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55900fa1cda6 - std::backtrace_rs::backtrace::libunwind::trace::h140b6deb6a45c671
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x55900fa1cda6 - std::backtrace_rs::backtrace::trace_unsynchronized::h8450d7e4e9219aed
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55900fa1cda6 - std::sys_common::backtrace::_print_fmt::hbd28e5e6c6fc3a3f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55900fa1cda6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb058f285768cf98e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55900fa45b30 - core::fmt::rt::Argument::fmt::h87dec7a95127da24
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x55900fa45b30 - core::fmt::write::h873f89a91a4832db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x55900fa1a59f - std::io::Write::write_fmt::h90f651e9e694a4bb
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/io/mod.rs:1846:15
[INFO] [stdout]    7:     0x55900fa1cb84 - std::sys_common::backtrace::_print::h7719d1529d9a9e13
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55900fa1cb84 - std::sys_common::backtrace::print::haa3afbd0e7947108
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55900fa1e8f7 - std::panicking::default_hook::{{closure}}::h10e3de2ec0eaff22
[INFO] [stdout]   10:     0x55900fa1e5dd - std::panicking::default_hook::hbdc1b1b7fe073dab
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x55900f9ed5d7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h20f7887d7cd0a330
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x55900f9ed5d7 - test::test_main::{{closure}}::hc125a615957b5cb1
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x55900fa1ef16 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h8c19e0590f8443c4
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x55900fa1ef16 - std::panicking::rust_panic_with_hook::hb81692602460473d
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:785:13
[INFO] [stdout]   15:     0x55900fa1ec29 - std::panicking::begin_panic_handler::{{closure}}::h2470593aa2678e9c
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:651:13
[INFO] [stdout]   16:     0x55900fa1d2a6 - std::sys_common::backtrace::__rust_end_short_backtrace::h560bb50225b0562b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55900fa1e9b4 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:647:5
[INFO] [stdout]   18:     0x55900f98c775 - core::panicking::panic_fmt::h29b6f262f6458dc3
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55900f98c833 - core::panicking::panic::h239eacb54d7c53ba
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panicking.rs:144:5
[INFO] [stdout]   20:     0x55900f9a824b - rustile::libx::test::test_open::h31e39bb939f06bc7
[INFO] [stdout]                                at /opt/rustwide/workdir/src/libx/mod.rs:571:5
[INFO] [stdout]   21:     0x55900f9a81e7 - rustile::libx::test::test_open::{{closure}}::hba41959f5ae7590e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/libx/mod.rs:569:15
[INFO] [stdout]   22:     0x55900f9a90c6 - core::ops::function::FnOnce::call_once::hbea8b162e142aa99
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55900f9f31cf - core::ops::function::FnOnce::call_once::h692fe6f34484199f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55900f9f31cf - test::__rust_begin_short_backtrace::h48b62e76bd60e2de
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:621:18
[INFO] [stdout]   25:     0x55900f9f1ff1 - test::run_test_in_process::{{closure}}::h1c68597526ef43db
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:60
[INFO] [stdout]   26:     0x55900f9f1ff1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hcae98092997f976b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x55900f9f1ff1 - std::panicking::try::do_call::h8d1548c2f5bb535a
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   28:     0x55900f9f1ff1 - std::panicking::try::hbb7a2054f484688e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   29:     0x55900f9f1ff1 - std::panic::catch_unwind::h696d12d9d80497c2
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   30:     0x55900f9f1ff1 - test::run_test_in_process::h053367a7217c825b
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:644:27
[INFO] [stdout]   31:     0x55900f9f1ff1 - test::run_test::{{closure}}::hfa524e9fabcba78e
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:567:43
[INFO] [stdout]   32:     0x55900f9b9456 - test::run_test::{{closure}}::h2c4d0bb741ef7f9f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/test/src/lib.rs:595:41
[INFO] [stdout]   33:     0x55900f9b9456 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0d2c708415550075
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   34:     0x55900f9be417 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h76e2635840d7293f
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   35:     0x55900f9be417 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::haa640b67a810a214
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x55900f9be417 - std::panicking::try::do_call::h41892e3bc2807ab5
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:554:40
[INFO] [stdout]   37:     0x55900f9be417 - std::panicking::try::h861a16d180681c80
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panicking.rs:518:19
[INFO] [stdout]   38:     0x55900f9be417 - std::panic::catch_unwind::h8195f9064b1509fa
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/panic.rs:142:14
[INFO] [stdout]   39:     0x55900f9be417 - std::thread::Builder::spawn_unchecked_::{{closure}}::h73cc419da1217371
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   40:     0x55900f9be417 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h79dc6499ff073b09
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x55900fa233c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha718e8cdc51a5182
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   42:     0x55900fa233c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h86072abc877c5474
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x55900fa233c5 - std::sys::pal::unix::thread::Thread::new::thread_start::hac4056197c365894
[INFO] [stdout]                                at /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f3d563d0ac3 - <unknown>
[INFO] [stdout]   45:     0x7f3d56461bf4 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     core::container::test::new
[INFO] [stdout]     libx::test::test_open
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "fbd32f18299e107aaf0df9b3d1da1b8783424dc4dfda603177dc2db944474d32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbd32f18299e107aaf0df9b3d1da1b8783424dc4dfda603177dc2db944474d32", kill_on_drop: false }`
[INFO] [stdout] fbd32f18299e107aaf0df9b3d1da1b8783424dc4dfda603177dc2db944474d32
