arbitrum-client: add integration test setup #1379
Annotations
17 errors and 1 warning
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L387
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:387:28
|
387 | associated_type_ident: Path,
| ^^^^ help: consider taking a reference instead: `&Path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L386
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:386:34
|
386 | type_derivation_trait_ident: Path,
| ^^^^ help: consider taking a reference instead: `&Path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L342
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:342:25
|
342 | deserialize_method: Ident,
| ^^^^^ help: consider taking a reference instead: `&Ident`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L341
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:341:23
|
341 | serialize_method: Ident,
| ^^^^^ help: consider taking a reference instead: `&Ident`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L340
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:340:22
|
340 | serialized_type: Path,
| ^^^^ help: consider taking a reference instead: `&Path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L277
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:277:18
|
277 | trait_ident: Path,
| ^^^^ help: consider taking a reference instead: `&Path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L276
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:276:16
|
276 | from_type: Path,
| ^^^^ help: consider taking a reference instead: `&Path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L275
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:275:18
|
275 | method_name: Ident,
| ^^^^^ help: consider taking a reference instead: `&Ident`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L248
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:248:18
|
248 | target_type: Path,
| ^^^^ help: consider taking a reference instead: `&Path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L247
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:247:18
|
247 | method_name: Ident,
| ^^^^^ help: consider taking a reference instead: `&Ident`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L223
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:223:31
|
223 | fn ident_with_generics(ident: Ident, generics: Generics) -> Path {
| ^^^^^ help: consider taking a reference instead: `&Ident`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L218
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:218:32
|
218 | fn path_from_ident(identifier: Ident) -> Path {
| ^^^^^ help: consider taking a reference instead: `&Ident`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L114
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:114:72
|
114 | pub(crate) fn circuit_type_impl(target_struct: ItemStruct, macro_args: MacroArgs) -> TokenStream {
| ^^^^^^^^^ help: consider taking a reference instead: `&MacroArgs`
|
help: consider marking this type as `Copy`
--> circuit-macros/src/circuit_type.rs:54:1
|
54 | pub(crate) struct MacroArgs {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type.rs#L114
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type.rs:114:48
|
114 | pub(crate) fn circuit_type_impl(target_struct: ItemStruct, macro_args: MacroArgs) -> TokenStream {
| ^^^^^^^^^^ help: consider taking a reference instead: `&ItemStruct`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_type/singleprover_circuit_types.rs#L113
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_type/singleprover_circuit_types.rs:113:60
|
113 | fn build_var_type_impl(var_struct: &ItemStruct, base_name: Path) -> TokenStream2 {
| ^^^^ help: consider taking a reference instead: `&Path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
this argument is passed by value, but not consumed in the function body:
circuit-macros/src/circuit_trace.rs#L76
error: this argument is passed by value, but not consumed in the function body
--> circuit-macros/src/circuit_trace.rs:76:45
|
76 | pub(crate) fn circuit_trace_impl(target_fn: ItemFn, macro_args: MacroArgs) -> TokenStream {
| ^^^^^^ help: consider taking a reference instead: `&ItemFn`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
= note: requested on the command line with `-D clippy::needless-pass-by-value`
|
cargo-test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
cargo-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|