Skip to content

Recreate client on reconnect #87

Recreate client on reconnect

Recreate client on reconnect #87

Triggered via push July 5, 2023 21:12
Status Failure
Total duration 4m 7s
Artifacts 2

build.yaml

on: push
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

4 errors
this expression creates a reference which is immediately dereferenced by the compiler: src/client.rs#L64
error: this expression creates a reference which is immediately dereferenced by the compiler --> src/client.rs:64:44 | 64 | return adapter.open_device(&device_id).await.map_err(Into::into) | ^^^^^^^^^^ help: change this to: `device_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings`
field `adapter` is never read: src/client.rs#L23
error: field `adapter` is never read --> src/client.rs:23:5 | 22 | pub struct CharacteristicClient { | -------------------- field in this struct 23 | adapter: Arc<Adapter>, | ^^^^^^^ | = note: `-D dead-code` implied by `-D warnings`
unused import: `future::Future`: src/client.rs#L5
error: unused import: `future::Future` --> src/client.rs:5:11 | 5 | use std::{future::Future, sync::Arc}; | ^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings`
Lint
Clippy had exited with the 101 exit code

Artifacts

Produced during runtime
Name Size
tuerschloss-aarch64-unknown-linux-gnu Expired
9.33 MB
tuerschloss-x86_64-unknown-linux-gnu Expired
9.09 MB