[WIP] chore(ci): add remote testing script #918
clippy
18 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 18 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.71.0 (8ede3aae2 2023-07-12)
- cargo 1.71.0 (cfd3bbd8f 2023-06-08)
- clippy 0.1.71 (8ede3aa 2023-07-12)
Annotations
Check failure on line 237 in src/builder/task.rs
github-actions / clippy
using `clone` on type `H160` which implements the `Copy` trait
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
Check failure on line 226 in src/builder/task.rs
github-actions / clippy
using `clone` on type `H160` which implements the `Copy` trait
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`
Check failure on line 25 in src/builder/server/remote/error.rs
github-actions / clippy
unused variable: `value`
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`
Check failure on line 19 in src/builder/server/remote/error.rs
github-actions / clippy
unused variable: `value`
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`
Check failure on line 44 in src/builder/server/local/client.rs
github-actions / clippy
unused variable: `chain_id`
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`
Check failure on line 40 in src/op_pool/server/remote/server.rs
github-actions / clippy
unused imports: `PoolOperation`, `error::MempoolError`
error: unused imports: `PoolOperation`, `error::MempoolError`
--> src/op_pool/server/remote/server.rs:40:9
|
40 | error::MempoolError, Mempool, MempoolGroup, OperationOrigin, PoolOperation, Reputation,
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
Check failure on line 21 in src/op_pool/server/remote/server.rs
github-actions / clippy
unused import: `tower::balance::pool`
error: unused import: `tower::balance::pool`
--> src/op_pool/server/remote/server.rs:21:5
|
21 | use tower::balance::pool;
| ^^^^^^^^^^^^^^^^^^^^
Check failure on line 20 in src/op_pool/server/remote/server.rs
github-actions / clippy
unused import: `Code`
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};
| ^^^^
Check failure on line 13 in src/op_pool/server/remote/server.rs
github-actions / clippy
unused import: `prost::Message`
error: unused import: `prost::Message`
--> src/op_pool/server/remote/server.rs:13:5
|
13 | use prost::Message;
| ^^^^^^^^^^^^^^
Check failure on line 10 in src/op_pool/server/remote/server.rs
github-actions / clippy
unused import: `utils::to_checksum`
error: unused import: `utils::to_checksum`
--> src/op_pool/server/remote/server.rs:10:5
|
10 | utils::to_checksum,
| ^^^^^^^^^^^^^^^^^^
Check failure on line 2 in src/op_pool/server/remote/server.rs
github-actions / clippy
unused import: `collections::HashMap`
error: unused import: `collections::HashMap`
--> src/op_pool/server/remote/server.rs:2:5
|
2 | collections::HashMap,
| ^^^^^^^^^^^^^^^^^^^^
Check failure on line 2 in src/op_pool/server/remote/protos.rs
github-actions / clippy
unused import: `U256`
error: unused import: `U256`
--> src/op_pool/server/remote/protos.rs:2:36
|
2 | use ethers::types::{Address, H256, U256};
| ^^^^
Check failure on line 1 in src/op_pool/server/remote/protos.rs
github-actions / clippy
unused import: `bail`
error: unused import: `bail`
--> src/op_pool/server/remote/protos.rs:1:14
|
1 | use anyhow::{bail, Context};
| ^^^^
Check failure on line 20 in src/op_pool/server/remote/client.rs
github-actions / clippy
unused import: `FromProtoBytes`
error: unused import: `FromProtoBytes`
--> src/op_pool/server/remote/client.rs:20:47
|
20 | protos::{from_bytes, ConversionError, FromProtoBytes},
| ^^^^^^^^^^^^^^
Check failure on line 3 in src/op_pool/server/remote/client.rs
github-actions / clippy
unused import: `Context`
error: unused import: `Context`
--> src/op_pool/server/remote/client.rs:3:20
|
3 | use anyhow::{bail, Context};
| ^^^^^^^
Check failure on line 3 in src/op_pool/server/error.rs
github-actions / clippy
unused import: `ethers::types::Address`
error: unused import: `ethers::types::Address`
--> src/op_pool/server/error.rs:3:5
|
3 | use ethers::types::Address;
| ^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 1 in src/op_pool/server/error.rs
github-actions / clippy
unused imports: `Display`, `Formatter`
error: unused imports: `Display`, `Formatter`
--> src/op_pool/server/error.rs:1:16
|
1 | use std::fmt::{Display, Formatter};
| ^^^^^^^ ^^^^^^^^^
Check failure on line 9 in src/cli/rpc.rs
github-actions / clippy
unused import: `op_pool::PoolClientMode`
error: unused import: `op_pool::PoolClientMode`
--> src/cli/rpc.rs:9:5
|
9 | op_pool::PoolClientMode,
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`