cargo fmt #150
Clippy (MSRV)
29 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 29 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.60.0 (7737e0b5c 2022-04-04)
- cargo 1.60.0 (d1fd9fe 2022-03-01)
- clippy 0.1.60 (7737e0b 2022-04-04)
Annotations
Check failure on line 32 in halo2_gadgets_optimized/benches/primitives.rs
github-actions / Clippy (MSRV)
failed to resolve: use of undeclared crate or module `sinsemilla`
error[E0433]: failed to resolve: use of undeclared crate or module `sinsemilla`
--> halo2_gadgets_optimized/benches/primitives.rs:32:37
|
32 | let committer = sinsemilla::CommitDomain::new("committer");
| ^^^^^^^^^^^^ not found in `sinsemilla`
|
help: consider importing one of these items
|
1 | use halo2_gadgets_optimized::sinsemilla::CommitDomain;
|
1 | use halo2_gadgets_optimized::sinsemilla::primitives::CommitDomain;
|
Check failure on line 31 in halo2_gadgets_optimized/benches/primitives.rs
github-actions / Clippy (MSRV)
failed to resolve: use of undeclared crate or module `sinsemilla`
error[E0433]: failed to resolve: use of undeclared crate or module `sinsemilla`
--> halo2_gadgets_optimized/benches/primitives.rs:31:34
|
31 | let hasher = sinsemilla::HashDomain::new("hasher");
| ^^^^^^^^^^ not found in `sinsemilla`
|
help: consider importing one of these items
|
1 | use halo2_gadgets_optimized::sinsemilla::HashDomain;
|
1 | use halo2_gadgets_optimized::sinsemilla::primitives::HashDomain;
|
Check failure on line 23 in halo2_gadgets_optimized/benches/primitives.rs
github-actions / Clippy (MSRV)
cannot find type `ConstantLength` in this scope
error[E0412]: cannot find type `ConstantLength` in this scope
--> halo2_gadgets_optimized/benches/primitives.rs:23:49
|
23 | poseidon::Hash::<_, P128Pow5T3, ConstantLength<2>, 3, 2>::init().hash(message)
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 | use halo2_gadgets_optimized::poseidon::primitives::ConstantLength;
|
Check failure on line 23 in halo2_gadgets_optimized/benches/primitives.rs
github-actions / Clippy (MSRV)
cannot find type `P128Pow5T3` in this scope
error[E0412]: cannot find type `P128Pow5T3` in this scope
--> halo2_gadgets_optimized/benches/primitives.rs:23:37
|
23 | poseidon::Hash::<_, P128Pow5T3, ConstantLength<2>, 3, 2>::init().hash(message)
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 | use halo2_gadgets_optimized::poseidon::primitives::P128Pow5T3;
|
Check failure on line 23 in halo2_gadgets_optimized/benches/primitives.rs
github-actions / Clippy (MSRV)
failed to resolve: use of undeclared crate or module `poseidon`
error[E0433]: failed to resolve: use of undeclared crate or module `poseidon`
--> halo2_gadgets_optimized/benches/primitives.rs:23:27
|
23 | poseidon::Hash::<_, P128Pow5T3, ConstantLength<2>, 3, 2>::init().hash(message)
| ^^^^ not found in `poseidon`
|
help: consider importing one of these items
|
1 | use core::hash::Hash;
|
1 | use halo2_gadgets_optimized::poseidon::Hash;
|
1 | use halo2_gadgets_optimized::poseidon::primitives::Hash;
|
1 | use std::hash::Hash;
|
Check failure on line 3 in halo2_gadgets_optimized/benches/primitives.rs
github-actions / Clippy (MSRV)
failed to resolve: use of undeclared crate or module `halo2_gadgets`
error[E0433]: failed to resolve: use of undeclared crate or module `halo2_gadgets`
--> halo2_gadgets_optimized/benches/primitives.rs:3:5
|
3 | use halo2_gadgets::{
| ^^^^^^^^^^^^^ use of undeclared crate or module `halo2_gadgets`
Check failure on line 73 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
failed to resolve: use of undeclared type `Sha256`
error[E0433]: failed to resolve: use of undeclared type `Sha256`
--> halo2_gadgets_optimized/benches/sha256.rs:73:13
|
73 | Sha256::digest(table16_chip, layouter.namespace(|| "'abc' * 2"), &input)?;
| ^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 | use halo2_gadgets_optimized::sha256::Sha256;
|
Check failure on line 68 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find value `BLOCK_SIZE` in this scope
error[E0425]: cannot find value `BLOCK_SIZE` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:68:53
|
68 | let mut input = Vec::with_capacity(31 * BLOCK_SIZE);
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
1 | use halo2_gadgets_optimized::sha256::BLOCK_SIZE;
|
Check failure on line 64 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:64:17
|
64 | BlockWord(Value::known(0b00000000000000000000000000011000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 63 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:63:17
|
63 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 62 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:62:17
|
62 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 61 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:61:17
|
61 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 60 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:60:17
|
60 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 59 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:59:17
|
59 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 58 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:58:17
|
58 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 57 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:57:17
|
57 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 56 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:56:17
|
56 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 55 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:55:17
|
55 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 54 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:54:17
|
54 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 53 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:53:17
|
53 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 52 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:52:17
|
52 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 51 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:51:17
|
51 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 50 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:50:17
|
50 | BlockWord(Value::known(0b00000000000000000000000000000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 49 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
cannot find function, tuple struct or tuple variant `BlockWord` in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BlockWord` in this scope
--> halo2_gadgets_optimized/benches/sha256.rs:49:17
|
49 | BlockWord(Value::known(0b01100001011000100110001110000000)),
| ^^^^^^^^^ not found in this scope
|
help: consider importing this tuple struct
|
1 | use halo2_gadgets_optimized::sha256::BlockWord;
|
Check failure on line 45 in halo2_gadgets_optimized/benches/sha256.rs
github-actions / Clippy (MSRV)
failed to resolve: use of undeclared type `Table16Chip`
error[E0433]: failed to resolve: use of undeclared type `Table16Chip`
--> halo2_gadgets_optimized/benches/sha256.rs:45:32
|
45 | let table16_chip = Table16Chip::construct(config);
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 | use halo2_gadgets_optimized::sha256::Table16Chip;
|