fix Barrier import in doctest #50
Annotations
1 error and 13 warnings
Test
Process completed with exit code 101.
|
the borrowed expression implements the required traits:
src/redis/barrier.rs#L160
warning: the borrowed expression implements the required traits
--> src/redis/barrier.rs:160:18
|
160 | .arg(&num)
| ^^^^ help: change this to: `num`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
src/redis/barrier.rs#L159
warning: the borrowed expression implements the required traits
--> src/redis/barrier.rs:159:18
|
159 | .arg(&key)
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
field `conn` is never read:
src/redis/rwlock/lock.rs#L78
warning: field `conn` is never read
--> src/redis/rwlock/lock.rs:78:16
|
76 | pub struct RwLock<T> {
| ------ field in this struct
77 | pub(crate) data: Generic<T>,
78 | pub(crate) conn: Option<redis::Connection>,
| ^^^^
|
enum `BarrierError` is never used:
src/redis/barrier.rs#L150
warning: enum `BarrierError` is never used
--> src/redis/barrier.rs:150:6
|
150 | enum BarrierError {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
redundant field names in struct initialization:
src/redis/barrier.rs#L165
warning: redundant field names in struct initialization
--> src/redis/barrier.rs:165:13
|
165 | uuid: uuid,
| ^^^^^^^^^^ help: replace it with: `uuid`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `#[warn(clippy::redundant_field_names)]` on by default
|
Clippy check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|