[INFO] cloning repository https://github.com/fschutt/dbusmenu-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fschutt/dbusmenu-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fdbusmenu-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fdbusmenu-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b72f2974d2a4b0ed77f477c0130fe39f74d615fa [INFO] checking fschutt/dbusmenu-rs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fdbusmenu-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fschutt/dbusmenu-rs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fschutt/dbusmenu-rs [INFO] removed path dependency dbus from git repo https://github.com/fschutt/dbusmenu-rs [INFO] finished tweaking git repo https://github.com/fschutt/dbusmenu-rs [INFO] tweaked toml for git repo https://github.com/fschutt/dbusmenu-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/fschutt/dbusmenu-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (dbus) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (dbus) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc671a6e863372e019416d2a2735e1151e3d67c623c1a797c48ec15929d15a33 [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" "dc671a6e863372e019416d2a2735e1151e3d67c623c1a797c48ec15929d15a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc671a6e863372e019416d2a2735e1151e3d67c623c1a797c48ec15929d15a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc671a6e863372e019416d2a2735e1151e3d67c623c1a797c48ec15929d15a33", kill_on_drop: false }` [INFO] [stdout] dc671a6e863372e019416d2a2735e1151e3d67c623c1a797c48ec15929d15a33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 015e561b85dce4792a0b6e320dbc84456980a923b35f5a26c991eed0418a6ca0 [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" "015e561b85dce4792a0b6e320dbc84456980a923b35f5a26c991eed0418a6ca0", kill_on_drop: false }` [INFO] [stderr] warning: dependency (dbus) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking dbus v0.9.0 [INFO] [stderr] Checking dbusmenu-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `dbus::tree` [INFO] [stdout] --> src/dbusmenu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use dbus::tree; [INFO] [stdout] | ^^^^^^^^^^ no `tree` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dbus::tree` [INFO] [stdout] --> src/appmenuregistrar.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dbus::tree; [INFO] [stdout] | ^^^^^^^^^^ no `tree` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dbus::Member` [INFO] [stdout] --> src/menu.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | use dbus::Member; [INFO] [stdout] | ^^^^^^^^^^^^ no `Member` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dbus::tree` [INFO] [stdout] --> src/dbusmenu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use dbus::tree; [INFO] [stdout] | ^^^^^^^^^^ no `tree` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tree` in `dbus` [INFO] [stdout] --> src/menu.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | type Err = dbus::tree::MethodErr; [INFO] [stdout] | ^^^^ could not find `tree` in `dbus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tree` in `dbus` [INFO] [stdout] --> src/menu.rs:294:16 [INFO] [stdout] | [INFO] [stdout] 294 | impl<'a> dbus::tree::DataType for MData { [INFO] [stdout] | ^^^^ could not find `tree` in `dbus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:288:88 [INFO] [stdout] | [INFO] [stdout] 288 | impl<'a, C: ::std::ops::Deref> ComCanonicalDbusmenu for dbus::ConnPath<'a, C> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:288:44 [INFO] [stdout] | [INFO] [stdout] 288 | impl<'a, C: ::std::ops::Deref> ComCanonicalDbusmenu for dbus::ConnPath<'a, C> { [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:504:95 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn com_canonical_dbusmenu_items_properties_updated_emit>(conn: &dbus::ConnPath, upda... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:504:121 [INFO] [stdout] | [INFO] [stdout] 504 | ...d::ops::Deref>(conn: &dbus::ConnPath, updated_props: Vec<(i32, ::std::collections::HashMap src/dbusmenu.rs:525:85 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn com_canonical_dbusmenu_layout_updated_emit>(conn: &dbus::ConnPath, revision: u32,... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:525:111 [INFO] [stdout] | [INFO] [stdout] 525 | ...d::ops::Deref>(conn: &dbus::ConnPath, revision: u32, parent: i32) -> Result<(), dbus::Error> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:544:96 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn com_canonical_dbusmenu_item_activation_requested_emit>(conn: &dbus::ConnPath, id:... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:544:122 [INFO] [stdout] | [INFO] [stdout] 544 | ...d::ops::Deref>(conn: &dbus::ConnPath, id: i32, timestamp: u32) -> Result<(), dbus::Error> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:16:96 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, C: ::std::ops::Deref> ComCanonicalAppMenuRegistrar for dbus::ConnPath<'a, C> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, C: ::std::ops::Deref> ComCanonicalAppMenuRegistrar for dbus::ConnPath<'a, C> { [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:124:98 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn com_canonical_app_menu_registrar_window_registered_emit>(conn: &dbus::ConnPath, w... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:124:124 [INFO] [stdout] | [INFO] [stdout] 124 | ...d::ops::Deref>(conn: &dbus::ConnPath, window_id: u32, service: String, menu_object_path: dbus::Path<'stati... [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:133:100 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn com_canonical_app_menu_registrar_window_unregistered_emit>(conn: &dbus::ConnPath,... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:133:126 [INFO] [stdout] | [INFO] [stdout] 133 | ...d::ops::Deref>(conn: &dbus::ConnPath, window_id: u32) -> Result<(), dbus::Error> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dbus::tree` [INFO] [stdout] --> src/appmenuregistrar.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dbus::tree; [INFO] [stdout] | ^^^^^^^^^^ no `tree` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dbus::Member` [INFO] [stdout] --> src/menu.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | use dbus::Member; [INFO] [stdout] | ^^^^^^^^^^^^ no `Member` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"GetLayout".into(), |msg| { [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/dbusmenu.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | let revision: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:301:135 [INFO] [stdout] | [INFO] [stdout] 301 | ...riant>>, Vec>>) = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"GetGroupProperties".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:313:107 [INFO] [stdout] | [INFO] [stdout] 313 | let properties: Vec<(i32, ::std::collections::HashMap>>)> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"GetProperty".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:325:53 [INFO] [stdout] | [INFO] [stdout] 325 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"Event".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"AboutToShow".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:348:33 [INFO] [stdout] | [INFO] [stdout] 348 | let need_update: bool = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Get".into(), move |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | let v: arg::Variant<_> = try!(try!(m.as_result()).read1()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | let v: arg::Variant<_> = try!(try!(m.as_result()).read1()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:363:21 [INFO] [stdout] | [INFO] [stdout] 363 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Get".into(), move |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:368:34 [INFO] [stdout] | [INFO] [stdout] 368 | let v: arg::Variant<_> = try!(try!(m.as_result()).read1()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:368:39 [INFO] [stdout] | [INFO] [stdout] 368 | let v: arg::Variant<_> = try!(try!(m.as_result()).read1()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:386:30 [INFO] [stdout] | [INFO] [stdout] 386 | let parent_id: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:387:36 [INFO] [stdout] | [INFO] [stdout] 387 | let recursion_depth: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | let property_names: Vec<&str> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:390:34 [INFO] [stdout] | [INFO] [stdout] 390 | let (revision, layout) = try!(d.get_layout(parent_id, recursion_depth, property_names)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:407:29 [INFO] [stdout] | [INFO] [stdout] 407 | let ids: Vec = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:408:41 [INFO] [stdout] | [INFO] [stdout] 408 | let property_names: Vec<&str> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:410:26 [INFO] [stdout] | [INFO] [stdout] 410 | let properties = try!(d.get_group_properties(ids, property_names)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:424:23 [INFO] [stdout] | [INFO] [stdout] 424 | let id: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:425:26 [INFO] [stdout] | [INFO] [stdout] 425 | let name: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | let value = try!(d.get_property(id, name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 441 | let id: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:442:30 [INFO] [stdout] | [INFO] [stdout] 442 | let event_id: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:443:52 [INFO] [stdout] | [INFO] [stdout] 443 | let data: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:444:30 [INFO] [stdout] | [INFO] [stdout] 444 | let timestamp: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | try!(d.event(id, event_id, data, timestamp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:460:23 [INFO] [stdout] | [INFO] [stdout] 460 | let id: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:462:27 [INFO] [stdout] | [INFO] [stdout] 462 | let need_update = try!(d.about_to_show(id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:478:18 [INFO] [stdout] | [INFO] [stdout] 478 | a.append(try!(d.get_version())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | a.append(try!(d.get_status())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut m = try!(self.method_call_with_args(&"com.canonical.AppMenu.Registrar".into(), &"RegisterWindow".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let mut m = try!(self.method_call_with_args(&"com.canonical.AppMenu.Registrar".into(), &"UnregisterWindow".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let mut m = try!(self.method_call_with_args(&"com.canonical.AppMenu.Registrar".into(), &"GetMenuForWindow".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | let service: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | let menu_object_path: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut m = try!(self.method_call_with_args(&"com.canonical.AppMenu.Registrar".into(), &"GetMenus".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:55:62 [INFO] [stdout] | [INFO] [stdout] 55 | let menus: Vec<(u32, String, dbus::Path<'static>)> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let window_id: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 69 | let menu_object_path: dbus::Path = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!(d.register_window(window_id, menu_object_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let window_id: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(d.unregister_window(window_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | let window_id: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | let (service, menu_object_path) = try!(d.get_menu_for_window(window_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let menus = try!(d.get_menus()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/menu.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:202:166 [INFO] [stdout] | [INFO] [stdout] 202 | ...llections::HashMap>>, Vec>>)), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [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/dbusmenu.rs:202:203 [INFO] [stdout] | [INFO] [stdout] 202 | ...nt>>, Vec>>)), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:217:151 [INFO] [stdout] | [INFO] [stdout] 217 | ...llections::HashMap>>)>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:232:76 [INFO] [stdout] | [INFO] [stdout] 232 | fn get_property(&self, id: i32, name: &str) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:249:69 [INFO] [stdout] | [INFO] [stdout] 249 | fn event(&self, id: i32, event_id: &str, data: arg::Variant>, timestamp: u32) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:291:166 [INFO] [stdout] | [INFO] [stdout] 291 | ...llections::HashMap>>, Vec>>)), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:291:203 [INFO] [stdout] | [INFO] [stdout] 291 | ...nt>>, Vec>>)), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:301:80 [INFO] [stdout] | [INFO] [stdout] 301 | ... let layout: (i32, ::std::collections::HashMap>>, Vec>>) = try!(... [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:301:117 [INFO] [stdout] | [INFO] [stdout] 301 | ...nt>>, Vec>>) = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:305:151 [INFO] [stdout] | [INFO] [stdout] 305 | ...llections::HashMap>>)>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:313:88 [INFO] [stdout] | [INFO] [stdout] 313 | let properties: Vec<(i32, ::std::collections::HashMap>>)> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:317:76 [INFO] [stdout] | [INFO] [stdout] 317 | fn get_property(&self, id: i32, name: &str) -> Result>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:325:37 [INFO] [stdout] | [INFO] [stdout] 325 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:329:69 [INFO] [stdout] | [INFO] [stdout] 329 | fn event(&self, id: i32, event_id: &str, data: arg::Variant>, timestamp: u32) -> Result<(), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:443:36 [INFO] [stdout] | [INFO] [stdout] 443 | let data: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:504:212 [INFO] [stdout] | [INFO] [stdout] 504 | ...llections::HashMap>>)>, removed_props: Vec<(i32, Vec)>) -> Result<(), dbus::Error> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | TextMenuItem(MenuData ()>>), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | CheckboxMenuItem(MenuData ()>>), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(bool) -> ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | RadioMenuItem(Vec ()>>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:201:80 [INFO] [stdout] | [INFO] [stdout] 201 | -> Result<(u32, (i32, ::std::collections::HashMap>>, Vec>>)), Sel... [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:201:117 [INFO] [stdout] | [INFO] [stdout] 201 | ...nt>>, Vec>>)), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | let mut map = HashMap::>>::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:232:78 [INFO] [stdout] | [INFO] [stdout] 232 | -> Result>>)>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:246:73 [INFO] [stdout] | [INFO] [stdout] 246 | let mut properties_hashmap = HashMap::>>::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:251:76 [INFO] [stdout] | [INFO] [stdout] 251 | fn get_property(&self, id: i32, name: &str) -> Result>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:257:69 [INFO] [stdout] | [INFO] [stdout] 257 | fn event(&self, id: i32, event_id: &str, data: arg::Variant>, timestamp: u32) -> Result<(), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tree` in `dbus` [INFO] [stdout] --> src/menu.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | type Err = dbus::tree::MethodErr; [INFO] [stdout] | ^^^^ could not find `tree` in `dbus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tree` in `dbus` [INFO] [stdout] --> src/menu.rs:294:16 [INFO] [stdout] | [INFO] [stdout] 294 | impl<'a> dbus::tree::DataType for MData { [INFO] [stdout] | ^^^^ could not find `tree` in `dbus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:288:88 [INFO] [stdout] | [INFO] [stdout] 288 | impl<'a, C: ::std::ops::Deref> ComCanonicalDbusmenu for dbus::ConnPath<'a, C> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:288:44 [INFO] [stdout] | [INFO] [stdout] 288 | impl<'a, C: ::std::ops::Deref> ComCanonicalDbusmenu for dbus::ConnPath<'a, C> { [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:504:95 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn com_canonical_dbusmenu_items_properties_updated_emit>(conn: &dbus::ConnPath, upda... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:504:121 [INFO] [stdout] | [INFO] [stdout] 504 | ...d::ops::Deref>(conn: &dbus::ConnPath, updated_props: Vec<(i32, ::std::collections::HashMap src/dbusmenu.rs:525:85 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn com_canonical_dbusmenu_layout_updated_emit>(conn: &dbus::ConnPath, revision: u32,... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:525:111 [INFO] [stdout] | [INFO] [stdout] 525 | ...d::ops::Deref>(conn: &dbus::ConnPath, revision: u32, parent: i32) -> Result<(), dbus::Error> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:544:96 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn com_canonical_dbusmenu_item_activation_requested_emit>(conn: &dbus::ConnPath, id:... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/dbusmenu.rs:544:122 [INFO] [stdout] | [INFO] [stdout] 544 | ...d::ops::Deref>(conn: &dbus::ConnPath, id: i32, timestamp: u32) -> Result<(), dbus::Error> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:16:96 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, C: ::std::ops::Deref> ComCanonicalAppMenuRegistrar for dbus::ConnPath<'a, C> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a, C: ::std::ops::Deref> ComCanonicalAppMenuRegistrar for dbus::ConnPath<'a, C> { [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:124:98 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn com_canonical_app_menu_registrar_window_registered_emit>(conn: &dbus::ConnPath, w... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:124:124 [INFO] [stdout] | [INFO] [stdout] 124 | ...d::ops::Deref>(conn: &dbus::ConnPath, window_id: u32, service: String, menu_object_path: dbus::Path<'stati... [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:133:100 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn com_canonical_app_menu_registrar_window_unregistered_emit>(conn: &dbus::ConnPath,... [INFO] [stdout] | ^^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::blocking::Connection; [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnPath` in crate `dbus` [INFO] [stdout] --> src/appmenuregistrar.rs:133:126 [INFO] [stdout] | [INFO] [stdout] 133 | ...d::ops::Deref>(conn: &dbus::ConnPath, window_id: u32) -> Result<(), dbus::Error> { [INFO] [stdout] | ^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use dbus::ffidisp::ConnPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 86 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dbusmenu-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"GetLayout".into(), |msg| { [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/dbusmenu.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | let revision: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:301:135 [INFO] [stdout] | [INFO] [stdout] 301 | ...riant>>, Vec>>) = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"GetGroupProperties".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:313:107 [INFO] [stdout] | [INFO] [stdout] 313 | let properties: Vec<(i32, ::std::collections::HashMap>>)> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"GetProperty".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:325:53 [INFO] [stdout] | [INFO] [stdout] 325 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"Event".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | let mut m = try!(self.method_call_with_args(&"com.canonical.dbusmenu".into(), &"AboutToShow".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:348:33 [INFO] [stdout] | [INFO] [stdout] 348 | let need_update: bool = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Get".into(), move |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | let v: arg::Variant<_> = try!(try!(m.as_result()).read1()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:358:39 [INFO] [stdout] | [INFO] [stdout] 358 | let v: arg::Variant<_> = try!(try!(m.as_result()).read1()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:363:21 [INFO] [stdout] | [INFO] [stdout] 363 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Get".into(), move |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:368:34 [INFO] [stdout] | [INFO] [stdout] 368 | let v: arg::Variant<_> = try!(try!(m.as_result()).read1()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:368:39 [INFO] [stdout] | [INFO] [stdout] 368 | let v: arg::Variant<_> = try!(try!(m.as_result()).read1()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:386:30 [INFO] [stdout] | [INFO] [stdout] 386 | let parent_id: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:387:36 [INFO] [stdout] | [INFO] [stdout] 387 | let recursion_depth: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | let property_names: Vec<&str> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:390:34 [INFO] [stdout] | [INFO] [stdout] 390 | let (revision, layout) = try!(d.get_layout(parent_id, recursion_depth, property_names)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:407:29 [INFO] [stdout] | [INFO] [stdout] 407 | let ids: Vec = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:408:41 [INFO] [stdout] | [INFO] [stdout] 408 | let property_names: Vec<&str> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:410:26 [INFO] [stdout] | [INFO] [stdout] 410 | let properties = try!(d.get_group_properties(ids, property_names)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:424:23 [INFO] [stdout] | [INFO] [stdout] 424 | let id: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:425:26 [INFO] [stdout] | [INFO] [stdout] 425 | let name: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | let value = try!(d.get_property(id, name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 441 | let id: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:442:30 [INFO] [stdout] | [INFO] [stdout] 442 | let event_id: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:443:52 [INFO] [stdout] | [INFO] [stdout] 443 | let data: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:444:30 [INFO] [stdout] | [INFO] [stdout] 444 | let timestamp: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | try!(d.event(id, event_id, data, timestamp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:460:23 [INFO] [stdout] | [INFO] [stdout] 460 | let id: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:462:27 [INFO] [stdout] | [INFO] [stdout] 462 | let need_update = try!(d.about_to_show(id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:478:18 [INFO] [stdout] | [INFO] [stdout] 478 | a.append(try!(d.get_version())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbusmenu.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | a.append(try!(d.get_status())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut m = try!(self.method_call_with_args(&"com.canonical.AppMenu.Registrar".into(), &"RegisterWindow".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let mut m = try!(self.method_call_with_args(&"com.canonical.AppMenu.Registrar".into(), &"UnregisterWindow".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let mut m = try!(self.method_call_with_args(&"com.canonical.AppMenu.Registrar".into(), &"GetMenuForWindow".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | let service: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | let menu_object_path: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut m = try!(self.method_call_with_args(&"com.canonical.AppMenu.Registrar".into(), &"GetMenus".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:55:62 [INFO] [stdout] | [INFO] [stdout] 55 | let menus: Vec<(u32, String, dbus::Path<'static>)> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let window_id: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 69 | let menu_object_path: dbus::Path = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!(d.register_window(window_id, menu_object_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let window_id: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(d.unregister_window(window_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | let window_id: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | let (service, menu_object_path) = try!(d.get_menu_for_window(window_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/appmenuregistrar.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let menus = try!(d.get_menus()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/menu.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:202:166 [INFO] [stdout] | [INFO] [stdout] 202 | ...llections::HashMap>>, Vec>>)), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [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/dbusmenu.rs:202:203 [INFO] [stdout] | [INFO] [stdout] 202 | ...nt>>, Vec>>)), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:217:151 [INFO] [stdout] | [INFO] [stdout] 217 | ...llections::HashMap>>)>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:232:76 [INFO] [stdout] | [INFO] [stdout] 232 | fn get_property(&self, id: i32, name: &str) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:249:69 [INFO] [stdout] | [INFO] [stdout] 249 | fn event(&self, id: i32, event_id: &str, data: arg::Variant>, timestamp: u32) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:291:166 [INFO] [stdout] | [INFO] [stdout] 291 | ...llections::HashMap>>, Vec>>)), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:291:203 [INFO] [stdout] | [INFO] [stdout] 291 | ...nt>>, Vec>>)), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:301:80 [INFO] [stdout] | [INFO] [stdout] 301 | ... let layout: (i32, ::std::collections::HashMap>>, Vec>>) = try!(... [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:301:117 [INFO] [stdout] | [INFO] [stdout] 301 | ...nt>>, Vec>>) = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:305:151 [INFO] [stdout] | [INFO] [stdout] 305 | ...llections::HashMap>>)>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:313:88 [INFO] [stdout] | [INFO] [stdout] 313 | let properties: Vec<(i32, ::std::collections::HashMap>>)> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:317:76 [INFO] [stdout] | [INFO] [stdout] 317 | fn get_property(&self, id: i32, name: &str) -> Result>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:325:37 [INFO] [stdout] | [INFO] [stdout] 325 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:329:69 [INFO] [stdout] | [INFO] [stdout] 329 | fn event(&self, id: i32, event_id: &str, data: arg::Variant>, timestamp: u32) -> Result<(), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:443:36 [INFO] [stdout] | [INFO] [stdout] 443 | let data: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbusmenu.rs:504:212 [INFO] [stdout] | [INFO] [stdout] 504 | ...llections::HashMap>>)>, removed_props: Vec<(i32, Vec)>) -> Result<(), dbus::Error> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | TextMenuItem(MenuData ()>>), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | CheckboxMenuItem(MenuData ()>>), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(bool) -> ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | RadioMenuItem(Vec ()>>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:201:80 [INFO] [stdout] | [INFO] [stdout] 201 | -> Result<(u32, (i32, ::std::collections::HashMap>>, Vec>>)), Sel... [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:201:117 [INFO] [stdout] | [INFO] [stdout] 201 | ...nt>>, Vec>>)), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | let mut map = HashMap::>>::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:232:78 [INFO] [stdout] | [INFO] [stdout] 232 | -> Result>>)>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:246:73 [INFO] [stdout] | [INFO] [stdout] 246 | let mut properties_hashmap = HashMap::>>::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:251:76 [INFO] [stdout] | [INFO] [stdout] 251 | fn get_property(&self, id: i32, name: &str) -> Result>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:257:69 [INFO] [stdout] | [INFO] [stdout] 257 | fn event(&self, id: i32, event_id: &str, data: arg::Variant>, timestamp: u32) -> Result<(), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn arg::RefArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 86 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "015e561b85dce4792a0b6e320dbc84456980a923b35f5a26c991eed0418a6ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "015e561b85dce4792a0b6e320dbc84456980a923b35f5a26c991eed0418a6ca0", kill_on_drop: false }` [INFO] [stdout] 015e561b85dce4792a0b6e320dbc84456980a923b35f5a26c991eed0418a6ca0