[INFO] cloning repository https://github.com/aesh97/Parallel_Graph_Clustering [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aesh97/Parallel_Graph_Clustering" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faesh97%2FParallel_Graph_Clustering", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faesh97%2FParallel_Graph_Clustering'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 585ba5014c42e4989b5f7bd047b8e96a6edb845d [INFO] building aesh97/Parallel_Graph_Clustering against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faesh97%2FParallel_Graph_Clustering" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aesh97/Parallel_Graph_Clustering on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aesh97/Parallel_Graph_Clustering [INFO] finished tweaking git repo https://github.com/aesh97/Parallel_Graph_Clustering [INFO] tweaked toml for git repo https://github.com/aesh97/Parallel_Graph_Clustering written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aesh97/Parallel_Graph_Clustering already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e95a07e110a32675887ebd4fe232377abb05ac26287eff50b3ef517fd913814d [INFO] running `Command { std: "docker" "start" "-a" "e95a07e110a32675887ebd4fe232377abb05ac26287eff50b3ef517fd913814d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e95a07e110a32675887ebd4fe232377abb05ac26287eff50b3ef517fd913814d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e95a07e110a32675887ebd4fe232377abb05ac26287eff50b3ef517fd913814d", kill_on_drop: false }` [INFO] [stdout] e95a07e110a32675887ebd4fe232377abb05ac26287eff50b3ef517fd913814d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2edfa6e291883e0c2f49b25159d0fa21103b20724567453c50c609d18a484570 [INFO] running `Command { std: "docker" "start" "-a" "2edfa6e291883e0c2f49b25159d0fa21103b20724567453c50c609d18a484570", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling Final_Project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::run_manager::graph_maker::graph_maker` [INFO] [stdout] --> src/run_manager/community_detection.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::run_manager::graph_maker::graph_maker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/run_manager/community_detection.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `partition` should have an upper camel case name [INFO] [stdout] --> src/run_manager/community_detection.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct partition { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Partition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `community_detection` should have an upper camel case name [INFO] [stdout] --> src/run_manager/community_detection.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct community_detection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommunityDetection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::ThreadPoolBuilder` [INFO] [stdout] --> src/run_manager/graph_maker.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `graph_maker` should have an upper camel case name [INFO] [stdout] --> src/run_manager/graph_maker.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct graph_maker; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `GraphMaker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `run_manager` should have an upper camel case name [INFO] [stdout] --> src/run_manager/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct run_manager(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RunManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::visit::NodeRef` [INFO] [stdout] --> src/run_manager/community_detection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use petgraph::visit::NodeRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/run_manager/community_detection.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | fn remove_duplicates(vec: Vec, thread: i32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theads` [INFO] [stdout] --> src/run_manager/community_detection.rs:157:54 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_nodes_in_cluster(&self, cluster: i32, theads: i32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_theads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let mut potential_community_nodes = self.get_nodes_in_cluster(temp_community, theads); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_index` [INFO] [stdout] --> src/run_manager/community_detection.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | for (index, node_index) in self.node_indexes.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut outgoing_edges = graph.edges_directed(node, Direction::Outgoing); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let mut node_indices: Vec = G.node_indices().collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut node_indices: Vec = G.node_indices().collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/run_manager/graph_maker.rs:13:70 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_adjacency_matrix_from_file_path(&self, file_path: &str, thread: i32) -> Vec> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/run_manager/graph_maker.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn build_graph_from_adjacency_matrix(&self, adjacency_matrix: Vec>, thread: i32) -> Graph { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let pool = ThreadPoolBuilder::new() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/run_manager/community_detection.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 31 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sum_of_out_going_edges_to_nodes_in_a_community` is never used [INFO] [stdout] --> src/run_manager/community_detection.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 209 | impl community_detection { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | fn sum_of_out_going_edges_to_nodes_in_a_community(&self, community: &Vec, graph: &Graph) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn phase_2(&mut self, G: Graph, threads: i32) -> Graph { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:249:23 [INFO] [stdout] | [INFO] [stdout] 249 | fn phase_1(&self, G: &Graph, thread: i32) -> (partition, f32) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:269:49 [INFO] [stdout] | [INFO] [stdout] 269 | fn compute_modularity_from_singleton(&self, G: &Graph) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:282:44 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn serial_louvain_algorithm(&self, G: &Graph, threads: i32) -> (partition, f32) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "2edfa6e291883e0c2f49b25159d0fa21103b20724567453c50c609d18a484570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2edfa6e291883e0c2f49b25159d0fa21103b20724567453c50c609d18a484570", kill_on_drop: false }` [INFO] [stdout] 2edfa6e291883e0c2f49b25159d0fa21103b20724567453c50c609d18a484570 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b36d4deaf46407d62375ec805cdacee89a84c03b51412949942416f79017ee1 [INFO] running `Command { std: "docker" "start" "-a" "4b36d4deaf46407d62375ec805cdacee89a84c03b51412949942416f79017ee1", kill_on_drop: false }` [INFO] [stderr] Compiling Final_Project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::run_manager::graph_maker::graph_maker` [INFO] [stdout] --> src/run_manager/community_detection.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::run_manager::graph_maker::graph_maker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/run_manager/community_detection.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `partition` should have an upper camel case name [INFO] [stdout] --> src/run_manager/community_detection.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct partition { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Partition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `community_detection` should have an upper camel case name [INFO] [stdout] --> src/run_manager/community_detection.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct community_detection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommunityDetection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeIndex` [INFO] [stdout] --> src/run_manager/community_detection.rs:312:34 [INFO] [stdout] | [INFO] [stdout] 312 | use petgraph::graph::{Graph, NodeIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::ThreadPoolBuilder` [INFO] [stdout] --> src/run_manager/graph_maker.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `graph_maker` should have an upper camel case name [INFO] [stdout] --> src/run_manager/graph_maker.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct graph_maker; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `GraphMaker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `run_manager` should have an upper camel case name [INFO] [stdout] --> src/run_manager/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct run_manager(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RunManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::visit::NodeRef` [INFO] [stdout] --> src/run_manager/community_detection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use petgraph::visit::NodeRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/run_manager/community_detection.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | fn remove_duplicates(vec: Vec, thread: i32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theads` [INFO] [stdout] --> src/run_manager/community_detection.rs:157:54 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_nodes_in_cluster(&self, cluster: i32, theads: i32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_theads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let mut potential_community_nodes = self.get_nodes_in_cluster(temp_community, theads); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_index` [INFO] [stdout] --> src/run_manager/community_detection.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | for (index, node_index) in self.node_indexes.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut outgoing_edges = graph.edges_directed(node, Direction::Outgoing); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let mut node_indices: Vec = G.node_indices().collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut node_indices: Vec = G.node_indices().collect(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_3` [INFO] [stdout] --> src/run_manager/community_detection.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let node_3 = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_4` [INFO] [stdout] --> src/run_manager/community_detection.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let node_4 = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_1` [INFO] [stdout] --> src/run_manager/community_detection.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let edge_1 = graph.add_edge(node_1, node_2, 0.5); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_1` [INFO] [stdout] --> src/run_manager/community_detection.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let edge_1 = graph.add_edge(node_1, node_2, 0.5); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_1` [INFO] [stdout] --> src/run_manager/community_detection.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | let edge_1 = graph.add_edge(node_1, node_2, 0.5); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_1` [INFO] [stdout] --> src/run_manager/community_detection.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | let edge_1 = graph.add_edge(node_1, node_2, 0.5); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_1` [INFO] [stdout] --> src/run_manager/community_detection.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let edge_1 = graph.add_edge(node_1, node_2, 0.5); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_1` [INFO] [stdout] --> src/run_manager/community_detection.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | let edge_1 = graph.add_edge(node_1, node_2, 0.5); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_1` [INFO] [stdout] --> src/run_manager/community_detection.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | let edge_1 = graph.add_edge(node_C, node_D, 0.7); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_2` [INFO] [stdout] --> src/run_manager/community_detection.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | let edge_2 = graph.add_edge(node_A, node_B, 0.7); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_3` [INFO] [stdout] --> src/run_manager/community_detection.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | let edge_3 = graph.add_edge(node_C, node_E, 1.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_4` [INFO] [stdout] --> src/run_manager/community_detection.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let edge_4 = graph.add_edge(node_E, node_C, 0.4); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_5` [INFO] [stdout] --> src/run_manager/community_detection.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | let edge_5 = graph.add_edge(node_D, node_E, 10.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_1` [INFO] [stdout] --> src/run_manager/community_detection.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | let edge_1 = graph.add_edge(node_C, node_A, 0.7); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_2` [INFO] [stdout] --> src/run_manager/community_detection.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let edge_2 = graph.add_edge(node_A, node_B, 0.7); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_3` [INFO] [stdout] --> src/run_manager/community_detection.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let edge_3 = graph.add_edge(node_C, node_B, 1.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_4` [INFO] [stdout] --> src/run_manager/community_detection.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let edge_4 = graph.add_edge(node_A, node_C, 0.4); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_1` [INFO] [stdout] --> src/run_manager/community_detection.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | let edge_1 = graph.add_edge(node_A, node_B, 0.7); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_2` [INFO] [stdout] --> src/run_manager/community_detection.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | let edge_2 = graph.add_edge(node_A, node_C, 0.4); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_3` [INFO] [stdout] --> src/run_manager/community_detection.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | let edge_3 = graph.add_edge(node_B, node_E, 0.7); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_4` [INFO] [stdout] --> src/run_manager/community_detection.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | let edge_4 = graph.add_edge(node_D, node_F, 10.3); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_5` [INFO] [stdout] --> src/run_manager/community_detection.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | let edge_5 = graph.add_edge(node_E, node_D, 0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_weights` [INFO] [stdout] --> src/run_manager/community_detection.rs:520:17 [INFO] [stdout] | [INFO] [stdout] 520 | let mut edge_weights: HashMap<(usize, usize), f32> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | let mut edge_weights: HashMap<(usize, usize), f32> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:624:14 [INFO] [stdout] | [INFO] [stdout] 624 | let (mut actual_partition, actual_modularity) = community_detection.phase_1(&graph,1); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let mut G = graph_maker.build_graph_from_adjacency_matrix(adjacency_matrix, 1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_manager/community_detection.rs:755:13 [INFO] [stdout] | [INFO] [stdout] 755 | let mut actual_graph = partition.phase_2(graph, 1); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/run_manager/graph_maker.rs:13:70 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_adjacency_matrix_from_file_path(&self, file_path: &str, thread: i32) -> Vec> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/run_manager/graph_maker.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn build_graph_from_adjacency_matrix(&self, adjacency_matrix: Vec>, thread: i32) -> Graph { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let pool = ThreadPoolBuilder::new() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/run_manager/community_detection.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 31 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn phase_2(&mut self, G: Graph, threads: i32) -> Graph { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:249:23 [INFO] [stdout] | [INFO] [stdout] 249 | fn phase_1(&self, G: &Graph, thread: i32) -> (partition, f32) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:269:49 [INFO] [stdout] | [INFO] [stdout] 269 | fn compute_modularity_from_singleton(&self, G: &Graph) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:282:44 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn serial_louvain_algorithm(&self, G: &Graph, threads: i32) -> (partition, f32) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_A` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | let node_A = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_B` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | let node_B = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_C` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | let node_C = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `node_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_D` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | let node_D = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_E` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | let node_E = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expected_output_C` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | let expected_output_C = 1.8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `expected_output_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expected_output_D` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | let expected_output_D = 10.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expected_output_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expected_output_E` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let expected_output_E = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expected_output_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `actual_output_C` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | let actual_output_C = community_detection.sum_of_weights_from_node_to_community(node_C, &community, &graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `actual_output_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `actual_output_D` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | let actual_output_D = community_detection.sum_of_weights_from_node_to_community(node_D, &community, &graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `actual_output_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `actual_output_E` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | let actual_output_E = community_detection.sum_of_weights_from_node_to_community(node_E, &community, &graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `actual_output_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_A` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | let node_A = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_B` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | let node_B = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_C` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | let node_C = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `node_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expected_indward_degree_A` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let expected_indward_degree_A = 0.7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expected_indward_degree_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expected_indward_degree_B` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | let expected_indward_degree_B = 1.8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expected_indward_degree_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expected_indward_degree_C` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | let expected_indward_degree_C = 0.4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `expected_indward_degree_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `actual_inward_degree_A` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | let actual_inward_degree_A = community_detection.inward_degree_of_node(node_A, &graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `actual_inward_degree_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `actual_inward_degree_B` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let actual_inward_degree_B = community_detection.inward_degree_of_node(node_B, &graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `actual_inward_degree_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `actual_inward_degree_C` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | let actual_inward_degree_C = community_detection.inward_degree_of_node(node_C, &graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `actual_inward_degree_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expected_outward_degree_A` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | let expected_outward_degree_A = 1.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expected_outward_degree_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expected_outward_degree_B` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let expected_outward_degree_B = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expected_outward_degree_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expected_outward_degree_C` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | let expected_outward_degree_C = 1.8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `expected_outward_degree_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `actual_outward_degree_A` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let actual_outward_degree_A = community_detection.outward_degree_of_node(node_A, &graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `actual_outward_degree_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `actual_outward_degree_B` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:481:13 [INFO] [stdout] | [INFO] [stdout] 481 | let actual_outward_degree_B = community_detection.outward_degree_of_node(node_B, &graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `actual_outward_degree_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `actual_outward_degree_C` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let actual_outward_degree_C = community_detection.outward_degree_of_node(node_C, &graph); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `actual_outward_degree_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_A` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | let node_A = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_B` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | let node_B = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_C` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let node_C = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `node_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_D` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let node_D = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_E` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | let node_E = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `node_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `node_F` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | let node_F = graph.add_node(Node::new(0, vec![0])); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `node_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/run_manager/community_detection.rs:649:17 [INFO] [stdout] | [INFO] [stdout] 649 | let mut G = graph_maker.build_graph_from_adjacency_matrix(adjacency_matrix, 1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "4b36d4deaf46407d62375ec805cdacee89a84c03b51412949942416f79017ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b36d4deaf46407d62375ec805cdacee89a84c03b51412949942416f79017ee1", kill_on_drop: false }` [INFO] [stdout] 4b36d4deaf46407d62375ec805cdacee89a84c03b51412949942416f79017ee1