Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Update Commit Hashes to Sept-29 Release #886

Update Commit Hashes to Sept-29 Release

Update Commit Hashes to Sept-29 Release #886

GitHub Actions / clippy failed Sep 29, 2023 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.73.0-nightly (399b06823 2023-07-20)
  • cargo 1.73.0-nightly (1b1555676 2023-07-18)
  • clippy 0.1.73 (399b0682 2023-07-20)

Annotations

Check failure on line 752 in farmer/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `impl subspace_farmer_components::plotting::PieceGetter + Send + 'static: std::clone::Clone` is not satisfied

error[E0277]: the trait bound `impl subspace_farmer_components::plotting::PieceGetter + Send + 'static: std::clone::Clone` is not satisfied
   --> farmer/src/lib.rs:752:67
    |
752 |         let single_disk_farm_fut = SingleDiskFarm::new::<_, _, T>(description, disk_farm_idx);
    |                                    ------------------------------ ^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `impl subspace_farmer_components::plotting::PieceGetter + Send + 'static`
    |                                    |
    |                                    required by a bound introduced by this call
    |
note: required by a bound in `subspace_farmer::single_disk_farm::SingleDiskFarm::new`
   --> /Users/ec2-user/.cargo/git/checkouts/subspace-5c1447fb849a5554/d3914a1/crates/subspace-farmer/src/single_disk_farm.rs:582:27
    |
576 |     pub async fn new<NC, PG, PosTable>(
    |                  --- required by a bound in this associated function
...
582 |         PG: PieceGetter + Clone + Send + 'static,
    |                           ^^^^^ required by this bound in `SingleDiskFarm::new`
help: consider further restricting this bound
    |
731 |             impl subspace_farmer_components::plotting::PieceGetter + Send + 'static + std::clone::Clone,
    |                                                                                     +++++++++++++++++++

Check failure on line 740 in farmer/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing fields `farming_thread_pool`, `plotting_thread_pool` and `replotting_thread_pool` in initializer of `subspace_farmer::single_disk_farm::SingleDiskFarmOptions<_, _>`

error[E0063]: missing fields `farming_thread_pool`, `plotting_thread_pool` and `replotting_thread_pool` in initializer of `subspace_farmer::single_disk_farm::SingleDiskFarmOptions<_, _>`
   --> farmer/src/lib.rs:740:27
    |
740 |         let description = SingleDiskFarmOptions {
    |                           ^^^^^^^^^^^^^^^^^^^^^ missing `farming_thread_pool`, `plotting_thread_pool` and `replotting_thread_pool`