[INFO] cloning repository https://github.com/lumirayz/bar-manager-thing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lumirayz/bar-manager-thing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flumirayz%2Fbar-manager-thing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flumirayz%2Fbar-manager-thing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d0e9d536cc377357bc02ef0272b16e32cdbf48d [INFO] checking lumirayz/bar-manager-thing against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flumirayz%2Fbar-manager-thing" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lumirayz/bar-manager-thing on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lumirayz/bar-manager-thing [INFO] finished tweaking git repo https://github.com/lumirayz/bar-manager-thing [INFO] tweaked toml for git repo https://github.com/lumirayz/bar-manager-thing written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/lumirayz/bar-manager-thing already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/kstep/rust-mpd.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/kstep/rust-mpd.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dbus v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec7a4fa4041d3861f5e75a81cd4663550102ee0ba38b564e8b5575ec128a233b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ec7a4fa4041d3861f5e75a81cd4663550102ee0ba38b564e8b5575ec128a233b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec7a4fa4041d3861f5e75a81cd4663550102ee0ba38b564e8b5575ec128a233b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7a4fa4041d3861f5e75a81cd4663550102ee0ba38b564e8b5575ec128a233b", kill_on_drop: false }` [INFO] [stdout] ec7a4fa4041d3861f5e75a81cd4663550102ee0ba38b564e8b5575ec128a233b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a60882766f3722a308f00bc2da802449ad7602771bad2533fae7aeabfe7166f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1a60882766f3722a308f00bc2da802449ad7602771bad2533fae7aeabfe7166f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dbus v0.9.2 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking mpd v0.1.0 (https://github.com/kstep/rust-mpd.git#17a4394d) [INFO] [stderr] Checking bar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::dbus::MessageItem` [INFO] [stdout] --> src/source/power.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::dbus::MessageItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `MessageItem` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BusType` in `dbus` [INFO] [stdout] --> src/source/power.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | let c = dbus::Connection::get_private(dbus::BusType::System).unwrap(); [INFO] [stdout] | ^^^^^^^ could not find `BusType` in `dbus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::dbus::MessageItem` [INFO] [stdout] --> src/source/power.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::dbus::MessageItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `MessageItem` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/source/power.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | conn: dbus::Connection [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Connection` in `dbus` [INFO] [stdout] --> src/source/power.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let c = dbus::Connection::get_private(dbus::BusType::System).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Props` in `dbus` [INFO] [stdout] --> src/source/power.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let p = dbus::Props::new(&self.conn, [INFO] [stdout] | ^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::arg::messageitem::Props; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | let t = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use bar::process::imp::process_inner::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `strftime` in crate `time` [INFO] [stdout] --> src/main.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | let date = lazy!(time::strftime("\u{00E015} %a %m %b %H:%M:%S", &time::now()).unwrap()); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:98:76 [INFO] [stdout] | [INFO] [stdout] 98 | let date = lazy!(time::strftime("\u{00E015} %a %m %b %H:%M:%S", &time::now()).unwrap()); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use bar::process::imp::process_inner::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component::core::Component` [INFO] [stdout] --> src/bar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use component::core::Component; [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/component/core.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn render(&self, &mut Bar); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | impl Component for Box Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | impl Component for Box Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let c: Box = self(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | children: Vec> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(children: Vec>) -> ConcatComponent { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn bg(color: T, child: Box) -> BgColor { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn fg(color: T, child: Box) -> FgColor { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn u(color: T, child: Box) -> UColor { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn font(id: u64, child: Box) -> Font { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn align_left(child: Box) -> Align { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn align_center(child: Box) -> Align { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn align_right(child: Box) -> Align { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/mpd.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let status = try!(client.status()); [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/source/mpd.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let song = try!(client.currentsong()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&self, bar : &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let power = dynamic!{ [INFO] [stdout] | _________________- [INFO] [stdout] 33 | | init => power::PowerSource::new(), [INFO] [stdout] 34 | | render(data: power::PowerSource) => { [INFO] [stdout] 35 | | let (d, state) = data.get(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | (0.0...10.0, _) => "\u{00E211}", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | (10.0...25.0, _) => "\u{00E1FD}", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | (25.0...90.0, _) => "\u{00E1FE}", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | component!(bg(if d > 10.0 { BLUE } else { RED }) => [" ", sym, format!(" {} ", d)]) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&self, bar : &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let bspwm = dynamic!{ [INFO] [stdout] | _________________- [INFO] [stdout] 48 | | init => bspwm::BspwmSource::new(), [INFO] [stdout] 49 | | render(data: bspwm::BspwmSource) => { [INFO] [stdout] 50 | | let d = data.get(); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | let mut v: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | => component!(bg(ORANGE) => [format!(" {} ", desktop.name)]), [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | => component!(bg(CYAN) => [format!(" {} ", desktop.name)]), [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | => component!(bg(GREEN) => [format!(" {} ", desktop.name)]), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | => component!(bg(BLUE) => [format!(" {} ", desktop.name)]) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&self, bar : &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | let mpd = dynamic!{ [INFO] [stdout] | _______________- [INFO] [stdout] 68 | | init => mpd::MpdSource::new("localhost:6700"), [INFO] [stdout] 69 | | render(data: mpd::MpdSource) => { [INFO] [stdout] 70 | | let d = data.get(); [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | component!(bg(ORANGE) => [" \u{00E0B3} "]), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | component!(bg(RED) => [format!(" \u{00E0B3}{} ", e)]), [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | mpd::State::Play => component!(bg(BLUE) => [ [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 81 | | " \u{00E09A} ", match *song { [INFO] [stdout] 82 | | Some(ref s) => { [INFO] [stdout] 83 | | let file = s.file.clone() + " "; [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | ]), [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | ... component![format!("{} ", out)] [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | ... None => component!["-"] [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | _ => component!(bg(BLUE) => [" \u{00E057} "]) [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let c : Box Box> = Box::new(|| Box::new($e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | let date = lazy!(time::strftime("\u{00E015} %a %m %b %H:%M:%S", &time::now()).unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let c : Box Box> = Box::new(|| Box::new($e)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | let date = lazy!(time::strftime("\u{00E015} %a %m %b %H:%M:%S", &time::now()).unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let c : Box Box> = Box::new(|| Box::new($e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | let vol = lazy!(component!(bg(BLUE) => [" \u{00E152} ", format!("{:.0} ", alsa::get_volume())])); [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let c : Box Box> = Box::new(|| Box::new($e)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | let vol = lazy!(component!(bg(BLUE) => [" \u{00E152} ", format!("{:.0} ", alsa::get_volume())])); [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let vol = lazy!(component!(bg(BLUE) => [" \u{00E152} ", format!("{:.0} ", alsa::get_volume())])); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | let tree = component![ [INFO] [stdout] | ________________- [INFO] [stdout] 101 | | component!(align_left => [bspwm]), [INFO] [stdout] 102 | | component!(align_center => [date]), [INFO] [stdout] 103 | | component!(align_right => [mpd, " ", power, " ", vol, " "]) [INFO] [stdout] 104 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | component!(align_left => [bspwm]), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | component!(align_center => [date]), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | component!(align_right => [mpd, " ", power, " ", vol, " "]) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BusType` in `dbus` [INFO] [stdout] --> src/source/power.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | let c = dbus::Connection::get_private(dbus::BusType::System).unwrap(); [INFO] [stdout] | ^^^^^^^ could not find `BusType` in `dbus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/source/power.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | conn: dbus::Connection [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Connection` in `dbus` [INFO] [stdout] --> src/source/power.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let c = dbus::Connection::get_private(dbus::BusType::System).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Props` in `dbus` [INFO] [stdout] --> src/source/power.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let p = dbus::Props::new(&self.conn, [INFO] [stdout] | ^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use power::dbus::arg::messageitem::Props; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | let t = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use bar::process::imp::process_inner::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `strftime` in crate `time` [INFO] [stdout] --> src/main.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | let date = lazy!(time::strftime("\u{00E015} %a %m %b %H:%M:%S", &time::now()).unwrap()); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:98:76 [INFO] [stdout] | [INFO] [stdout] 98 | let date = lazy!(time::strftime("\u{00E015} %a %m %b %H:%M:%S", &time::now()).unwrap()); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use bar::process::imp::process_inner::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component::core::Component` [INFO] [stdout] --> src/bar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use component::core::Component; [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/component/core.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn render(&self, &mut Bar); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | impl Component for Box Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | impl Component for Box Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let c: Box = self(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | children: Vec> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(children: Vec>) -> ConcatComponent { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | child: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn render(&self, bar: &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn bg(color: T, child: Box) -> BgColor { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn fg(color: T, child: Box) -> FgColor { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn u(color: T, child: Box) -> UColor { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn font(id: u64, child: Box) -> Font { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn align_left(child: Box) -> Align { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn align_center(child: Box) -> Align { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/format.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn align_right(child: Box) -> Align { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | thread::sleep_ms(200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/mpd.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let status = try!(client.status()); [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/source/mpd.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let song = try!(client.currentsong()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&self, bar : &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let power = dynamic!{ [INFO] [stdout] | _________________- [INFO] [stdout] 33 | | init => power::PowerSource::new(), [INFO] [stdout] 34 | | render(data: power::PowerSource) => { [INFO] [stdout] 35 | | let (d, state) = data.get(); [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | (0.0...10.0, _) => "\u{00E211}", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | (10.0...25.0, _) => "\u{00E1FD}", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | (25.0...90.0, _) => "\u{00E1FE}", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | component!(bg(if d > 10.0 { BLUE } else { RED }) => [" ", sym, format!(" {} ", d)]) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&self, bar : &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let bspwm = dynamic!{ [INFO] [stdout] | _________________- [INFO] [stdout] 48 | | init => bspwm::BspwmSource::new(), [INFO] [stdout] 49 | | render(data: bspwm::BspwmSource) => { [INFO] [stdout] 50 | | let d = data.get(); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | let mut v: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | => component!(bg(ORANGE) => [format!(" {} ", desktop.name)]), [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | => component!(bg(CYAN) => [format!(" {} ", desktop.name)]), [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/source/mpd.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | thread::sleep_ms(2000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | => component!(bg(GREEN) => [format!(" {} ", desktop.name)]), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | => component!(bg(BLUE) => [format!(" {} ", desktop.name)]) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn render(&self, bar : &mut Bar) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | let mpd = dynamic!{ [INFO] [stdout] | _______________- [INFO] [stdout] 68 | | init => mpd::MpdSource::new("localhost:6700"), [INFO] [stdout] 69 | | render(data: mpd::MpdSource) => { [INFO] [stdout] 70 | | let d = data.get(); [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | component!(bg(ORANGE) => [" \u{00E0B3} "]), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | component!(bg(RED) => [format!(" \u{00E0B3}{} ", e)]), [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `component::core::Component` for type `std::boxed::Box<(dyn std::ops::Fn() -> std::boxed::Box<(dyn component::core::Component + 'static)> + 'static)>`: [INFO] [stdout] --> src/component/core.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl Component for Box Box> { [INFO] [stdout] | ---------------------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 50 | impl Component for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `std::boxed::Box<(dyn std::ops::Fn() -> std::boxed::Box<(dyn component::core::Component + 'static)> + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: upstream crates may add a new impl of trait `std::fmt::Display` for type `(dyn std::ops::Fn() -> std::boxed::Box<(dyn component::core::Component + 'static)> + 'static)` in future versions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | mpd::State::Play => component!(bg(BLUE) => [ [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 81 | | " \u{00E09A} ", match *song { [INFO] [stdout] 82 | | Some(ref s) => { [INFO] [stdout] 83 | | let file = s.file.clone() + " "; [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | ]), [INFO] [stdout] | |__________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | ... component![format!("{} ", out)] [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | ... None => component!["-"] [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | _ => component!(bg(BLUE) => [" \u{00E057} "]) [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let c : Box Box> = Box::new(|| Box::new($e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | let date = lazy!(time::strftime("\u{00E015} %a %m %b %H:%M:%S", &time::now()).unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let c : Box Box> = Box::new(|| Box::new($e)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | let date = lazy!(time::strftime("\u{00E015} %a %m %b %H:%M:%S", &time::now()).unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let c : Box Box> = Box::new(|| Box::new($e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | let vol = lazy!(component!(bg(BLUE) => [" \u{00E152} ", format!("{:.0} ", alsa::get_volume())])); [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | let c : Box Box> = Box::new(|| Box::new($e)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | let vol = lazy!(component!(bg(BLUE) => [" \u{00E152} ", format!("{:.0} ", alsa::get_volume())])); [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let vol = lazy!(component!(bg(BLUE) => [" \u{00E152} ", format!("{:.0} ", alsa::get_volume())])); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | let tree = component![ [INFO] [stdout] | ________________- [INFO] [stdout] 101 | | component!(align_left => [bspwm]), [INFO] [stdout] 102 | | component!(align_center => [date]), [INFO] [stdout] 103 | | component!(align_right => [mpd, " ", power, " ", vol, " "]) [INFO] [stdout] 104 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | component!(align_left => [bspwm]), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | component!(align_center => [date]), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/component/core.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | component!(align_right => [mpd, " ", power, " ", vol, " "]) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | thread::sleep_ms(200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/source/mpd.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | thread::sleep_ms(2000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `component::core::Component` for type `std::boxed::Box<(dyn std::ops::Fn() -> std::boxed::Box<(dyn component::core::Component + 'static)> + 'static)>`: [INFO] [stdout] --> src/component/core.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl Component for Box Box> { [INFO] [stdout] | ---------------------------------------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 50 | impl Component for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `std::boxed::Box<(dyn std::ops::Fn() -> std::boxed::Box<(dyn component::core::Component + 'static)> + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: upstream crates may add a new impl of trait `std::fmt::Display` for type `(dyn std::ops::Fn() -> std::boxed::Box<(dyn component::core::Component + 'static)> + 'static)` in future versions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0119, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bar` [INFO] [stdout] error: aborting due to 9 previous errors; 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0119, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1a60882766f3722a308f00bc2da802449ad7602771bad2533fae7aeabfe7166f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a60882766f3722a308f00bc2da802449ad7602771bad2533fae7aeabfe7166f", kill_on_drop: false }` [INFO] [stdout] 1a60882766f3722a308f00bc2da802449ad7602771bad2533fae7aeabfe7166f