Skip to content

circuits: mpc-ciruits: settle: Add settlement ciruit #1562

circuits: mpc-ciruits: settle: Add settlement ciruit

circuits: mpc-ciruits: settle: Add settlement ciruit #1562

Triggered via push November 25, 2023 23:26
Status Success
Total duration 27s
Artifacts

rustfmt.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 5 warnings
this argument is passed by value, but not consumed in the function body: circuit-macros/src/circuit_type.rs#L388
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:388:28 | 388 | 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#L387
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:387:34 | 387 | 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#L343
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:343:25 | 343 | 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#L342
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:342:23 | 342 | 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#L341
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:341:22 | 341 | 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#L278
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:278:18 | 278 | 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#L277
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:277:16 | 277 | 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#L276
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:276:18 | 276 | 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#L249
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:249:18 | 249 | 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#L248
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:248:18 | 248 | 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#L224
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:224:31 | 224 | 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#L219
error: this argument is passed by value, but not consumed in the function body --> circuit-macros/src/circuit_type.rs:219:32 | 219 | 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`
format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/