[INFO] cloning repository https://github.com/balsoft/simple-osd-daemons [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/balsoft/simple-osd-daemons" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalsoft%2Fsimple-osd-daemons", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalsoft%2Fsimple-osd-daemons'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 556a6d0fb1f1583cc87486ddfcb60f57ccc451fd [INFO] linting balsoft/simple-osd-daemons against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalsoft%2Fsimple-osd-daemons" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/balsoft/simple-osd-daemons [INFO] finished tweaking git repo https://github.com/balsoft/simple-osd-daemons [INFO] tweaked toml for git repo https://github.com/balsoft/simple-osd-daemons written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/balsoft/simple-osd-daemons on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/balsoft/simple-osd-daemons already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zbus_names v4.1.0 [INFO] [stderr] Downloaded mac-notification-sys v0.6.2 [INFO] [stderr] Downloaded zvariant_derive v5.1.0 [INFO] [stderr] Downloaded numtoa v0.2.4 [INFO] [stderr] Downloaded from_variants_impl v1.0.2 [INFO] [stderr] Downloaded zvariant_utils v3.0.2 [INFO] [stderr] Downloaded enum-kinds v0.5.1 [INFO] [stderr] Downloaded from_variants v1.0.2 [INFO] [stderr] Downloaded sysfs-class v0.1.3 [INFO] [stderr] Downloaded derive_is_enum_variant v0.1.1 [INFO] [stderr] Downloaded configparser v1.0.0 [INFO] [stderr] Downloaded custom_debug_derive v0.6.1 [INFO] [stderr] Downloaded custom_debug v0.6.1 [INFO] [stderr] Downloaded macaddr v1.0.1 [INFO] [stderr] Downloaded battery v0.7.8 [INFO] [stderr] Downloaded libpulse-sys v1.21.0 [INFO] [stderr] Downloaded notify-rust v4.11.3 [INFO] [stderr] Downloaded zvariant v5.1.0 [INFO] [stderr] Downloaded dbus-crossroads v0.5.2 [INFO] [stderr] Downloaded zbus_macros v5.1.1 [INFO] [stderr] Downloaded cc v1.1.37 [INFO] [stderr] Downloaded uom v0.30.0 [INFO] [stderr] Downloaded libpulse-binding v2.28.1 [INFO] [stderr] Downloaded zbus v5.1.1 [INFO] [stderr] Downloaded mpris v2.0.1 [INFO] [stderr] Downloaded bluer v0.17.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b5a4cdfa01b3bea74c5eeb228205394e2af0c45c3927c279cb1888c35d61949 [INFO] running `Command { std: "docker" "start" "-a" "8b5a4cdfa01b3bea74c5eeb228205394e2af0c45c3927c279cb1888c35d61949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b5a4cdfa01b3bea74c5eeb228205394e2af0c45c3927c279cb1888c35d61949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5a4cdfa01b3bea74c5eeb228205394e2af0c45c3927c279cb1888c35d61949", kill_on_drop: false }` [INFO] [stdout] 8b5a4cdfa01b3bea74c5eeb228205394e2af0c45c3927c279cb1888c35d61949 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed6ac0c3c7cab26ca72f44695457b4ab0dc8b1a2f885f322d45627bfb2f032a3 [INFO] running `Command { std: "docker" "start" "-a" "ed6ac0c3c7cab26ca72f44695457b4ab0dc8b1a2f885f322d45627bfb2f032a3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking futures-lite v2.5.0 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking configparser v1.0.0 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling libpulse-sys v1.21.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling battery v0.7.8 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking uom v0.30.0 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Checking macaddr v1.0.1 [INFO] [stderr] Checking sysfs-class v0.1.3 [INFO] [stderr] Compiling derive_is_enum_variant v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking libpulse-binding v2.28.1 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling custom_debug_derive v0.6.1 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling from_variants_impl v1.0.2 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking custom_debug v0.6.1 [INFO] [stderr] Checking from_variants v1.0.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling enum-kinds v0.5.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking dbus-crossroads v0.5.2 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking zvariant_utils v3.0.2 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking mpris v2.0.1 [INFO] [stderr] Checking dbus-tokio v0.7.6 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Compiling zvariant_derive v5.1.0 [INFO] [stderr] Compiling zvariant v5.1.0 [INFO] [stderr] Compiling bluer v0.17.3 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking zbus_names v4.1.0 [INFO] [stderr] Compiling zbus_macros v5.1.1 [INFO] [stderr] Checking zbus v5.1.1 [INFO] [stderr] Checking notify-rust v4.11.3 [INFO] [stderr] Checking simple-osd-common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking simple-osd-battery v0.1.0 (/opt/rustwide/workdir/battery) [INFO] [stderr] Checking simple-osd-mpris v0.1.0 (/opt/rustwide/workdir/mpris) [INFO] [stderr] Checking simple-osd-pulseaudio v0.1.0 (/opt/rustwide/workdir/pulseaudio) [INFO] [stderr] Checking simple-osd-brightness v0.1.0 (/opt/rustwide/workdir/brightness) [INFO] [stderr] Checking simple-osd-bluetooth v0.1.0 (/opt/rustwide/workdir/bluetooth) [INFO] [stdout] warning: unused import: `osd::daemon::run` [INFO] [stdout] --> bluetooth/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use osd::daemon::run; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OSDProgressText` [INFO] [stdout] --> bluetooth/src/main.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use osd::notify::{OSDContents, OSDProgressText, OSD}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> battery/src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | if p < 0 || p > 100 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use: `!(0..=100).contains(&p)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> mpris/src/main.rs:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | let mainloop = Arc::new(Mutex::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 133 | | Mainloop::new().expect("Failed to create mainloop"), [INFO] [stdout] 134 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc>` is not `Send` and `Sync` as `Mutex` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Mutex` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> mpris/src/main.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | return; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 181 - eprintln!("failed to subscribe to events"); [INFO] [stdout] 182 - return; [INFO] [stdout] 181 + eprintln!("failed to subscribe to events"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> mpris/src/main.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | if !player.as_ref().is_some() || !player.as_ref().unwrap().is_running() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `player.as_ref().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> mpris/src/main.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | if !player.as_ref().is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `player.as_ref().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same prefix: `OSD` [INFO] [stdout] --> common/examples/simple.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / enum SimpleError { [INFO] [stdout] 18 | | #[error("Failed to update a notification: {0}")] [INFO] [stdout] 19 | | OSDUpdate(#[from] osd::notify::UpdateError), [INFO] [stdout] 20 | | #[error("Failed to close a notification: {0}")] [INFO] [stdout] ... | [INFO] [stdout] 23 | | OSDOnClose(#[from] osd::notify::CloseCallbackError), [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the prefixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> bluetooth/src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | bluetooth_daemon().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = bluetooth_daemon().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of a disallowed/placeholder name `foo` [INFO] [stdout] --> common/examples/simple.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let foo = config.get_default("example section", "foo", "bar baz".to_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names [INFO] [stdout] = note: `#[warn(clippy::disallowed_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> battery/src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | if p < 0 || p > 100 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use: `!(0..=100).contains(&p)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `osd::daemon::run` [INFO] [stdout] --> bluetooth/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use osd::daemon::run; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OSDProgressText` [INFO] [stdout] --> bluetooth/src/main.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use osd::notify::{OSDContents, OSDProgressText, OSD}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> mpris/src/main.rs:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | let mainloop = Arc::new(Mutex::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 133 | | Mainloop::new().expect("Failed to create mainloop"), [INFO] [stdout] 134 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc>` is not `Send` and `Sync` as `Mutex` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Mutex` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> mpris/src/main.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | return; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 181 - eprintln!("failed to subscribe to events"); [INFO] [stdout] 182 - return; [INFO] [stdout] 181 + eprintln!("failed to subscribe to events"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> mpris/src/main.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | if !player.as_ref().is_some() || !player.as_ref().unwrap().is_running() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `player.as_ref().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> mpris/src/main.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | if !player.as_ref().is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `player.as_ref().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> bluetooth/src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | bluetooth_daemon().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = bluetooth_daemon().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluer v0.17.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "ed6ac0c3c7cab26ca72f44695457b4ab0dc8b1a2f885f322d45627bfb2f032a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed6ac0c3c7cab26ca72f44695457b4ab0dc8b1a2f885f322d45627bfb2f032a3", kill_on_drop: false }` [INFO] [stdout] ed6ac0c3c7cab26ca72f44695457b4ab0dc8b1a2f885f322d45627bfb2f032a3