Skip to content

[WIP] chore(ci): add remote testing script #918

[WIP] chore(ci): add remote testing script

[WIP] chore(ci): add remote testing script #918

Triggered via pull request July 28, 2023 20:53
Status Failure
Total duration 4m 10s
Artifacts

ci.yml

on: pull_request
test
2m 26s
test
lint
3m 59s
lint
check conventional commit compliance
4s
check conventional commit compliance
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
check conventional commit compliance
Process completed with exit code 1.
using `clone` on type `H160` which implements the `Copy` trait: src/builder/task.rs#L237
error: using `clone` on type `H160` which implements the `Copy` trait --> src/builder/task.rs:237:26 | 237 | vec![self.args.entry_point_address.clone()], | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.args.entry_point_address` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
using `clone` on type `H160` which implements the `Copy` trait: src/builder/task.rs#L226
error: using `clone` on type `H160` which implements the `Copy` trait --> src/builder/task.rs:226:26 | 226 | vec![self.args.entry_point_address.clone()], | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.args.entry_point_address` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `-D clippy::clone-on-copy` implied by `-D warnings`
unused variable: `value`: src/builder/server/remote/error.rs#L25
error: unused variable: `value` --> src/builder/server/remote/error.rs:25:13 | 25 | fn from(value: BuilderServerError) -> Self { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
unused variable: `value`: src/builder/server/remote/error.rs#L19
error: unused variable: `value` --> src/builder/server/remote/error.rs:19:17 | 19 | fn try_from(value: ProtoBuilderError) -> Result<Self, Self::Error> { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
unused variable: `chain_id`: src/builder/server/local/client.rs#L44
error: unused variable: `chain_id` --> src/builder/server/local/client.rs:44:17 | 44 | chain_id, | ^^^^^^^^ help: try ignoring the field: `chain_id: _` | = note: `-D unused-variables` implied by `-D warnings`
unused imports: `PoolOperation`, `error::MempoolError`: src/op_pool/server/remote/server.rs#L40
error: unused imports: `PoolOperation`, `error::MempoolError` --> src/op_pool/server/remote/server.rs:40:9 | 40 | error::MempoolError, Mempool, MempoolGroup, OperationOrigin, PoolOperation, Reputation, | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
unused import: `tower::balance::pool`: src/op_pool/server/remote/server.rs#L21
error: unused import: `tower::balance::pool` --> src/op_pool/server/remote/server.rs:21:5 | 21 | use tower::balance::pool; | ^^^^^^^^^^^^^^^^^^^^
unused import: `Code`: src/op_pool/server/remote/server.rs#L20
error: unused import: `Code` --> src/op_pool/server/remote/server.rs:20:45 | 20 | use tonic::{async_trait, transport::Server, Code, Request, Response, Result, Status}; | ^^^^
unused import: `prost::Message`: src/op_pool/server/remote/server.rs#L13
error: unused import: `prost::Message` --> src/op_pool/server/remote/server.rs:13:5 | 13 | use prost::Message; | ^^^^^^^^^^^^^^
unused import: `utils::to_checksum`: src/op_pool/server/remote/server.rs#L10
error: unused import: `utils::to_checksum` --> src/op_pool/server/remote/server.rs:10:5 | 10 | utils::to_checksum, | ^^^^^^^^^^^^^^^^^^
unused import: `collections::HashMap`: src/op_pool/server/remote/server.rs#L2
error: unused import: `collections::HashMap` --> src/op_pool/server/remote/server.rs:2:5 | 2 | collections::HashMap, | ^^^^^^^^^^^^^^^^^^^^
unused import: `U256`: src/op_pool/server/remote/protos.rs#L2
error: unused import: `U256` --> src/op_pool/server/remote/protos.rs:2:36 | 2 | use ethers::types::{Address, H256, U256}; | ^^^^
unused import: `bail`: src/op_pool/server/remote/protos.rs#L1
error: unused import: `bail` --> src/op_pool/server/remote/protos.rs:1:14 | 1 | use anyhow::{bail, Context}; | ^^^^
unused import: `FromProtoBytes`: src/op_pool/server/remote/client.rs#L20
error: unused import: `FromProtoBytes` --> src/op_pool/server/remote/client.rs:20:47 | 20 | protos::{from_bytes, ConversionError, FromProtoBytes}, | ^^^^^^^^^^^^^^
unused import: `Context`: src/op_pool/server/remote/client.rs#L3
error: unused import: `Context` --> src/op_pool/server/remote/client.rs:3:20 | 3 | use anyhow::{bail, Context}; | ^^^^^^^
unused import: `ethers::types::Address`: src/op_pool/server/error.rs#L3
error: unused import: `ethers::types::Address` --> src/op_pool/server/error.rs:3:5 | 3 | use ethers::types::Address; | ^^^^^^^^^^^^^^^^^^^^^^
unused imports: `Display`, `Formatter`: src/op_pool/server/error.rs#L1
error: unused imports: `Display`, `Formatter` --> src/op_pool/server/error.rs:1:16 | 1 | use std::fmt::{Display, Formatter}; | ^^^^^^^ ^^^^^^^^^
unused import: `op_pool::PoolClientMode`: src/cli/rpc.rs#L9
error: unused import: `op_pool::PoolClientMode` --> src/cli/rpc.rs:9:5 | 9 | op_pool::PoolClientMode, | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings`
lint
Clippy had exited with the 101 exit code
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1, 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/