[INFO] cloning repository https://github.com/kkspeed/metal-placebo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kkspeed/metal-placebo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkspeed%2Fmetal-placebo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkspeed%2Fmetal-placebo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63665057c8369a620fb33fc8d85c1c99a3de81ea [INFO] checking kkspeed/metal-placebo against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkspeed%2Fmetal-placebo" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kkspeed/metal-placebo on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kkspeed/metal-placebo [INFO] finished tweaking git repo https://github.com/kkspeed/metal-placebo [INFO] tweaked toml for git repo https://github.com/kkspeed/metal-placebo written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate git repo https://github.com/kkspeed/metal-placebo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.1.36 [INFO] [stderr] Downloaded num-traits v0.1.36 [INFO] [stderr] Downloaded serde v0.8.22 [INFO] [stderr] Downloaded toml v0.2.1 [INFO] [stderr] Downloaded num-integer v0.1.32 [INFO] [stderr] Downloaded num-iter v0.1.32 [INFO] [stderr] Downloaded time v0.1.35 [INFO] [stderr] Downloaded chrono v0.2.25 [INFO] [stderr] Downloaded quick-error v1.1.0 [INFO] [stderr] Downloaded metadeps v1.1.1 [INFO] [stderr] Downloaded log4rs v0.5.2 [INFO] [stderr] Downloaded serde-value v0.3.1 [INFO] [stderr] Downloaded serde_yaml v0.5.0 [INFO] [stderr] Downloaded log v0.3.6 [INFO] [stderr] Downloaded mustache v0.8.0 [INFO] [stderr] Downloaded x11 v2.12.0 [INFO] [stderr] Downloaded traitobject v0.0.3 [INFO] [stderr] Downloaded ordered-float v0.2.3 [INFO] [stderr] Downloaded serde_test v0.8.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c211155f2ba1f84c50884adc740bc0b363cd5823d94910791f198d31dc3657e [INFO] running `Command { std: "docker" "start" "-a" "8c211155f2ba1f84c50884adc740bc0b363cd5823d94910791f198d31dc3657e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c211155f2ba1f84c50884adc740bc0b363cd5823d94910791f198d31dc3657e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c211155f2ba1f84c50884adc740bc0b363cd5823d94910791f198d31dc3657e", kill_on_drop: false }` [INFO] [stdout] 8c211155f2ba1f84c50884adc740bc0b363cd5823d94910791f198d31dc3657e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 730bfd375152671d2d66b99af696f70328750ae5c57ba869df1bf8c96766b8d5 [INFO] running `Command { std: "docker" "start" "-a" "730bfd375152671d2d66b99af696f70328750ae5c57ba869df1bf8c96766b8d5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Checking serde v0.8.22 [INFO] [stderr] Compiling error-chain v0.7.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Checking libc v0.2.19 [INFO] [stderr] Checking traitobject v0.0.3 [INFO] [stderr] Checking quick-error v1.1.0 [INFO] [stderr] Checking dtoa v0.2.2 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking humantime v1.0.0 [INFO] [stderr] Checking unsafe-any v0.4.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling metadeps v1.1.1 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking ordered-float v0.2.3 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking mustache v0.8.0 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking serde_test v0.8.22 [INFO] [stderr] Checking serde-value v0.3.1 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Compiling x11 v2.12.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking serde_yaml v0.5.0 [INFO] [stderr] Checking log4rs v0.5.2 [INFO] [stderr] Checking rswm v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/util.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let mut list: *mut (*mut c_char) = unsafe { zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:589:35 [INFO] [stdout] | [INFO] [stdout] 589 | predicate: &Fn(&Self::Item) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Self::Item) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:591:36 [INFO] [stdout] | [INFO] [stdout] 591 | yes_action: &Fn(&mut Self::Item), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Self::Item)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:592:35 [INFO] [stdout] | [INFO] [stdout] 592 | no_action: &Fn(&mut Self::Item)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Self::Item)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:619:35 [INFO] [stdout] | [INFO] [stdout] 619 | predicate: &Fn(&ClientW) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&ClientW) -> bool` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:621:36 [INFO] [stdout] | [INFO] [stdout] 621 | yes_action: &Fn(&mut ClientW), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ClientW)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:622:35 [INFO] [stdout] | [INFO] [stdout] 622 | no_action: &Fn(&mut ClientW)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ClientW)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FullScreen`, `Overview` [INFO] [stdout] --> src/core.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use layout::{FullScreen, Layout, Overview, Tile}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | fn lookup_layout(config: Rc, tag: c_uchar) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | logger: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Logger + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core.rs:318:46 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn set_logger(&mut self, logger: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Logger + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientL` [INFO] [stdout] --> src/config.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use client::{ClientL, ClientW}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | pub type WmAction = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut WindowManager)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | pub type ClientPredicate = Box bool>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&ClientW) -> bool` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub type ClientAction = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ClientW)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub type StartAction = Box; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub tag_layout: Vec<(c_uchar, Box)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:175:59 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn tag_layout(mut self, layout: Vec<(c_uchar, Box)>) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mustache::MapBuilder` [INFO] [stdout] --> src/loggers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mustache::MapBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/layout.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | fn clone_layout(&self) -> Box; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | fn clone_layout(&self) -> Box { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/util.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let mut list: *mut (*mut c_char) = unsafe { zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | impl Clone for Box { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:589:35 [INFO] [stdout] | [INFO] [stdout] 589 | predicate: &Fn(&Self::Item) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Self::Item) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | pub layout: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/workspace.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:591:36 [INFO] [stdout] | [INFO] [stdout] 591 | yes_action: &Fn(&mut Self::Item), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Self::Item)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_int` [INFO] [stdout] --> src/workspace.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::raw::{c_int, c_uchar, c_uint}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | layout: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:592:35 [INFO] [stdout] | [INFO] [stdout] 592 | no_action: &Fn(&mut Self::Item)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Self::Item)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | layout: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:619:35 [INFO] [stdout] | [INFO] [stdout] 619 | predicate: &Fn(&ClientW) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&ClientW) -> bool` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn select_clients(&self, pred: &Fn(&ClientW) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&ClientW) -> bool` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:621:36 [INFO] [stdout] | [INFO] [stdout] 621 | yes_action: &Fn(&mut ClientW), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ClientW)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:365:20 [INFO] [stdout] | [INFO] [stdout] 365 | prev_iter: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:622:35 [INFO] [stdout] | [INFO] [stdout] 622 | no_action: &Fn(&mut ClientW)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ClientW)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | next_iter: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FullScreen`, `Overview` [INFO] [stdout] --> src/core.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use layout::{FullScreen, Layout, Overview, Tile}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:385:20 [INFO] [stdout] | [INFO] [stdout] 385 | prev_iter: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | fn lookup_layout(config: Rc, tag: c_uchar) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:386:20 [INFO] [stdout] | [INFO] [stdout] 386 | next_iter: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/prompt.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(child.wait()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/prompt.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(child.stdout.unwrap().read_to_string(&mut result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/prompt.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let mut child = try!(process::Command::new("dmenu") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/prompt.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(writeln!(child.stdin.as_mut().unwrap(), "{}", c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | logger: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Logger + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core.rs:318:46 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn set_logger(&mut self, logger: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Logger + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientL` [INFO] [stdout] --> src/config.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use client::{ClientL, ClientW}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | pub type WmAction = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut WindowManager)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | pub type ClientPredicate = Box bool>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&ClientW) -> bool` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub type ClientAction = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ClientW)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub type StartAction = Box; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub tag_layout: Vec<(c_uchar, Box)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:175:59 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn tag_layout(mut self, layout: Vec<(c_uchar, Box)>) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mustache::MapBuilder` [INFO] [stdout] --> src/loggers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mustache::MapBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/layout.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | fn clone_layout(&self) -> Box; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | fn clone_layout(&self) -> Box { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | impl Clone for Box { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | pub layout: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Layout` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/workspace.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_int` [INFO] [stdout] --> src/workspace.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::raw::{c_int, c_uchar, c_uint}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | layout: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | layout: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Layout + 'static` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn select_clients(&self, pred: &Fn(&ClientW) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&ClientW) -> bool` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:365:20 [INFO] [stdout] | [INFO] [stdout] 365 | prev_iter: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | next_iter: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:385:20 [INFO] [stdout] | [INFO] [stdout] 385 | prev_iter: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:386:20 [INFO] [stdout] | [INFO] [stdout] 386 | next_iter: Box + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/prompt.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(child.wait()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/prompt.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(child.stdout.unwrap().read_to_string(&mut result)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/prompt.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let mut child = try!(process::Command::new("dmenu") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/prompt.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(writeln!(child.stdin.as_mut().unwrap(), "{}", c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/core.rs:1106:36 [INFO] [stdout] | [INFO] [stdout] 1106 | fn on_expose_notify(&mut self, event: xlib::XExposeEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/core.rs:1176:36 [INFO] [stdout] | [INFO] [stdout] 1176 | fn on_motion_notify(&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: `tag` [INFO] [stdout] --> src/core.rs:1187:25 [INFO] [stdout] | [INFO] [stdout] 1187 | let tag = c.tag(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/config.rs:50:53 [INFO] [stdout] | [INFO] [stdout] 50 | vec![(mod_mask, keysym::XK_q, Box::new(|w| process::exit(0))), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_config` [INFO] [stdout] --> src/loggers.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | global_config: &Config, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/layout.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn post(&self, message: &str, window_manager: &mut core::WindowManager) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_manager` [INFO] [stdout] --> src/layout.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | fn post(&self, message: &str, window_manager: &mut core::WindowManager) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/layout.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn layout_rects(&self, config: Rc, n: usize, rect: Rect) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/core.rs:1106:36 [INFO] [stdout] | [INFO] [stdout] 1106 | fn on_expose_notify(&mut self, event: xlib::XExposeEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/core.rs:1176:36 [INFO] [stdout] | [INFO] [stdout] 1176 | fn on_motion_notify(&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: `tag` [INFO] [stdout] --> src/core.rs:1187:25 [INFO] [stdout] | [INFO] [stdout] 1187 | let tag = c.tag(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/config.rs:50:53 [INFO] [stdout] | [INFO] [stdout] 50 | vec![(mod_mask, keysym::XK_q, Box::new(|w| process::exit(0))), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_config` [INFO] [stdout] --> src/loggers.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | global_config: &Config, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/layout.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn post(&self, message: &str, window_manager: &mut core::WindowManager) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_manager` [INFO] [stdout] --> src/layout.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | fn post(&self, message: &str, window_manager: &mut core::WindowManager) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/layout.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn layout_rects(&self, config: Rc, n: usize, rect: Rect) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:865:17 [INFO] [stdout] | [INFO] [stdout] 865 | for (_, mut w) in self.workspaces.iter_mut() { [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.rs:865:17 [INFO] [stdout] | [INFO] [stdout] 865 | for (_, mut w) in self.workspaces.iter_mut() { [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.rs:1181:21 [INFO] [stdout] | [INFO] [stdout] 1181 | if let Some(mut c) = self.get_client_by_window(event.window).as_mut() { [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.rs:1181:21 [INFO] [stdout] | [INFO] [stdout] 1181 | if let Some(mut c) = self.get_client_by_window(event.window).as_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `anchor_window` [INFO] [stdout] --> src/client.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | anchor_window: xlib::Window, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `anchor_window` [INFO] [stdout] --> src/client.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | anchor_window: xlib::Window, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_dialog` [INFO] [stdout] --> src/client.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | is_dialog: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_dialog` [INFO] [stdout] --> src/client.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | is_dialog: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `old_border` [INFO] [stdout] --> src/client.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | old_border: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `old_border` [INFO] [stdout] --> src/client.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | old_border: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRACE` [INFO] [stdout] --> src/core.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const TRACE: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRACE` [INFO] [stdout] --> src/core.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const TRACE: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/core.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn peek(&self) -> Option<&ClientW> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/core.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn peek(&self) -> Option<&ClientW> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen` [INFO] [stdout] --> src/core.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | screen: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen` [INFO] [stdout] --> src/core.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | screen: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_returned` [INFO] [stdout] --> src/workspace.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | current_returned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_returned` [INFO] [stdout] --> src/workspace.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | current_returned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `net_wm_state_sticky` [INFO] [stdout] --> src/atoms.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn net_wm_state_sticky() -> xlib::Atom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `net_wm_state_sticky` [INFO] [stdout] --> src/atoms.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn net_wm_state_sticky() -> xlib::Atom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/atoms.rs:152:69 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe { xlib::XInternAtom(display, CString::new(atom).unwrap().as_ptr(), 0) } [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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/atoms.rs:152:69 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe { xlib::XInternAtom(display, CString::new(atom).unwrap().as_ptr(), 0) } [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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/loggers.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | / write!(self.child.stdin.as_mut().unwrap(), [INFO] [stdout] 174 | | "{}", [INFO] [stdout] 175 | | self.config.separator); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/loggers.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | / write!(self.child.stdin.as_mut().unwrap(), [INFO] [stdout] 174 | | "{}", [INFO] [stdout] 175 | | self.config.separator); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/loggers.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | write!(self.child.stdin.as_mut().unwrap(), "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/loggers.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | write!(self.child.stdin.as_mut().unwrap(), "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rswm::client::ClientW` [INFO] [stdout] --> main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rswm::client::ClientW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Layout`, `Tile` [INFO] [stdout] --> main.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use rswm::layout::{Tile, Tile13, FullScreen, Overview, Layout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rswm::client::ClientW` [INFO] [stdout] --> main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rswm::client::ClientW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Layout`, `Tile` [INFO] [stdout] --> main.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use rswm::layout::{Tile, Tile13, FullScreen, Overview, Layout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.40s [INFO] running `Command { std: "docker" "inspect" "730bfd375152671d2d66b99af696f70328750ae5c57ba869df1bf8c96766b8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730bfd375152671d2d66b99af696f70328750ae5c57ba869df1bf8c96766b8d5", kill_on_drop: false }` [INFO] [stdout] 730bfd375152671d2d66b99af696f70328750ae5c57ba869df1bf8c96766b8d5