[INFO] cloning repository https://github.com/FulanXisen/zbluez [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FulanXisen/zbluez" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFulanXisen%2Fzbluez", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFulanXisen%2Fzbluez'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51a650e7b7406fc31a10ed892194b765df8b9ac7 [INFO] checking FulanXisen/zbluez against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFulanXisen%2Fzbluez" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FulanXisen/zbluez [INFO] finished tweaking git repo https://github.com/FulanXisen/zbluez [INFO] tweaked toml for git repo https://github.com/FulanXisen/zbluez written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FulanXisen/zbluez on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FulanXisen/zbluez 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93f060b0f30eab92bbc6e99536007842a1244630fa2bcc4edb4921b97a7c7e13 [INFO] running `Command { std: "docker" "start" "-a" "93f060b0f30eab92bbc6e99536007842a1244630fa2bcc4edb4921b97a7c7e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93f060b0f30eab92bbc6e99536007842a1244630fa2bcc4edb4921b97a7c7e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f060b0f30eab92bbc6e99536007842a1244630fa2bcc4edb4921b97a7c7e13", kill_on_drop: false }` [INFO] [stdout] 93f060b0f30eab92bbc6e99536007842a1244630fa2bcc4edb4921b97a7c7e13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0241d5149b22769dab4ab20a5b4e3c06893cb297f20250c49daf4fe4ea179c3e [INFO] running `Command { std: "docker" "start" "-a" "0241d5149b22769dab4ab20a5b4e3c06893cb297f20250c49daf4fe4ea179c3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking async-broadcast v0.7.0 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling zvariant_utils v1.1.0 [INFO] [stderr] Compiling zvariant_derive v4.0.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v4.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Checking async-fs v2.1.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking async-io v2.3.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling zbluez v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Checking zvariant v4.0.2 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus v4.1.2 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stdout] warning: unused import: `super::interface::AgentManagerProxy` [INFO] [stdout] --> src/simple_bluez.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | pub use super::interface::AgentManagerProxy; [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: `super::interface::ProfileManagerProxy` [INFO] [stdout] --> src/simple_bluez.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | pub use super::interface::ProfileManagerProxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::interface::AgentManagerProxy` [INFO] [stdout] --> src/simple_bluez.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | pub use super::interface::AgentManagerProxy; [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: `super::interface::ProfileManagerProxy` [INFO] [stdout] --> src/simple_bluez.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | pub use super::interface::ProfileManagerProxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/simple_server.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let obj = objects.get(path).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `iface_added_handle`, and `iface_removed_handle` are never read [INFO] [stdout] --> src/simple_server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BluetoothServer { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 13 | conn: Connection, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | iface_added_handle: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | iface_removed_handle: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_adapter`, `get_objects_manager`, `get_device`, and `cleanup` are never used [INFO] [stdout] --> src/simple_server.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl BluetoothServer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn get_adapter(&self) -> zbus::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_objects_manager(&self) -> zbus::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn get_device(&self, address: &str) -> zbus::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn cleanup(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `address_to_object_path` is never used [INFO] [stdout] --> src/simple_server.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn address_to_object_path(addr: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:478:42 [INFO] [stdout] | [INFO] [stdout] 478 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 479 | | let inner = inner.0; [INFO] [stdout] 480 | | let method = SimpleRemoveSvc(inner); [INFO] [stdout] 481 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 492 | | Ok(res) [INFO] [stdout] 493 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:492:25 [INFO] [stdout] | [INFO] [stdout] 492 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:528:42 [INFO] [stdout] | [INFO] [stdout] 528 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 529 | | let inner = inner.0; [INFO] [stdout] 530 | | let method = SimplePowerResetSvc(inner); [INFO] [stdout] 531 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 542 | | Ok(res) [INFO] [stdout] 543 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:542:25 [INFO] [stdout] | [INFO] [stdout] 542 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:578:42 [INFO] [stdout] | [INFO] [stdout] 578 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 579 | | let inner = inner.0; [INFO] [stdout] 580 | | let method = SimpleConnectSvc(inner); [INFO] [stdout] 581 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 592 | | Ok(res) [INFO] [stdout] 593 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:592:25 [INFO] [stdout] | [INFO] [stdout] 592 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:628:42 [INFO] [stdout] | [INFO] [stdout] 628 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 629 | | let inner = inner.0; [INFO] [stdout] 630 | | let method = SimpleDisconnectSvc(inner); [INFO] [stdout] 631 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 642 | | Ok(res) [INFO] [stdout] 643 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:642:25 [INFO] [stdout] | [INFO] [stdout] 642 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:678:42 [INFO] [stdout] | [INFO] [stdout] 678 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 679 | | let inner = inner.0; [INFO] [stdout] 680 | | let method = SimplePlayMediaSvc(inner); [INFO] [stdout] 681 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 692 | | Ok(res) [INFO] [stdout] 693 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:692:25 [INFO] [stdout] | [INFO] [stdout] 692 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:728:42 [INFO] [stdout] | [INFO] [stdout] 728 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 729 | | let inner = inner.0; [INFO] [stdout] 730 | | let method = SimpleCommandSvc(inner); [INFO] [stdout] 731 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 742 | | Ok(res) [INFO] [stdout] 743 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:742:25 [INFO] [stdout] | [INFO] [stdout] 742 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:747:41 [INFO] [stdout] | [INFO] [stdout] 747 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 748 | | Ok( [INFO] [stdout] 749 | | http::Response::builder() [INFO] [stdout] 750 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 756 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:748:25 [INFO] [stdout] | [INFO] [stdout] 748 | / Ok( [INFO] [stdout] 749 | | http::Response::builder() [INFO] [stdout] 750 | | .status(200) [INFO] [stdout] 751 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 754 | | .unwrap(), [INFO] [stdout] 755 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple_server.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn get_adapter(&self) -> zbus::Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn get_adapter(&self) -> zbus::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple_server.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn get_objects_manager(&self) -> zbus::Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn get_objects_manager(&self) -> zbus::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple_server.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_device(&self, address: &str) -> zbus::Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_device(&self, address: &str) -> zbus::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_interface.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/simple_server.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let obj = objects.get(path).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zbluez` (bin "zbluez" test) due to 14 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `conn`, `iface_added_handle`, and `iface_removed_handle` are never read [INFO] [stdout] --> src/simple_server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BluetoothServer { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 13 | conn: Connection, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | iface_added_handle: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | iface_removed_handle: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_adapter`, `get_objects_manager`, `get_device`, and `cleanup` are never used [INFO] [stdout] --> src/simple_server.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl BluetoothServer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn get_adapter(&self) -> zbus::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_objects_manager(&self) -> zbus::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn get_device(&self, address: &str) -> zbus::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn cleanup(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `address_to_object_path` is never used [INFO] [stdout] --> src/simple_server.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn address_to_object_path(addr: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:478:42 [INFO] [stdout] | [INFO] [stdout] 478 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 479 | | let inner = inner.0; [INFO] [stdout] 480 | | let method = SimpleRemoveSvc(inner); [INFO] [stdout] 481 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 492 | | Ok(res) [INFO] [stdout] 493 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:492:25 [INFO] [stdout] | [INFO] [stdout] 492 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:528:42 [INFO] [stdout] | [INFO] [stdout] 528 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 529 | | let inner = inner.0; [INFO] [stdout] 530 | | let method = SimplePowerResetSvc(inner); [INFO] [stdout] 531 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 542 | | Ok(res) [INFO] [stdout] 543 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:542:25 [INFO] [stdout] | [INFO] [stdout] 542 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:578:42 [INFO] [stdout] | [INFO] [stdout] 578 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 579 | | let inner = inner.0; [INFO] [stdout] 580 | | let method = SimpleConnectSvc(inner); [INFO] [stdout] 581 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 592 | | Ok(res) [INFO] [stdout] 593 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:592:25 [INFO] [stdout] | [INFO] [stdout] 592 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:628:42 [INFO] [stdout] | [INFO] [stdout] 628 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 629 | | let inner = inner.0; [INFO] [stdout] 630 | | let method = SimpleDisconnectSvc(inner); [INFO] [stdout] 631 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 642 | | Ok(res) [INFO] [stdout] 643 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:642:25 [INFO] [stdout] | [INFO] [stdout] 642 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:678:42 [INFO] [stdout] | [INFO] [stdout] 678 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 679 | | let inner = inner.0; [INFO] [stdout] 680 | | let method = SimplePlayMediaSvc(inner); [INFO] [stdout] 681 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 692 | | Ok(res) [INFO] [stdout] 693 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:692:25 [INFO] [stdout] | [INFO] [stdout] 692 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:728:42 [INFO] [stdout] | [INFO] [stdout] 728 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 729 | | let inner = inner.0; [INFO] [stdout] 730 | | let method = SimpleCommandSvc(inner); [INFO] [stdout] 731 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 742 | | Ok(res) [INFO] [stdout] 743 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:742:25 [INFO] [stdout] | [INFO] [stdout] 742 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:747:41 [INFO] [stdout] | [INFO] [stdout] 747 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 748 | | Ok( [INFO] [stdout] 749 | | http::Response::builder() [INFO] [stdout] 750 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 756 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/rpc/grpc_bluez.rs:748:25 [INFO] [stdout] | [INFO] [stdout] 748 | / Ok( [INFO] [stdout] 749 | | http::Response::builder() [INFO] [stdout] 750 | | .status(200) [INFO] [stdout] 751 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 754 | | .unwrap(), [INFO] [stdout] 755 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple_server.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn get_adapter(&self) -> zbus::Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn get_adapter(&self) -> zbus::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple_server.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn get_objects_manager(&self) -> zbus::Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn get_objects_manager(&self) -> zbus::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/simple_server.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_device(&self, address: &str) -> zbus::Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_device(&self, address: &str) -> zbus::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zbluez` (bin "zbluez") due to 14 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0241d5149b22769dab4ab20a5b4e3c06893cb297f20250c49daf4fe4ea179c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0241d5149b22769dab4ab20a5b4e3c06893cb297f20250c49daf4fe4ea179c3e", kill_on_drop: false }` [INFO] [stdout] 0241d5149b22769dab4ab20a5b4e3c06893cb297f20250c49daf4fe4ea179c3e