CI: Fix bitrot job #4111
ci.yml
on: push
Bitrot check
2m 42s
Book tests
2m 55s
Code coverage
3m 48s
Intra-doc links
3m 14s
Rustfmt
13s
Matrix: build
Matrix: test-32-bit
Matrix: test
Annotations
31 errors and 276 warnings
the method `next_u64` exists for struct `rand::rngs::OsRng`, but its trait bounds were not satisfied:
halo2_gadgets/src/utilities.rs#L460
error[E0599]: the method `next_u64` exists for struct `rand::rngs::OsRng`, but its trait bounds were not satisfied
--> halo2_gadgets/src/utilities.rs:460:27
|
460 | let int = rng.next_u64();
| ^^^^^^^^
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/os.rs:48:1
|
48 | pub struct OsRng;
| ---------------- doesn't satisfy `rand::rngs::OsRng: lazy_static::__Deref`, `rand::rngs::OsRng: proptest::prelude::RngCore` or `rand::rngs::OsRng: std::ops::DerefMut`
|
= note: the following trait bounds were not satisfied:
`rand::rngs::OsRng: std::ops::DerefMut`
which is required by `rand::rngs::OsRng: proptest::prelude::RngCore`
`rand::rngs::OsRng: lazy_static::__Deref`
which is required by `rand::rngs::OsRng: proptest::prelude::RngCore`
= help: items from traits can only be used if the trait is in scope
help: trait `RngCore` which provides `next_u64` is implemented but not in scope; perhaps you want to import it
|
242 + use rand::RngCore;
|
|
Test on macOS-latest with beta features
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 101
|
Build target wasm32-unknown-unknown
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Test on macOS-latest with nightly features
The strategy configuration was canceled because "test.beta_macOS-latest" failed
|
Book tests
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Test on ubuntu-latest with nightly features
The operation was canceled.
|
Test on ubuntu-latest with nightly features
The strategy configuration was canceled because "test.beta_macOS-latest" failed
|
Test on ubuntu-latest with beta features
The operation was canceled.
|
Test on ubuntu-latest with beta features
The strategy configuration was canceled because "test.beta_macOS-latest" failed
|
Test on macOS-latest
The operation was canceled.
|
Test on macOS-latest
The strategy configuration was canceled because "test.beta_macOS-latest" failed
|
Test on windows-latest with beta features
The operation was canceled.
|
Test on windows-latest with beta features
The strategy configuration was canceled because "test.beta_macOS-latest" failed
|
Test on windows-latest
The operation was canceled.
|
Test on windows-latest
The strategy configuration was canceled because "test.beta_macOS-latest" failed
|
Test on ubuntu-latest
The operation was canceled.
|
Test on ubuntu-latest
The strategy configuration was canceled because "test.beta_macOS-latest" failed
|
Build target wasm32-wasi
The operation was canceled.
|
Build target wasm32-wasi
The strategy configuration was canceled because "build.wasm32-unknown-unknown" failed
|
Test on windows-latest with nightly features
The operation was canceled.
|
Test on windows-latest with nightly features
The strategy configuration was canceled because "test.beta_macOS-latest" failed
|
Test on i686-unknown-linux-gnu with beta features
Process completed with exit code 101.
|
Test on i686-unknown-linux-gnu with nightly features
Process completed with exit code 101.
|
Test on i686-unknown-linux-gnu with nightly features
The strategy configuration was canceled because "test-32-bit.beta" failed
|
Test on i686-unknown-linux-gnu
The operation was canceled.
|
Test on i686-unknown-linux-gnu
The strategy configuration was canceled because "test-32-bit.beta" failed
|
Intra-doc links
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Code coverage
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Code coverage:
halo2_gadgets/src/utilities.rs#L460
the method `next_u64` exists for struct `OsRng`, but its trait bounds were not satisfied
|
Code coverage
could not compile `halo2_gadgets` (lib test) due to 1 previous error
|
Code coverage
Broken pipe (os error 32)
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
the borrowed expression implements the required traits:
halo2_gadgets/benches/poseidon.rs#L127
warning: the borrowed expression implements the required traits
--> halo2_gadgets/benches/poseidon.rs:127:25
|
127 | val.pow_vartime(&[5])
| ^^^^ help: change this to: `[5]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-W clippy::needless-borrows-for-generic-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrows_for_generic_args)]`
|
use of `default` to create a unit struct:
halo2_gadgets/src/utilities.rs#L127
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/utilities.rs:127:23
|
127 | _phantom: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_gadgets/src/utilities.rs#L118
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/utilities.rs:118:23
|
118 | _phantom: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_gadgets/src/utilities.rs#L103
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/utilities.rs:103:23
|
103 | _phantom: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/utilities/lookup_range_check.rs#L375
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/utilities/lookup_range_check.rs:375:16
|
375 | || format!("2^(-{})", num_bits),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
375 - || format!("2^(-{})", num_bits),
375 + || format!("2^(-{num_bits})"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/utilities/lookup_range_check.rs#L366
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/utilities/lookup_range_check.rs:366:16
|
366 | || format!("element * 2^({}-{})", K, num_bits),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
366 - || format!("element * 2^({}-{})", K, num_bits),
366 + || format!("element * 2^({K}-{num_bits})"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/utilities/lookup_range_check.rs#L331
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/utilities/lookup_range_check.rs:331:16
|
331 | || format!("Range check {:?} bits", num_bits),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
331 - || format!("Range check {:?} bits", num_bits),
331 + || format!("Range check {num_bits:?} bits"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/utilities/lookup_range_check.rs#L307
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/utilities/lookup_range_check.rs:307:16
|
307 | || format!("Range check {:?} bits", num_bits),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
307 - || format!("Range check {:?} bits", num_bits),
307 + || format!("Range check {num_bits:?} bits"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/utilities/lookup_range_check.rs#L188
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/utilities/lookup_range_check.rs:188:16
|
188 | || format!("{:?} words range check", num_words),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
188 - || format!("{:?} words range check", num_words),
188 + || format!("{num_words:?} words range check"),
|
|
use of `default` to create a unit struct:
halo2_gadgets/src/utilities/lookup_range_check.rs#L52
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/utilities/lookup_range_check.rs:52:27
|
52 | _phantom: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sinsemilla.rs#L135
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sinsemilla.rs:135:47
|
135 | layouter.namespace(|| format!("message piece {}", i)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
135 - layouter.namespace(|| format!("message piece {}", i)),
135 + layouter.namespace(|| format!("message piece {i}")),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sinsemilla/primitives.rs#L195
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sinsemilla/primitives.rs:195:24
|
195 | let r_prefix = format!("{}-r", domain);
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
195 - let r_prefix = format!("{}-r", domain);
195 + let r_prefix = format!("{domain}-r");
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sinsemilla/primitives.rs#L194
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sinsemilla/primitives.rs:194:24
|
194 | let m_prefix = format!("{}-M", domain);
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
194 - let m_prefix = format!("{}-M", domain);
194 + let m_prefix = format!("{domain}-M");
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sinsemilla/merkle.rs#L161
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sinsemilla/merkle.rs:161:39
|
161 | layouter.namespace(|| format!("MerkleCRH({}, left, right)", l)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
161 - layouter.namespace(|| format!("MerkleCRH({}, left, right)", l)),
161 + layouter.namespace(|| format!("MerkleCRH({l}, left, right)")),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sinsemilla/merkle/chip.rs#L328
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sinsemilla/merkle/chip.rs:328:28
|
328 | || format!("l {}", l),
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
328 - || format!("l {}", l),
328 + || format!("l {l}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sinsemilla/merkle/chip.rs#L301
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sinsemilla/merkle/chip.rs:301:35
|
301 | layouter.namespace(|| format!("hash at l = {}", l)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
301 - layouter.namespace(|| format!("hash at l = {}", l)),
301 + layouter.namespace(|| format!("hash at l = {l}")),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sha256/table16/message_schedule/subregion3.rs#L177
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sha256/table16/message_schedule/subregion3.rs:177:20
|
177 | || format!("carry_{}", new_word_idx),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
177 - || format!("carry_{}", new_word_idx),
177 + || format!("carry_{new_word_idx}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sha256/table16/message_schedule/subregion3.rs#L171
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sha256/table16/message_schedule/subregion3.rs:171:20
|
171 | || format!("W_{}", new_word_idx),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
171 - || format!("W_{}", new_word_idx),
171 + || format!("W_{new_word_idx}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sha256/table16/message_schedule/subregion2.rs#L261
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sha256/table16/message_schedule/subregion2.rs:261:20
|
261 | || format!("carry_{}", new_word_idx),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
261 - || format!("carry_{}", new_word_idx),
261 + || format!("carry_{new_word_idx}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sha256/table16/message_schedule/subregion2.rs#L255
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sha256/table16/message_schedule/subregion2.rs:255:20
|
255 | || format!("W_{}", new_word_idx),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
255 - || format!("W_{}", new_word_idx),
255 + || format!("W_{new_word_idx}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sha256/table16/message_schedule/schedule_util.rs#L173
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sha256/table16/message_schedule/schedule_util.rs:173:16
|
173 | || format!("W_{}", word_idx),
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
173 - || format!("W_{}", word_idx),
173 + || format!("W_{word_idx}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sha256/table16/message_schedule/schedule_util.rs#L168
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sha256/table16/message_schedule/schedule_util.rs:168:51
|
168 | AssignedBits::<16>::assign(region, || format!("W_{}_hi", word_idx), a_4, row, w_hi_val)?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
168 - AssignedBits::<16>::assign(region, || format!("W_{}_hi", word_idx), a_4, row, w_hi_val)?
168 + AssignedBits::<16>::assign(region, || format!("W_{word_idx}_hi"), a_4, row, w_hi_val)?
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/sha256/table16/message_schedule/schedule_util.rs#L164
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/sha256/table16/message_schedule/schedule_util.rs:164:51
|
164 | AssignedBits::<16>::assign(region, || format!("W_{}_lo", word_idx), a_3, row, w_lo_val)?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
164 - AssignedBits::<16>::assign(region, || format!("W_{}_lo", word_idx), a_3, row, w_lo_val)?
164 + AssignedBits::<16>::assign(region, || format!("W_{word_idx}_lo"), a_3, row, w_lo_val)?
|
|
very complex type used. Consider factoring parts into `type` definitions:
halo2_gadgets/src/sha256/table16/compression/compression_gates.rs#L280
warning: very complex type used. Consider factoring parts into `type` definitions
--> halo2_gadgets/src/sha256/table16/compression/compression_gates.rs:280:10
|
280 | ) -> Constraints<
| __________^
281 | | F,
282 | | (&'static str, Expression<F>),
283 | | impl Iterator<Item = (&'static str, Expression<F>)>,
284 | | > {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
halo2_gadgets/src/sha256/table16/compression/compression_gates.rs#L105
warning: very complex type used. Consider factoring parts into `type` definitions
--> halo2_gadgets/src/sha256/table16/compression/compression_gates.rs:105:10
|
105 | ) -> Constraints<
| __________^
106 | | F,
107 | | (&'static str, Expression<F>),
108 | | impl Iterator<Item = (&'static str, Expression<F>)>,
109 | | > {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
halo2_gadgets/src/sha256/table16/compression/compression_gates.rs#L37
warning: very complex type used. Consider factoring parts into `type` definitions
--> halo2_gadgets/src/sha256/table16/compression/compression_gates.rs:37:10
|
37 | ) -> Constraints<
| __________^
38 | | F,
39 | | (&'static str, Expression<F>),
40 | | impl Iterator<Item = (&'static str, Expression<F>)>,
41 | | > {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `-W clippy::type-complexity` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::type_complexity)]`
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon.rs#L290
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon.rs:290:47
|
290 | .absorb(layouter.namespace(|| format!("absorb_{}", i)), value)?;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
290 - .absorb(layouter.namespace(|| format!("absorb_{}", i)), value)?;
290 + .absorb(layouter.namespace(|| format!("absorb_{i}")), value)?;
|
|
use of `default` to create a unit struct:
halo2_gadgets/src/poseidon.rs#L206
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/poseidon.rs:206:22
|
206 | _marker: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_gadgets/src/poseidon.rs#L159
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/poseidon.rs:159:22
|
159 | _marker: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_gadgets/src/poseidon/primitives.rs#L363
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/poseidon/primitives.rs:363:22
|
363 | _domain: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/primitives.rs#L310
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/primitives.rs:310:9
|
310 | format!("ConstantLength<{}>", L)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
310 - format!("ConstantLength<{}>", L)
310 + format!("ConstantLength<{L}>")
|
|
use of `default` to create a unit struct:
halo2_gadgets/src/poseidon/primitives.rs#L257
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/poseidon/primitives.rs:257:22
|
257 | _marker: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_gadgets/src/poseidon/primitives.rs#L220
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/poseidon/primitives.rs:220:22
|
220 | _marker: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_gadgets/src/poseidon/primitives/grain.rs#L72
warning: use of `default` to create a unit struct
--> halo2_gadgets/src/poseidon/primitives/grain.rs:72:21
|
72 | _field: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `-W clippy::default-constructed-unit-structs` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::default_constructed_unit_structs)]`
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/pow5.rs#L580
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/pow5.rs:580:20
|
580 | || format!("round_{} state_{}", next_round, i),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
580 - || format!("round_{} state_{}", next_round, i),
580 + || format!("round_{next_round} state_{i}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/pow5.rs#L564
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/pow5.rs:564:20
|
564 | || format!("round_{} rc_{}", round, i),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
564 - || format!("round_{} rc_{}", round, i),
564 + || format!("round_{round} rc_{i}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/pow5.rs#L542
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/pow5.rs:542:33
|
542 | .copy_advice(|| format!("load state_{}", i), region, config.state[i], 0)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
542 - .copy_advice(|| format!("load state_{}", i), region, config.state[i], 0)
542 + .copy_advice(|| format!("load state_{i}"), region, config.state[i], 0)
|
|
the borrowed expression implements the required traits:
halo2_gadgets/src/poseidon/pow5.rs#L511
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/poseidon/pow5.rs:511:77
|
511 | let r_0 = (p[0] + config.round_constants[round + 1][0]).pow(&config.alpha);
| ^^^^^^^^^^^^^ help: change this to: `config.alpha`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/pow5.rs#L480
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/pow5.rs:480:20
|
480 | || format!("round_{} partial_sbox", round),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
480 - || format!("round_{} partial_sbox", round),
480 + || format!("round_{round} partial_sbox"),
|
|
the borrowed expression implements the required traits:
halo2_gadgets/src/poseidon/pow5.rs#L471
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/poseidon/pow5.rs:471:73
|
471 | let r_0 = (p[0] + config.round_constants[round][0]).pow(&config.alpha);
| ^^^^^^^^^^^^^ help: change this to: `config.alpha`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
halo2_gadgets/src/poseidon/pow5.rs#L445
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/poseidon/pow5.rs:445:62
|
445 | let r: Value<Vec<F>> = q.map(|q| q.map(|q| q.pow(&config.alpha))).collect();
| ^^^^^^^^^^^^^ help: change this to: `config.alpha`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/pow5.rs#L376
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/pow5.rs:376:32
|
376 | ... || format!("load output_{}", i),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
376 - || format!("load output_{}", i),
376 + || format!("load output_{i}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/pow5.rs#L356
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/pow5.rs:356:32
|
356 | ... || format!("load input_{}", i),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
356 - || format!("load input_{}", i),
356 + || format!("load input_{i}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/pow5.rs#L347
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/pow5.rs:347:32
|
347 | ... || format!("load pad_{}", i),
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
347 - || format!("load pad_{}", i),
347 + || format!("load pad_{i}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/pow5.rs#L331
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/pow5.rs:331:32
|
331 | ... || format!("load state_{}", i),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
331 - || format!("load state_{}", i),
331 + || format!("load state_{i}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/poseidon/pow5.rs#L292
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/poseidon/pow5.rs:292:28
|
292 | || format!("state_{}", i),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
292 - || format!("state_{}", i),
292 + || format!("state_{i}"),
|
|
usage of `Iterator::fold` on a type that implements `Try`:
halo2_gadgets/src/poseidon/pow5.rs#L256
warning: usage of `Iterator::fold` on a type that implements `Try`
--> halo2_gadgets/src/poseidon/pow5.rs:256:58
|
256 | let state = (0..config.half_full_rounds).fold(Ok(state), |res, r| {
| __________________________________________________________^
257 | | res.and_then(|state| {
258 | | state.full_round(
259 | | &mut region,
... |
264 | | })
265 | | })?;
| |__________________^ help: use `try_fold` instead: `try_fold(state, |res, r| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
|
usage of `Iterator::fold` on a type that implements `Try`:
halo2_gadgets/src/poseidon/pow5.rs#L245
warning: usage of `Iterator::fold` on a type that implements `Try`
--> halo2_gadgets/src/poseidon/pow5.rs:245:61
|
245 | let state = (0..config.half_partial_rounds).fold(Ok(state), |res, r| {
| _____________________________________________________________^
246 | | res.and_then(|state| {
247 | | state.partial_round(
248 | | &mut region,
... |
253 | | })
254 | | })?;
| |__________________^ help: use `try_fold` instead: `try_fold(state, |res, r| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
|
usage of `Iterator::fold` on a type that implements `Try`:
halo2_gadgets/src/poseidon/pow5.rs#L241
warning: usage of `Iterator::fold` on a type that implements `Try`
--> halo2_gadgets/src/poseidon/pow5.rs:241:58
|
241 | let state = (0..config.half_full_rounds).fold(Ok(state), |res, r| {
| __________________________________________________________^
242 | | res.and_then(|state| state.full_round(&mut region, config, r, r))
243 | | })?;
| |__________________^ help: use `try_fold` instead: `try_fold(state, |res, r| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
= note: `-W clippy::manual-try-fold` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::manual_try_fold)]`
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/ecc/chip.rs#L590
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/ecc/chip.rs:590:35
|
590 | layouter.namespace(|| format!("base-field elem fixed-base mul of {:?}", base)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
590 - layouter.namespace(|| format!("base-field elem fixed-base mul of {:?}", base)),
590 + layouter.namespace(|| format!("base-field elem fixed-base mul of {base:?}")),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/ecc/chip.rs#L576
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/ecc/chip.rs:576:35
|
576 | layouter.namespace(|| format!("short fixed-base mul of {:?}", base)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
576 - layouter.namespace(|| format!("short fixed-base mul of {:?}", base)),
576 + layouter.namespace(|| format!("short fixed-base mul of {base:?}")),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/ecc/chip.rs#L562
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/ecc/chip.rs:562:35
|
562 | layouter.namespace(|| format!("fixed-base mul of {:?}", base)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
562 - layouter.namespace(|| format!("fixed-base mul of {:?}", base)),
562 + layouter.namespace(|| format!("fixed-base mul of {base:?}")),
|
|
the borrowed expression implements the required traits:
halo2_gadgets/src/ecc/chip/mul_fixed.rs#L395
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/ecc/chip/mul_fixed.rs:395:42
|
395 | .map(|k| k * (*H_SCALAR).pow(&[(NUM_WINDOWS - 1) as u64, 0, 0, 0]) - offset_acc);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `[(NUM_WINDOWS - 1) as u64, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
halo2_gadgets/src/ecc/chip/mul_fixed.rs#L390
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/ecc/chip/mul_fixed.rs:390:37
|
390 | acc + (*TWO_SCALAR).pow(&[FIXED_BASE_WINDOW_SIZE as u64 * w as u64 + 1, 0, 0, 0])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `[FIXED_BASE_WINDOW_SIZE as u64 * w as u64 + 1, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
halo2_gadgets/src/ecc/chip/mul_fixed.rs#L373
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/ecc/chip/mul_fixed.rs:373:68
|
373 | let scalar = k.map(|k| (k + *TWO_SCALAR) * (*H_SCALAR).pow(&[w as u64, 0, 0, 0]));
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `[w as u64, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/ecc/chip/mul_fixed.rs#L291
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/ecc/chip/mul_fixed.rs:291:20
|
291 | || format!("mul_b_y, window {}", w),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
291 - || format!("mul_b_y, window {}", w),
291 + || format!("mul_b_y, window {w}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/ecc/chip/mul_fixed.rs#L279
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/ecc/chip/mul_fixed.rs:279:20
|
279 | || format!("mul_b_x, window {}", w),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
279 - || format!("mul_b_x, window {}", w),
279 + || format!("mul_b_x, window {w}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/ecc/chip/mul_fixed.rs#L241
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/ecc/chip/mul_fixed.rs:241:20
|
241 | || format!("z-value for window: {:?}", window),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
241 - || format!("z-value for window: {:?}", window),
241 + || format!("z-value for window: {window:?}"),
|
|
variables can be used directly in the `format!` string:
halo2_gadgets/src/ecc/chip/mul_fixed.rs#L222
warning: variables can be used directly in the `format!` string
--> halo2_gadgets/src/ecc/chip/mul_fixed.rs:222:25
|
222 | / format!(
223 | | "Lagrange interpolation coeff for window: {:?}, k: {:?}",
224 | | window, k
225 | | )
| |_________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
|
the borrowed expression implements the required traits:
halo2_gadgets/src/ecc/chip/constants.rs#L220
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/ecc/chip/constants.rs:220:45
|
220 | * C::Scalar::from(H as u64).pow(&[(num_windows - 1) as u64, 0, 0, 0])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `[(num_windows - 1) as u64, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
halo2_gadgets/src/ecc/chip/constants.rs#L200
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/ecc/chip/constants.rs:200:53
|
200 | * C::Scalar::from(H as u64).pow(&[idx as u64, 0, 0, 0]);
| ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `[idx as u64, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
doc list item without indentation:
halo2_gadgets/src/ecc/chip/constants.rs#L111
warning: doc list item without indentation
--> halo2_gadgets/src/ecc/chip/constants.rs:111:5
|
111 | /// If successful, return a vector of `(z: u64, us: [C::Base; H])` for each window.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `-W clippy::doc-lazy-continuation` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::doc_lazy_continuation)]`
help: indent this line
|
111 | /// If successful, return a vector of `(z: u64, us: [C::Base; H])` for each window.
| ++
|
the borrowed expression implements the required traits:
halo2_gadgets/src/ecc/chip/constants.rs#L72
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/ecc/chip/constants.rs:72:53
|
72 | * C::Scalar::from(H as u64).pow(&[(num_windows - 1) as u64, 0, 0, 0])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `[(num_windows - 1) as u64, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
halo2_gadgets/src/ecc/chip/constants.rs#L65
warning: the borrowed expression implements the required traits
--> halo2_gadgets/src/ecc/chip/constants.rs:65:38
|
65 | acc + C::Scalar::from(2).pow(&[FIXED_BASE_WINDOW_SIZE as u64 * j as u64 + 1, 0, 0, 0])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `[FIXED_BASE_WINDOW_SIZE as u64 * j as u64 + 1, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
usage of `Iterator::fold` on a type that implements `Try`:
halo2_proofs/src/dev.rs#L1066
warning: usage of `Iterator::fold` on a type that implements `Try`
--> halo2_proofs/src/dev.rs:1066:30
|
1066 | ... .fold(Ok(()), |acc, res| acc.and(res))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold((), |acc, res| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
= note: `-W clippy::manual-try-fold` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::manual_try_fold)]`
|
the borrowed expression implements the required traits:
halo2_proofs/src/dev.rs#L683
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/dev.rs:683:41
|
683 | / ... &util::load_instance(
684 | | ... n,
685 | | ... row,
686 | | ... &self.cs.instance_queries,
687 | | ... &self.instance,
688 | | ... ),
| |_______________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
help: change this to
|
683 ~ util::load_instance(
684 + n,
685 + row,
686 + &self.cs.instance_queries,
687 + &self.instance,
688 ~ ),
|
|
the borrowed expression implements the required traits:
halo2_proofs/src/dev.rs#L682
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/dev.rs:682:41
|
682 | ... &util::load(n, row, &self.cs.advice_queries, &self.advice),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `util::load(n, row, &self.cs.advice_queries, &self.advice)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
halo2_proofs/src/dev.rs#L681
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/dev.rs:681:41
|
681 | ... &util::load(n, row, &self.cs.fixed_queries, &self.fixed),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `util::load(n, row, &self.cs.fixed_queries, &self.fixed)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/graph.rs#L36
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/graph.rs:36:17
|
36 | format!("[{}] {}", gadget_name, name)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
36 - format!("[{}] {}", gadget_name, name)
36 + format!("[{gadget_name}] {name}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L231
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:231:13
|
231 | write!(w, "{},", query).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
231 - write!(w, "{},", query).unwrap();
231 + write!(w, "{query},").unwrap();
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L143
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:143:49
|
143 | ... (true, true) => format!("({}) * ({})", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
143 - (true, true) => format!("({}) * ({})", a, b),
143 + (true, true) => format!("({a}) * ({b})"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L142
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:142:50
|
142 | ... (true, false) => format!("({}) * {}", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
142 - (true, false) => format!("({}) * {}", a, b),
142 + (true, false) => format!("({a}) * {b}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L141
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:141:50
|
141 | ... (false, true) => format!("{} * ({})", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
141 - (false, true) => format!("{} * ({})", a, b),
141 + (false, true) => format!("{a} * ({b})"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L140
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:140:51
|
140 | ... (false, false) => format!("{} * {}", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
140 - (false, false) => format!("{} * {}", a, b),
140 + (false, false) => format!("{a} * {b}"),
|
|
use of `default` to create a unit struct:
halo2_proofs/src/dev/cost.rs#L414
warning: use of `default` to create a unit struct
--> halo2_proofs/src/dev/cost.rs:414:22
|
414 | _marker: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_proofs/src/dev/cost.rs#L371
warning: use of `default` to create a unit struct
--> halo2_proofs/src/dev/cost.rs:371:22
|
371 | _marker: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_proofs/src/dev/cost.rs#L328
warning: use of `default` to create a unit struct
--> halo2_proofs/src/dev/cost.rs:328:22
|
328 | _marker: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L562
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:562:18
|
562 | _ => eprintln!("{}", self),
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
562 - _ => eprintln!("{}", self),
562 + _ => eprintln!("{self}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L240
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:240:17
|
240 | / write!(
241 | | f,
242 | | "Equality constraint not satisfied by cell ({:?}, {})",
243 | | column, location
244 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L238
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:238:18
|
238 | } => write!(f, "Lookup {} is not satisfied {}", lookup_index, location),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
238 - } => write!(f, "Lookup {} is not satisfied {}", lookup_index, location),
238 + } => write!(f, "Lookup {lookup_index} is not satisfied {location}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L229
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:229:17
|
229 | / write!(
230 | | f,
231 | | "{} is active on an unusable row - missing selector?",
232 | | constraint
233 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L224
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:224:21
|
224 | writeln!(f, "- {} = {}", name, value)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
224 - writeln!(f, "- {} = {}", name, value)?;
224 + writeln!(f, "- {name} = {value}")?;
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L222
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:222:17
|
222 | writeln!(f, "{} is not satisfied {}", constraint, location)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
222 - writeln!(f, "{} is not satisfied {}", constraint, location)?;
222 + writeln!(f, "{constraint} is not satisfied {location}")?;
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L211
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:211:17
|
211 | / write!(
212 | | f,
213 | | "{} uses {} at offset {}, which requires cell in instance column {:?} at row {} to be assigned.",
214 | | region, gate, gate_offset, column, row
215 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L198
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:198:17
|
198 | / write!(
199 | | f,
200 | | "{} uses {} at offset {}, which requires cell in column {:?} at offset {} to be assigned.",
201 | | region, gate, gate_offset, column, offset
202 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L154
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:154:29
|
154 | (true, true) => format!("({}) * ({})", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
154 - (true, true) => format!("({}) * ({})", a, b),
154 + (true, true) => format!("({a}) * ({b})"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L153
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:153:30
|
153 | (true, false) => format!("({}) * {}", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
153 - (true, false) => format!("({}) * {}", a, b),
153 + (true, false) => format!("({a}) * {b}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L152
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:152:30
|
152 | (false, true) => format!("{} * ({})", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
152 - (false, true) => format!("{} * ({})", a, b),
152 + (false, true) => format!("{a} * ({b})"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L151
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:151:31
|
151 | (false, false) => format!("{} * {}", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
151 - (false, false) => format!("{} * {}", a, b),
151 + (false, false) => format!("{a} * {b}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L147
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:147:17
|
147 | format!("{} + {}", a, b)
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
147 - format!("{} + {}", a, b)
147 + format!("{a} + {b}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L145
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:145:17
|
145 | format!("{} - {}", a, b)
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
145 - format!("{} - {}", a, b)
145 + format!("{a} - {b}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L72
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:72:5
|
72 | eprint!("{} +--------+", prefix);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
72 - eprint!("{} +--------+", prefix);
72 + eprint!("{prefix} +--------+");
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L46
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:46:13
|
46 | eprint!("{} |Rotation|", prefix);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
46 - eprint!("{} |Rotation|", prefix);
46 + eprint!("{prefix} |Rotation|");
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L45
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:45:13
|
45 | eprintln!("{}Cell layout at row {}:", prefix, row);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
45 - eprintln!("{}Cell layout at row {}:", prefix, row);
45 + eprintln!("{prefix}Cell layout at row {row}:");
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L41
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:41:13
|
41 | eprint!("{} | Offset |", prefix);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
41 - eprint!("{} | Offset |", prefix);
41 + eprint!("{prefix} | Offset |");
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/util.rs#L71
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/util.rs:71:9
|
71 | format!("0x{}", s)
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
71 - format!("0x{}", s)
71 + format!("0x{s}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/util.rs#L67
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/util.rs:67:17
|
67 | let s = format!("{:?}", v);
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
67 - let s = format!("{:?}", v);
67 + let s = format!("{v:?}");
|
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/poly.rs#L174
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/poly.rs:174:22
|
174 | .zip(inv_denoms.into_iter())
| ^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:615:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
this bound is already specified as the supertrait of `ExactSizeIterator`:
halo2_proofs/src/poly.rs#L167
warning: this bound is already specified as the supertrait of `ExactSizeIterator`
--> halo2_proofs/src/poly.rs:167:26
|
167 | inv_denoms: impl Iterator<Item = F> + ExactSizeIterator,
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
= note: `-W clippy::implied-bounds-in-impls` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::implied_bounds_in_impls)]`
help: try removing this bound
|
167 - inv_denoms: impl Iterator<Item = F> + ExactSizeIterator,
167 + inv_denoms: impl ExactSizeIterator<Item = F>,
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/poly/evaluator.rs#L644
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/poly/evaluator.rs:644:9
|
644 | eprintln!("Testing short-chunk regression with k = {}", k);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
644 - eprintln!("Testing short-chunk regression with k = {}", k);
644 + eprintln!("Testing short-chunk regression with k = {k}");
|
|
use of `default` to create a unit struct:
halo2_proofs/src/poly/evaluator.rs#L124
warning: use of `default` to create a unit struct
--> halo2_proofs/src/poly/evaluator.rs:124:25
|
124 | _evaluator: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_proofs/src/poly/evaluator.rs#L78
warning: use of `default` to create a unit struct
--> halo2_proofs/src/poly/evaluator.rs:78:25
|
78 | _evaluator: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `-W clippy::default-constructed-unit-structs` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::default_constructed_unit_structs)]`
|
the borrowed expression implements the required traits:
halo2_proofs/src/poly/domain.rs#L559
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/poly/domain.rs:559:20
|
559 | let xn = x.pow(&[8, 0, 0, 0]);
| ^^^^^^^^^^^^^ help: change this to: `[8, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
halo2_proofs/src/poly/domain.rs#L549
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/poly/domain.rs:549:38
|
549 | points.push(domain.omega.pow(&[i, 0, 0, 0]));
| ^^^^^^^^^^^^^ help: change this to: `[i, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/verifier.rs#L319
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/verifier.rs:319:25
|
319 | / lookups
320 | | .iter()
321 | | .flat_map(move |p| p.queries(vk, x))
| | _________________________________________________________________-
322 | || .into_iter(),
| ||________________________________________^
| |________________________________________|
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:497:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/verifier.rs#L259
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/verifier.rs:259:25
|
259 | / lookups
260 | | .iter()
261 | | .zip(vk.cs.lookups.iter())
262 | | .flat_map(move |(p, argument)| {
... |
275 | | })
| | _______________________________-
276 | || .into_iter(),
| ||________________________________________^
| |________________________________________|
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:497:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
the borrowed expression implements the required traits:
halo2_proofs/src/plonk/verifier.rs#L206
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/plonk/verifier.rs:206:24
|
206 | let xn = x.pow(&[params.n, 0, 0, 0]);
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `[params.n, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/prover.rs#L707
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/prover.rs:707:24
|
707 | .chain(lookups.iter().flat_map(move |p| p.open(pk, x)).into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:497:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
the borrowed expression implements the required traits:
halo2_proofs/src/plonk/prover.rs#L599
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/plonk/prover.rs:599:20
|
599 | let xn = x.pow(&[params.n, 0, 0, 0]);
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `[params.n, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-W clippy::needless-borrows-for-generic-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrows_for_generic_args)]`
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/prover.rs#L581
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/prover.rs:581:28
|
581 | .chain(permutation_expressions.into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:497:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/prover.rs#L547
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/prover.rs:547:14
|
547 | .zip(lookup_expressions.into_iter())
| ^^^^^^^^^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:615:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/prover.rs#L546
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/prover.rs:546:14
|
546 | .zip(permutation_expressions.into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:615:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
doc list item without indentation:
halo2_proofs/src/plonk/lookup/prover.rs#L562
warning: doc list item without indentation
--> halo2_proofs/src/plonk/lookup/prover.rs:562:5
|
562 | /// This method returns (A', S') if no errors are encountered.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
562 | /// This method returns (A', S') if no errors are encountered.
| ++
|
variables can be used directly in the `format!` string:
halo2_proofs/src/plonk/error.rs#L77
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/plonk/error.rs:77:54
|
77 | Error::ColumnNotInPermutation(column) => write!(
| ______________________________________________________^
78 | | f,
79 | | "Column {:?} must be included in the permutation. Help: try applying `meta.enable_equalty` on the column",
80 | | column
81 | | ),
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/plonk/error.rs#L65
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/plonk/error.rs:65:60
|
65 | Error::NotEnoughRowsAvailable { current_k } => write!(
| ____________________________________________________________^
66 | | f,
67 | | "k = {} is too small for the given circuit. Try using a larger value of k",
68 | | current_k,
69 | | ),
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/circuit.rs#L893
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/circuit.rs:893:18
|
893 | .zip(self.constraints.into_iter())
| ^^^^^^^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:615:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-W clippy::useless-conversion` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::useless_conversion)]`
|
variables can be used directly in the `format!` string:
halo2_proofs/src/circuit.rs#L547
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/circuit.rs:547:68
|
547 | ... gadget_name = symbol.name().map(|name| format!("{:#}", name));
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
|
547 - gadget_name = symbol.name().map(|name| format!("{:#}", name));
547 + gadget_name = symbol.name().map(|name| format!("{name:#}"));
|
|
struct `MyQuery` is never constructed:
halo2_proofs/src/poly/multiopen.rs#L488
warning: struct `MyQuery` is never constructed
--> halo2_proofs/src/poly/multiopen.rs:488:12
|
488 | struct MyQuery<F> {
| ^^^^^^^
|
struct `PointIndex` is never constructed:
halo2_proofs/src/plonk/circuit.rs#L769
warning: struct `PointIndex` is never constructed
--> halo2_proofs/src/plonk/circuit.rs:769:19
|
769 | pub(crate) struct PointIndex(pub usize);
| ^^^^^^^^^^
|
trait `IndexedParallelIterator` is never used:
halo2_proofs/src/multicore.rs#L28
warning: trait `IndexedParallelIterator` is never used
--> halo2_proofs/src/multicore.rs:28:11
|
28 | pub trait IndexedParallelIterator: std::iter::Iterator {}
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
struct `Variable` is never constructed:
halo2_proofs/benches/plonk.rs#L19
warning: struct `Variable` is never constructed
--> halo2_proofs/benches/plonk.rs:19:16
|
19 | pub struct Variable(Column<Advice>, usize);
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
variables can be used directly in the `format!` string:
halo2_proofs/tests/plonk_api.rs#L440
warning: variables can be used directly in the `format!` string
--> halo2_proofs/tests/plonk_api.rs:440:19
|
440 | Err(e) => panic!("{:?}", e),
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
|
440 - Err(e) => panic!("{:?}", e),
440 + Err(e) => panic!("{e:?}"),
|
|
struct `Variable` is never constructed:
halo2_proofs/tests/plonk_api.rs#L26
warning: struct `Variable` is never constructed
--> halo2_proofs/tests/plonk_api.rs:26:16
|
26 | pub struct Variable(Column<Advice>, usize);
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
variables can be used directly in the `format!` string:
halo2_proofs/examples/cost-model.rs#L297
warning: variables can be used directly in the `format!` string
--> halo2_proofs/examples/cost-model.rs:297:5
|
297 | println!("{:#?}", c);
| ^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
|
297 - println!("{:#?}", c);
297 + println!("{c:#?}");
|
|
unused doc comment:
halo2_proofs/src/dev/cost.rs#L109
warning: unused doc comment
--> halo2_proofs/src/dev/cost.rs:109:13
|
109 | /// Selector assignments used for optimization pass
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
110 | selectors: vec![vec![false; n]; num_selectors],
| ---------------------------------------------- rustdoc does not generate documentation for expression fields
|
= help: use `//` for a plain comment
|
unused doc comment:
halo2_proofs/src/dev/cost.rs#L107
warning: unused doc comment
--> halo2_proofs/src/dev/cost.rs:107:13
|
107 | /// Pairs of cells between which we have equality constraints.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108 | equality: vec![],
| ---------------- rustdoc does not generate documentation for expression fields
|
= help: use `//` for a plain comment
|
unused doc comment:
halo2_proofs/src/dev/cost.rs#L105
warning: unused doc comment
--> halo2_proofs/src/dev/cost.rs:105:13
|
105 | /// Any cells assigned outside of a region.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
106 | loose_cells: vec![],
| ------------------- rustdoc does not generate documentation for expression fields
|
= help: use `//` for a plain comment
= note: `#[warn(unused_doc_comments)]` on by default
|
unused imports: `ParallelIterator` and `Scope`:
halo2_proofs/src/multicore.rs#L15
warning: unused imports: `ParallelIterator` and `Scope`
--> halo2_proofs/src/multicore.rs:15:34
|
15 | iter::{IntoParallelIterator, ParallelIterator},
| ^^^^^^^^^^^^^^^^
16 | join, scope, Scope,
| ^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
variables can be used directly in the `format!` string:
halo2_proofs/benches/dev_lookup.rs#L80
warning: variables can be used directly in the `format!` string
--> halo2_proofs/benches/dev_lookup.rs:80:32
|
80 | ... || format!("offset {}", offset),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
80 - || format!("offset {}", offset),
80 + || format!("offset {offset}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/benches/dev_lookup.rs#L63
warning: variables can be used directly in the `format!` string
--> halo2_proofs/benches/dev_lookup.rs:63:32
|
63 | ... || format!("row {}", row),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
|
63 - || format!("row {}", row),
63 + || format!("row {row}"),
|
|
lifetime flowing from input to output with different syntax can be confusing:
halo2_proofs/src/poly/commitment.rs#L154
warning: lifetime flowing from input to output with different syntax can be confusing
--> halo2_proofs/src/poly/commitment.rs:154:22
|
154 | pub fn empty_msm(&self) -> MSM<C> {
| ^^^^^ ------ the lifetime gets resolved as `'_`
| |
| this lifetime flows to the output
|
help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
|
154 | pub fn empty_msm(&self) -> MSM<'_, C> {
| +++
|
lifetime flowing from input to output with different syntax can be confusing:
halo2_proofs/src/plonk/vanishing/verifier.rs#L92
warning: lifetime flowing from input to output with different syntax can be confusing
--> halo2_proofs/src/plonk/vanishing/verifier.rs:92:17
|
92 | params: &Params<C>,
| ^^^^^^^^^^ this lifetime flows to the output
...
96 | ) -> Evaluated<C> {
| ------------ the lifetime gets resolved as `'_`
|
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
|
96 | ) -> Evaluated<'_, C> {
| +++
|
the borrowed expression implements the required traits:
halo2_proofs/src/dev.rs#L683
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/dev.rs:683:41
|
683 | / ... &util::load_instance(
684 | | ... n,
685 | | ... row,
686 | | ... &self.cs.instance_queries,
687 | | ... &self.instance,
688 | | ... ),
| |_______________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
help: change this to
|
683 ~ util::load_instance(
684 + n,
685 + row,
686 + &self.cs.instance_queries,
687 + &self.instance,
688 ~ ),
|
|
the borrowed expression implements the required traits:
halo2_proofs/src/dev.rs#L682
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/dev.rs:682:41
|
682 | ... &util::load(n, row, &self.cs.advice_queries, &self.advice),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `util::load(n, row, &self.cs.advice_queries, &self.advice)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
halo2_proofs/src/dev.rs#L681
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/dev.rs:681:41
|
681 | ... &util::load(n, row, &self.cs.fixed_queries, &self.fixed),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `util::load(n, row, &self.cs.fixed_queries, &self.fixed)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/graph.rs#L36
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/graph.rs:36:17
|
36 | format!("[{}] {}", gadget_name, name)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
36 - format!("[{}] {}", gadget_name, name)
36 + format!("[{gadget_name}] {name}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/graph/layout.rs#L312
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/graph/layout.rs:312:25
|
312 | format!("{} usable rows", usable_rows),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
312 - format!("{} usable rows", usable_rows),
312 + format!("{usable_rows} usable rows"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L231
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:231:13
|
231 | write!(w, "{},", query).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
231 - write!(w, "{},", query).unwrap();
231 + write!(w, "{query},").unwrap();
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L143
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:143:49
|
143 | ... (true, true) => format!("({}) * ({})", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
143 - (true, true) => format!("({}) * ({})", a, b),
143 + (true, true) => format!("({a}) * ({b})"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L142
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:142:50
|
142 | ... (true, false) => format!("({}) * {}", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
142 - (true, false) => format!("({}) * {}", a, b),
142 + (true, false) => format!("({a}) * {b}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L140
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:140:51
|
140 | ... (false, false) => format!("{} * {}", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
140 - (false, false) => format!("{} * {}", a, b),
140 + (false, false) => format!("{a} * {b}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L136
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:136:37
|
136 | ... format!("{} + {}", a, b)
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
136 - format!("{} + {}", a, b)
136 + format!("{a} + {b}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L134
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:134:37
|
134 | ... format!("{} - {}", a, b)
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
134 - format!("{} - {}", a, b)
134 + format!("{a} - {b}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L129
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:129:37
|
129 | ... format!("-{}", a)
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
129 - format!("-{}", a)
129 + format!("-{a}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/gates.rs#L127
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/gates.rs:127:37
|
127 | ... format!("-({})", a)
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
127 - format!("-({})", a)
127 + format!("-({a})")
|
|
use of `default` to create a unit struct:
halo2_proofs/src/dev/cost.rs#L414
warning: use of `default` to create a unit struct
--> halo2_proofs/src/dev/cost.rs:414:22
|
414 | _marker: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
halo2_proofs/src/dev/cost.rs#L371
warning: use of `default` to create a unit struct
--> halo2_proofs/src/dev/cost.rs:371:22
|
371 | _marker: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L528
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:528:13
|
528 | eprintln!(" | x{} = {}", i, value);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
528 - eprintln!(" | x{} = {}", i, value);
528 + eprintln!(" | x{i} = {value}");
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L506
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:506:28
|
506 | .or_insert(format!("x{}", i));
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
506 - .or_insert(format!("x{}", i));
506 + .or_insert(format!("x{i}"));
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L287
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:287:21
|
287 | format!("x{}", i)
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
287 - format!("x{}", i)
287 + format!("x{i}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L240
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:240:17
|
240 | / write!(
241 | | f,
242 | | "Equality constraint not satisfied by cell ({:?}, {})",
243 | | column, location
244 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L238
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:238:18
|
238 | } => write!(f, "Lookup {} is not satisfied {}", lookup_index, location),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
238 - } => write!(f, "Lookup {} is not satisfied {}", lookup_index, location),
238 + } => write!(f, "Lookup {lookup_index} is not satisfied {location}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L229
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:229:17
|
229 | / write!(
230 | | f,
231 | | "{} is active on an unusable row - missing selector?",
232 | | constraint
233 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L224
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:224:21
|
224 | writeln!(f, "- {} = {}", name, value)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
224 - writeln!(f, "- {} = {}", name, value)?;
224 + writeln!(f, "- {name} = {value}")?;
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L222
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:222:17
|
222 | writeln!(f, "{} is not satisfied {}", constraint, location)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
222 - writeln!(f, "{} is not satisfied {}", constraint, location)?;
222 + writeln!(f, "{constraint} is not satisfied {location}")?;
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L211
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:211:17
|
211 | / write!(
212 | | f,
213 | | "{} uses {} at offset {}, which requires cell in instance column {:?} at row {} to be assigned.",
214 | | region, gate, gate_offset, column, row
215 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L198
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:198:17
|
198 | / write!(
199 | | f,
200 | | "{} uses {} at offset {}, which requires cell in column {:?} at offset {} to be assigned.",
201 | | region, gate, gate_offset, column, offset
202 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L41
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:41:17
|
41 | write!(f, "outside any region, on row {}", row)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
41 - write!(f, "outside any region, on row {}", row)
41 + write!(f, "outside any region, on row {row}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure.rs#L39
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure.rs:39:50
|
39 | Self::InRegion { region, offset } => write!(f, "in {} at offset {}", region, offset),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
39 - Self::InRegion { region, offset } => write!(f, "in {} at offset {}", region, offset),
39 + Self::InRegion { region, offset } => write!(f, "in {region} at offset {offset}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L154
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:154:29
|
154 | (true, true) => format!("({}) * ({})", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
154 - (true, true) => format!("({}) * ({})", a, b),
154 + (true, true) => format!("({a}) * ({b})"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L153
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:153:30
|
153 | (true, false) => format!("({}) * {}", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
153 - (true, false) => format!("({}) * {}", a, b),
153 + (true, false) => format!("({a}) * {b}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L152
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:152:30
|
152 | (false, true) => format!("{} * ({})", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
152 - (false, true) => format!("{} * ({})", a, b),
152 + (false, true) => format!("{a} * ({b})"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L151
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:151:31
|
151 | (false, false) => format!("{} * {}", a, b),
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
151 - (false, false) => format!("{} * {}", a, b),
151 + (false, false) => format!("{a} * {b}"),
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L147
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:147:17
|
147 | format!("{} + {}", a, b)
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
147 - format!("{} + {}", a, b)
147 + format!("{a} + {b}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L140
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:140:17
|
140 | format!("-{}", a)
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
140 - format!("-{}", a)
140 + format!("-{a}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L138
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:138:17
|
138 | format!("-({})", a)
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
138 - format!("-({})", a)
138 + format!("-({a})")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L72
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:72:5
|
72 | eprint!("{} +--------+", prefix);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
72 - eprint!("{} +--------+", prefix);
72 + eprint!("{prefix} +--------+");
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L46
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:46:13
|
46 | eprint!("{} |Rotation|", prefix);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
46 - eprint!("{} |Rotation|", prefix);
46 + eprint!("{prefix} |Rotation|");
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L45
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:45:13
|
45 | eprintln!("{}Cell layout at row {}:", prefix, row);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
45 - eprintln!("{}Cell layout at row {}:", prefix, row);
45 + eprintln!("{prefix}Cell layout at row {row}:");
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/failure/emitter.rs#L41
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/failure/emitter.rs:41:13
|
41 | eprint!("{} | Offset |", prefix);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
41 - eprint!("{} | Offset |", prefix);
41 + eprint!("{prefix} | Offset |");
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/util.rs#L71
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/util.rs:71:9
|
71 | format!("0x{}", s)
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
71 - format!("0x{}", s)
71 + format!("0x{s}")
|
|
variables can be used directly in the `format!` string:
halo2_proofs/src/dev/util.rs#L67
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/dev/util.rs:67:17
|
67 | let s = format!("{:?}", v);
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
67 - let s = format!("{:?}", v);
67 + let s = format!("{v:?}");
|
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/poly.rs#L174
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/poly.rs:174:22
|
174 | .zip(inv_denoms.into_iter())
| ^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:615:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
use of `default` to create a unit struct:
halo2_proofs/src/poly/evaluator.rs#L78
warning: use of `default` to create a unit struct
--> halo2_proofs/src/poly/evaluator.rs:78:25
|
78 | _evaluator: PhantomData::default(),
| ^^^^^^^^^^^-----------
| |
| help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `-W clippy::default-constructed-unit-structs` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::default_constructed_unit_structs)]`
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/verifier.rs#L319
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/verifier.rs:319:25
|
319 | / lookups
320 | | .iter()
321 | | .flat_map(move |p| p.queries(vk, x))
| | _________________________________________________________________-
322 | || .into_iter(),
| ||________________________________________^
| |________________________________________|
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:497:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/verifier.rs#L259
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/verifier.rs:259:25
|
259 | / lookups
260 | | .iter()
261 | | .zip(vk.cs.lookups.iter())
262 | | .flat_map(move |(p, argument)| {
... |
275 | | })
| | _______________________________-
276 | || .into_iter(),
| ||________________________________________^
| |________________________________________|
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:497:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
the borrowed expression implements the required traits:
halo2_proofs/src/plonk/verifier.rs#L206
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/plonk/verifier.rs:206:24
|
206 | let xn = x.pow(&[params.n, 0, 0, 0]);
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `[params.n, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/prover.rs#L707
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/prover.rs:707:24
|
707 | .chain(lookups.iter().flat_map(move |p| p.open(pk, x)).into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:497:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
the borrowed expression implements the required traits:
halo2_proofs/src/plonk/prover.rs#L599
warning: the borrowed expression implements the required traits
--> halo2_proofs/src/plonk/prover.rs:599:20
|
599 | let xn = x.pow(&[params.n, 0, 0, 0]);
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `[params.n, 0, 0, 0]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-W clippy::needless-borrows-for-generic-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrows_for_generic_args)]`
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/prover.rs#L581
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/prover.rs:581:28
|
581 | .chain(permutation_expressions.into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:497:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/prover.rs#L547
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/prover.rs:547:14
|
547 | .zip(lookup_expressions.into_iter())
| ^^^^^^^^^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:615:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
doc list item without indentation:
halo2_proofs/src/plonk/lookup/prover.rs#L74
warning: doc list item without indentation
--> halo2_proofs/src/plonk/lookup/prover.rs:74:9
|
74 | /// The Permuted<C> struct is used to update the Lookup, and is then returned.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `-W clippy::doc-lazy-continuation` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::doc_lazy_continuation)]`
help: indent this line
|
74 | /// The Permuted<C> struct is used to update the Lookup, and is then returned.
| ++
|
variables can be used directly in the `format!` string:
halo2_proofs/src/plonk/error.rs#L77
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/plonk/error.rs:77:54
|
77 | Error::ColumnNotInPermutation(column) => write!(
| ______________________________________________________^
78 | | f,
79 | | "Column {:?} must be included in the permutation. Help: try applying `meta.enable_equalty` on the column",
80 | | column
81 | | ),
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/plonk/error.rs#L65
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/plonk/error.rs:65:60
|
65 | Error::NotEnoughRowsAvailable { current_k } => write!(
| ____________________________________________________________^
66 | | f,
67 | | "k = {} is too small for the given circuit. Try using a larger value of k",
68 | | current_k,
69 | | ),
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
halo2_proofs/src/plonk/error.rs#L64
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/plonk/error.rs:64:37
|
64 | Error::Transcript(e) => write!(f, "Transcript error: {}", e),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
64 - Error::Transcript(e) => write!(f, "Transcript error: {}", e),
64 + Error::Transcript(e) => write!(f, "Transcript error: {e}"),
|
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
halo2_proofs/src/plonk/circuit.rs#L893
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> halo2_proofs/src/plonk/circuit.rs:893:18
|
893 | .zip(self.constraints.into_iter())
| ^^^^^^^^^^^^^^^^------------
| |
| help: consider removing the `.into_iter()`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/b5e10d8c000a153cae6a14d70372dc4b39439a3f/library/core/src/iter/traits/iterator.rs:615:12
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-W clippy::useless-conversion` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::useless_conversion)]`
|
variables can be used directly in the `format!` string:
halo2_proofs/src/circuit.rs#L547
warning: variables can be used directly in the `format!` string
--> halo2_proofs/src/circuit.rs:547:68
|
547 | ... gadget_name = symbol.name().map(|name| format!("{:#}", name));
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
|
547 - gadget_name = symbol.name().map(|name| format!("{:#}", name));
547 + gadget_name = symbol.name().map(|name| format!("{name:#}"));
|
|
struct `PointIndex` is never constructed:
halo2_proofs/src/plonk/circuit.rs#L769
warning: struct `PointIndex` is never constructed
--> halo2_proofs/src/plonk/circuit.rs:769:19
|
769 | pub(crate) struct PointIndex(pub usize);
| ^^^^^^^^^^
|
trait `IndexedParallelIterator` is never used:
halo2_proofs/src/multicore.rs#L28
warning: trait `IndexedParallelIterator` is never used
--> halo2_proofs/src/multicore.rs:28:11
|
28 | pub trait IndexedParallelIterator: std::iter::Iterator {}
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused doc comment:
halo2_proofs/src/dev/cost.rs#L109
warning: unused doc comment
--> halo2_proofs/src/dev/cost.rs:109:13
|
109 | /// Selector assignments used for optimization pass
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
110 | selectors: vec![vec![false; n]; num_selectors],
| ---------------------------------------------- rustdoc does not generate documentation for expression fields
|
= help: use `//` for a plain comment
|
unused doc comment:
halo2_proofs/src/dev/cost.rs#L107
warning: unused doc comment
--> halo2_proofs/src/dev/cost.rs:107:13
|
107 | /// Pairs of cells between which we have equality constraints.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108 | equality: vec![],
| ---------------- rustdoc does not generate documentation for expression fields
|
= help: use `//` for a plain comment
|
unused doc comment:
halo2_proofs/src/dev/cost.rs#L105
warning: unused doc comment
--> halo2_proofs/src/dev/cost.rs:105:13
|
105 | /// Any cells assigned outside of a region.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
106 | loose_cells: vec![],
| ------------------- rustdoc does not generate documentation for expression fields
|
= help: use `//` for a plain comment
= note: `#[warn(unused_doc_comments)]` on by default
|
unused imports: `ParallelIterator` and `Scope`:
halo2_proofs/src/multicore.rs#L15
warning: unused imports: `ParallelIterator` and `Scope`
--> halo2_proofs/src/multicore.rs:15:34
|
15 | iter::{IntoParallelIterator, ParallelIterator},
| ^^^^^^^^^^^^^^^^
16 | join, scope, Scope,
| ^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Bitrot check
`halo2_proofs` (example "circuit-layout") generated 1 warning
|
Bitrot check:
halo2_proofs/examples/circuit-layout.rs#L13
fields `0` and `1` are never read
|
Bitrot check:
halo2_proofs/benches/plonk.rs#L19
struct `Variable` is never constructed
|
Bitrot check
`halo2_proofs` (lib) generated 5 warnings (run `cargo fix --lib -p halo2_proofs` to apply 1 suggestion)
|
Bitrot check:
halo2_proofs/src/plonk/circuit.rs#L769
struct `PointIndex` is never constructed
|
Bitrot check:
halo2_proofs/src/dev/cost.rs#L109
unused doc comment
|
Bitrot check:
halo2_proofs/src/dev/cost.rs#L107
unused doc comment
|
Bitrot check:
halo2_proofs/src/dev/cost.rs#L105
unused doc comment
|
Bitrot check:
halo2_proofs/src/multicore.rs#L16
unused import: `Scope`
|
Bitrot check
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
|
Bitrot check
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/
|
Bitrot check
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/
|
Bitrot check
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/
|
Bitrot check
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/
|
Test on macOS-latest with beta features
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/
|
Test on macOS-latest with beta features
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/
|
Test on macOS-latest with beta features
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/
|
Test on macOS-latest with beta features
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/
|
Build target wasm32-unknown-unknown
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/
|
Build target wasm32-unknown-unknown
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/
|
Build target wasm32-unknown-unknown
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/
|
Build target wasm32-unknown-unknown
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/
|
Book tests
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/
|
Book tests
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/
|
Book tests
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/
|
Test on ubuntu-latest with nightly features
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/
|
Book tests
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/
|
Test on ubuntu-latest with nightly features
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/
|
Test on ubuntu-latest with nightly features
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/
|
Test on ubuntu-latest with nightly features
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/
|
Test on ubuntu-latest with beta features
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/
|
Test on ubuntu-latest with beta features
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/
|
Test on ubuntu-latest with beta features
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/
|
Test on ubuntu-latest with beta features
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/
|
Test on macOS-latest
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/
|
Test on macOS-latest
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/
|
Test on macOS-latest
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/
|
Test on macOS-latest
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/
|
Test on windows-latest with beta features
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/
|
Test on windows-latest with beta features
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/
|
Test on windows-latest with beta features
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/
|
Test on windows-latest with beta features
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/
|
Test on windows-latest
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/
|
Test on windows-latest
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/
|
Test on windows-latest
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/
|
Test on windows-latest
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/
|
Test on ubuntu-latest
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/
|
Test on ubuntu-latest
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/
|
Test on ubuntu-latest
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/
|
Test on ubuntu-latest
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/
|
Build target wasm32-wasi
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/
|
Build target wasm32-wasi
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/
|
Build target wasm32-wasi
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/
|
Build target wasm32-wasi
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/
|
Test on windows-latest with nightly features
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/
|
Test on windows-latest with nightly features
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/
|
Test on windows-latest with nightly features
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/
|
Test on windows-latest with nightly features
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/
|
Test on i686-unknown-linux-gnu with beta features
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/
|
Test on i686-unknown-linux-gnu with beta features
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/
|
Test on i686-unknown-linux-gnu with beta features
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/
|
Test on i686-unknown-linux-gnu with beta features
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/
|
Test on i686-unknown-linux-gnu with nightly features
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/
|
Test on i686-unknown-linux-gnu with nightly features
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/
|
Test on i686-unknown-linux-gnu with nightly features
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/
|
Test on i686-unknown-linux-gnu with nightly features
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/
|
Test on i686-unknown-linux-gnu
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/
|
Test on i686-unknown-linux-gnu
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/
|
Test on i686-unknown-linux-gnu
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/
|
Test on i686-unknown-linux-gnu
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/
|
Intra-doc links
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/
|
Intra-doc links
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/
|
Intra-doc links
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/
|
Intra-doc links
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/
|
Code coverage
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
|
Code coverage
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/
|
Code coverage
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/
|
Code coverage
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/
|
Code coverage
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/
|