Merge pull request #180 from idky137/zaino_serve_2 #437
ci.yml
on: push
Bitrot check
8m 41s
Clippy (MSRV)
6m 50s
Clippy (beta)
12s
Code coverage
4m 28s
Intra-doc links
8m 41s
Rustfmt
11s
Matrix: build-latest
Matrix: test
Annotations
17 errors
Clippy (beta)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Code coverage
Process completed with exit code 1.
|
this function has too many arguments (9/7):
zaino-state/src/config.rs#L30
error: this function has too many arguments (9/7)
--> zaino-state/src/config.rs:30:5
|
30 | / pub fn new(
31 | | validator_config: zebra_state::Config,
32 | | validator_rpc_address: std::net::SocketAddr,
33 | | validator_cookie_auth: bool,
... |
39 | | network: zebra_chain::parameters::Network,
40 | | ) -> Self {
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`
|
manual implementation of `Option::map`:
zaino-state/src/local_cache.rs#L58
error: manual implementation of `Option::map`
--> zaino-state/src/local_cache.rs:58:42
|
58 | let finalised_state_subscriber = match &self.finalised_state {
| __________________________________________^
59 | | Some(finalised_state) => Some(finalised_state.subscriber()),
60 | | None => None,
61 | | };
| |_________^ help: try: `self.finalised_state.as_ref().map(|finalised_state| finalised_state.subscriber())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map
= note: `-D clippy::manual-map` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_map)]`
|
unused import: `test_node_and_return_url`:
zaino-state/src/state.rs#L39
error: unused import: `test_node_and_return_url`
--> zaino-state/src/state.rs:39:39
|
39 | use zaino_fetch::jsonrpc::connector::{test_node_and_return_url, JsonRpcConnector};
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::path::Path`:
zaino-state/src/state.rs#L7
error: unused import: `std::path::Path`
--> zaino-state/src/state.rs:7:5
|
7 | use std::path::Path;
| ^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
Clippy (MSRV)
Clippy had exited with the 101 exit code
|
Latest build on macOS-latest
Process completed with exit code 101.
|
Latest build on windows-latest
The job was canceled because "macOS-latest" failed.
|
Latest build on windows-latest
The operation was canceled.
|
Latest build on ubuntu-latest
The job was canceled because "macOS-latest" failed.
|
Latest build on ubuntu-latest
The operation was canceled.
|
Test on macOS-latest
Process completed with exit code 101.
|
Test on windows-latest
The job was canceled because "macOS-latest" failed.
|
Test on windows-latest
The operation was canceled.
|
Test on ubuntu-latest
The job was canceled because "macOS-latest" failed.
|
Test on ubuntu-latest
The operation was canceled.
|