Skip to content

Merge pull request #180 from idky137/zaino_serve_2 #437

Merge pull request #180 from idky137/zaino_serve_2

Merge pull request #180 from idky137/zaino_serve_2 #437

Triggered via push February 12, 2025 16:58
Status Failure
Total duration 13m 13s
Artifacts

ci.yml

on: push
Matrix: build-latest
Matrix: test
Fit to window
Zoom out
Zoom in

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.