36 implement graph coarsening #67
Annotations
5 errors
Run kristof-mattei/clippy-check@pr-for-original-repo:
src/algorithms/graph_coarsening.rs#L3
error: unused import: `crate::data_structures::subgraph::Subgraph`
--> src/algorithms/graph_coarsening.rs:3:5
|
3 | use crate::data_structures::subgraph::Subgraph;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
Run kristof-mattei/clippy-check@pr-for-original-repo:
src/data_structures/bitvec.rs#L1
error: unused import: `std::collections::HashSet`
--> src/data_structures/bitvec.rs:1:5
|
1 | use std::collections::HashSet;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run kristof-mattei/clippy-check@pr-for-original-repo:
src/algorithms/graph_coarsening.rs#L221
error: fields `f`, `node_to_cloud`, `cloud_to_node`, `weights`, `cloud_part`, and `simplified` are never read
--> src/algorithms/graph_coarsening.rs:221:5
|
220 | pub struct F<'a> {
| - fields in this struct
221 | f: Graph,
| ^
222 | node_to_cloud: Vec<usize>,
| ^^^^^^^^^^^^^
223 | //TODO: Dieser Vec braucht bedeutend mehr Speicher als theoretisch nötig
224 | cloud_to_node: Vec<usize>,
| ^^^^^^^^^^^^^
225 | weights: Vec<usize>,
| ^^^^^^^
226 | cloud_part: &'a CloudPartition<'a>,
| ^^^^^^^^^^
227 | simplified: bool,
| ^^^^^^^^^^
|
= note: `F` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
Run kristof-mattei/clippy-check@pr-for-original-repo:
src/algorithms/graph_coarsening.rs#L134
error: this argument is a mutable reference, but not used mutably
--> src/algorithms/graph_coarsening.rs:134:29
|
134 | visited_big_clouds: &mut FastBitvec,
| ^^^^^^^^^^^^^^^ help: consider changing to: `&FastBitvec`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut
= note: `-D clippy::needless-pass-by-ref-mut` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_pass_by_ref_mut)]`
|
Run kristof-mattei/clippy-check@pr-for-original-repo
Clippy had exited with the 101 exit code
|
The logs for this run have expired and are no longer available.
Loading