version 1.0.2 #95
tests.yml
on: push
Internal Tests
1m 24s
Matrix: Integration Tests
Annotations
12 warnings and 1 notice
Integration Tests (stable, 1.0.16)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Internal Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, emibcn/[email protected], andymckay/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
this import is redundant:
client/src/client.rs#L10
warning: this import is redundant
--> client/src/client.rs:10:1
|
10 | use jsonrpc;
| ^^^^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
= note: `#[warn(clippy::single_component_path_imports)]` on by default
|
this import is redundant:
client/src/client.rs#L11
warning: this import is redundant
--> client/src/client.rs:11:1
|
11 | use serde;
| ^^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
|
this import is redundant:
client/src/client.rs#L12
warning: this import is redundant
--> client/src/client.rs:12:1
|
12 | use serde_json;
| ^^^^^^^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
|
the following explicit lifetimes could be elided: 'b:
client/src/client.rs#L74
warning: the following explicit lifetimes could be elided: 'b
--> client/src/client.rs:74:24
|
74 | fn handle_defaults<'a, 'b>(
| ^^
75 | args: &'a mut [serde_json::Value],
76 | defaults: &'b [serde_json::Value],
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
74 ~ fn handle_defaults<'a>(
75 | args: &'a mut [serde_json::Value],
76 ~ defaults: &[serde_json::Value],
|
|
the borrowed expression implements the required traits:
client/src/client.rs#L157
warning: the borrowed expression implements the required traits
--> client/src/client.rs:157:25
|
157 | &[into_json(&subnet)?, into_json("add")?, into_json(&bantime)?, into_json(&absolute)?],
| ^^^^^^^ help: change this to: `subnet`
|
= 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
|
the borrowed expression implements the required traits:
client/src/client.rs#L157
warning: the borrowed expression implements the required traits
--> client/src/client.rs:157:65
|
157 | &[into_json(&subnet)?, into_json("add")?, into_json(&bantime)?, into_json(&absolute)?],
| ^^^^^^^^ help: change this to: `bantime`
|
= 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:
client/src/client.rs#L157
warning: the borrowed expression implements the required traits
--> client/src/client.rs:157:87
|
157 | &[into_json(&subnet)?, into_json("add")?, into_json(&bantime)?, into_json(&absolute)?],
| ^^^^^^^^^ help: change this to: `absolute`
|
= 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:
client/src/client.rs#L163
warning: the borrowed expression implements the required traits
--> client/src/client.rs:163:42
|
163 | self.call("addnode", &[into_json(&addr)?, into_json("add")?])
| ^^^^^ help: change this to: `addr`
|
= 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:
client/src/client.rs#L208
warning: the borrowed expression implements the required traits
--> client/src/client.rs:208:49
|
208 | self.call("disconnectnode", &[into_json(&addr)?])
| ^^^^^ help: change this to: `addr`
|
= 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:
client/src/client.rs#L219
warning: the borrowed expression implements the required traits
--> client/src/client.rs:219:55
|
219 | self.call("getaddednodeinfo", &[into_json(&addr)?])
| ^^^^^ help: change this to: `addr`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
8 tests found
There are 8 tests, see "Raw output" for the full list of tests.
|