Skip to content

app_persistency: new implementation #282

app_persistency: new implementation

app_persistency: new implementation #282

Triggered via push September 7, 2023 14:03
Status Failure
Total duration 1m 49s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

cargo_test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
deref which would be done by auto-deref: tpi_rs/src/middleware/persistency/binary_persistency.rs#L146
error: deref which would be done by auto-deref --> tpi_rs/src/middleware/persistency/binary_persistency.rs:146:13 | 146 | (*cache).1.as_ref().unwrap().send(Instant::now())?; | ^^^^^^^^ help: try this: `cache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: tpi_rs/src/middleware/persistency/binary_persistency.rs#L143
error: deref which would be done by auto-deref --> tpi_rs/src/middleware/persistency/binary_persistency.rs:143:24 | 143 | let previous = (*cache).0.insert(default_hash(key), encoded.clone()); | ^^^^^^^^ help: try this: `cache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: tpi_rs/src/middleware/persistency/binary_persistency.rs#L97
error: deref which would be done by auto-deref --> tpi_rs/src/middleware/persistency/binary_persistency.rs:97:40 | 97 | let data = bincode::serialize(&(*cache).0)?; | ^^^^^^^^ help: try this: `cache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref = note: `-D clippy::explicit-auto-deref` implied by `-D warnings`
very complex type used. Consider factoring parts into `type` definitions: tpi_rs/src/middleware/persistency/binary_persistency.rs#L43
error: very complex type used. Consider factoring parts into `type` definitions --> tpi_rs/src/middleware/persistency/binary_persistency.rs:43:12 | 43 | cache: RwLock<(HashMap<u64, Vec<u8>>, Option<Sender<Instant>>)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `-D clippy::type-complexity` implied by `-D warnings`
clippy_check
Clippy had exited with the 101 exit code
deref which would be done by auto-deref: tpi_rs/src/middleware/persistency/binary_persistency.rs#L146
error: deref which would be done by auto-deref --> tpi_rs/src/middleware/persistency/binary_persistency.rs:146:13 | 146 | (*cache).1.as_ref().unwrap().send(Instant::now())?; | ^^^^^^^^ help: try this: `cache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: tpi_rs/src/middleware/persistency/binary_persistency.rs#L143
error: deref which would be done by auto-deref --> tpi_rs/src/middleware/persistency/binary_persistency.rs:143:24 | 143 | let previous = (*cache).0.insert(default_hash(key), encoded.clone()); | ^^^^^^^^ help: try this: `cache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: tpi_rs/src/middleware/persistency/binary_persistency.rs#L97
error: deref which would be done by auto-deref --> tpi_rs/src/middleware/persistency/binary_persistency.rs:97:40 | 97 | let data = bincode::serialize(&(*cache).0)?; | ^^^^^^^^ help: try this: `cache` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref = note: `-D clippy::explicit-auto-deref` implied by `-D warnings`
very complex type used. Consider factoring parts into `type` definitions: tpi_rs/src/middleware/persistency/binary_persistency.rs#L43
error: very complex type used. Consider factoring parts into `type` definitions --> tpi_rs/src/middleware/persistency/binary_persistency.rs:43:12 | 43 | cache: RwLock<(HashMap<u64, Vec<u8>>, Option<Sender<Instant>>)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `-D clippy::type-complexity` implied by `-D warnings`
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/