lib: move Rayon wrappers to lib crate #1691
master.yml
on: pull_request
Miscellaneous checks
2m 59s
Anchor Test
19m 54s
Rust tests
5m 28s
Annotations
4 errors and 2 warnings
`rayon::slice::chunks::Chunks<'_, types::Hash>` is not an iterator:
common/cf-solana/src/proof.rs#L452
error[E0599]: `rayon::slice::chunks::Chunks<'_, types::Hash>` is not an iterator
--> common/cf-solana/src/proof.rs:452:10
|
451 | / lib::par::chunks(hashes, MERKLE_FANOUT)
452 | | .map(|chunk| {
| | -^^^ `rayon::slice::chunks::Chunks<'_, types::Hash>` is not an iterator
| |_________|
|
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rayon-1.10.0/src/slice/chunks.rs:7:1
|
7 | pub struct Chunks<'data, T: Sync> {
| --------------------------------- doesn't satisfy `_: Iterator`
|
= note: the following trait bounds were not satisfied:
`rayon::slice::chunks::Chunks<'_, types::Hash>: core::iter::Iterator`
which is required by `&mut rayon::slice::chunks::Chunks<'_, types::Hash>: core::iter::Iterator`
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use rayon::iter::ParallelIterator;
|
|
`rayon::slice::chunks::Chunks<'_, (types::PubKey, types::Hash)>` is not an iterator:
common/cf-solana/src/proof.rs#L389
error[E0599]: `rayon::slice::chunks::Chunks<'_, (types::PubKey, types::Hash)>` is not an iterator
--> common/cf-solana/src/proof.rs:389:10
|
388 | let mut hashes: Vec<Hash> = lib::par::chunks(accounts, MERKLE_FANOUT)
| _________________________________-
389 | | .map(|chunk| {
| | -^^^ `rayon::slice::chunks::Chunks<'_, (types::PubKey, types::Hash)>` is not an iterator
| |_________|
|
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rayon-1.10.0/src/slice/chunks.rs:7:1
|
7 | pub struct Chunks<'data, T: Sync> {
| --------------------------------- doesn't satisfy `_: Iterator`
|
= note: the following trait bounds were not satisfied:
`rayon::slice::chunks::Chunks<'_, (types::PubKey, types::Hash)>: core::iter::Iterator`
which is required by `&mut rayon::slice::chunks::Chunks<'_, (types::PubKey, types::Hash)>: core::iter::Iterator`
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use rayon::iter::ParallelIterator;
|
|
Miscellaneous checks
Clippy had exited with the 101 exit code
|
Rust tests
Process completed with exit code 101.
|
Miscellaneous checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Miscellaneous checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|