[INFO] cloning repository https://github.com/brmorrell/networks-hw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brmorrell/networks-hw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrmorrell%2Fnetworks-hw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrmorrell%2Fnetworks-hw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcc8de20d9a8344c9f7c318e4668f461d30c85ca [INFO] checking brmorrell/networks-hw against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrmorrell%2Fnetworks-hw" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brmorrell/networks-hw [INFO] finished tweaking git repo https://github.com/brmorrell/networks-hw [INFO] tweaked toml for git repo https://github.com/brmorrell/networks-hw written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brmorrell/networks-hw on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brmorrell/networks-hw 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 439c0a5ea25fe606eaad0a6acf0521a541528a8366ad823ba738d3ad45b926b2 [INFO] running `Command { std: "docker" "start" "-a" "439c0a5ea25fe606eaad0a6acf0521a541528a8366ad823ba738d3ad45b926b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "439c0a5ea25fe606eaad0a6acf0521a541528a8366ad823ba738d3ad45b926b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439c0a5ea25fe606eaad0a6acf0521a541528a8366ad823ba738d3ad45b926b2", kill_on_drop: false }` [INFO] [stdout] 439c0a5ea25fe606eaad0a6acf0521a541528a8366ad823ba738d3ad45b926b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1409d0c1befe102ef7ecdb669997a844b477ff410f0f8a38efb69aa7d7f62ead [INFO] running `Command { std: "docker" "start" "-a" "1409d0c1befe102ef7ecdb669997a844b477ff410f0f8a38efb69aa7d7f62ead", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.5.27 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking hw5352 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/network.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/network.rs:218:67 [INFO] [stdout] | [INFO] [stdout] 218 | let total = self.sssp(*node).into_values().fold(0.0,|prev,d| if(d != 0){prev + (1.0/(d as f64))} else {prev}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 218 - let total = self.sssp(*node).into_values().fold(0.0,|prev,d| if(d != 0){prev + (1.0/(d as f64))} else {prev}); [INFO] [stdout] 218 + let total = self.sssp(*node).into_values().fold(0.0,|prev,d| if d != 0 {prev + (1.0/(d as f64))} else {prev}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/statistic.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AttrNode` and `Edge` [INFO] [stdout] --> src/partition.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::hw1::{AttrNode,Edge}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/partition.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/partition.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/partition.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/network.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/network.rs:218:67 [INFO] [stdout] | [INFO] [stdout] 218 | let total = self.sssp(*node).into_values().fold(0.0,|prev,d| if(d != 0){prev + (1.0/(d as f64))} else {prev}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 218 - let total = self.sssp(*node).into_values().fold(0.0,|prev,d| if(d != 0){prev + (1.0/(d as f64))} else {prev}); [INFO] [stdout] 218 + let total = self.sssp(*node).into_values().fold(0.0,|prev,d| if d != 0 {prev + (1.0/(d as f64))} else {prev}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/statistic.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AttrNode` and `Edge` [INFO] [stdout] --> src/partition.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::hw1::{AttrNode,Edge}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/partition.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/partition.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/partition.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/partition.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | for t in 0..G.nodes.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/partition.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | let mut z0_likelyhood = log_likelyhood_DCSBM(&mixing_matrix,&grp_degrees); [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: `frozen` [INFO] [stdout] --> src/partition.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | for (node,(grp,frozen)) in &new_partition { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/statistic.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | let mut T = 0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/statistic.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | let mut F = 0; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_T` should have a snake case name [INFO] [stdout] --> src/statistic.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | let mut running_T = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `running_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_F` should have a snake case name [INFO] [stdout] --> src/statistic.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | let mut running_F = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `running_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_likelyhood_DCSBM` should have a snake case name [INFO] [stdout] --> src/partition.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn log_likelyhood_DCSBM(mixing_matrix: &Vec>, grp_degrees: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `log_likelyhood_dcsbm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/partition.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn compute_mixing_matrix(G: &SimpleNetwork, c: usize, partition: &HashMap) -> Vec> { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `makeAMove` should have a snake case name [INFO] [stdout] --> src/partition.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn makeAMove(G: &SimpleNetwork, partition: &HashMap, num_groups: usize) -> (f64,(N,usize)) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `make_amove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/partition.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn makeAMove(G: &SimpleNetwork, partition: &HashMap, num_groups: usize) -> (f64,(N,usize)) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runOnePhase` should have a snake case name [INFO] [stdout] --> src/partition.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn runOnePhase(G: &SimpleNetwork, mut partition: HashMap, num_groups: usize) -> (HashMap, ... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `run_one_phase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/partition.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn runOnePhase(G: &SimpleNetwork, mut partition: HashMap, num_groups: usize) -> (HashMap, ... [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fitDCSBM` should have a snake case name [INFO] [stdout] --> src/partition.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn fitDCSBM(G: SimpleNetwork, c: usize, T: usize) -> (HashMap, f64, Vec){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `fit_dcsbm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/partition.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn fitDCSBM(G: SimpleNetwork, c: usize, T: usize) -> (HashMap, f64, Vec){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/partition.rs:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn fitDCSBM(G: SimpleNetwork, c: usize, T: usize) -> (HashMap, f64, Vec){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/partition.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | for t in 0..G.nodes.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/partition.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | let mut z0_likelyhood = log_likelyhood_DCSBM(&mixing_matrix,&grp_degrees); [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: `frozen` [INFO] [stdout] --> src/partition.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | for (node,(grp,frozen)) in &new_partition { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/statistic.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | let mut T = 0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/statistic.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | let mut F = 0; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_T` should have a snake case name [INFO] [stdout] --> src/statistic.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | let mut running_T = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `running_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_F` should have a snake case name [INFO] [stdout] --> src/statistic.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | let mut running_F = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `running_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_likelyhood_DCSBM` should have a snake case name [INFO] [stdout] --> src/partition.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn log_likelyhood_DCSBM(mixing_matrix: &Vec>, grp_degrees: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `log_likelyhood_dcsbm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/partition.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn compute_mixing_matrix(G: &SimpleNetwork, c: usize, partition: &HashMap) -> Vec> { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `makeAMove` should have a snake case name [INFO] [stdout] --> src/partition.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn makeAMove(G: &SimpleNetwork, partition: &HashMap, num_groups: usize) -> (f64,(N,usize)) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `make_amove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/partition.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn makeAMove(G: &SimpleNetwork, partition: &HashMap, num_groups: usize) -> (f64,(N,usize)) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runOnePhase` should have a snake case name [INFO] [stdout] --> src/partition.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn runOnePhase(G: &SimpleNetwork, mut partition: HashMap, num_groups: usize) -> (HashMap, ... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `run_one_phase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/partition.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn runOnePhase(G: &SimpleNetwork, mut partition: HashMap, num_groups: usize) -> (HashMap, ... [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fitDCSBM` should have a snake case name [INFO] [stdout] --> src/partition.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn fitDCSBM(G: SimpleNetwork, c: usize, T: usize) -> (HashMap, f64, Vec){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `fit_dcsbm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/partition.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn fitDCSBM(G: SimpleNetwork, c: usize, T: usize) -> (HashMap, f64, Vec){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/partition.rs:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn fitDCSBM(G: SimpleNetwork, c: usize, T: usize) -> (HashMap, f64, Vec){ [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashSet,HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:733:7 [INFO] [stdout] | [INFO] [stdout] 733 | if(adj.degree == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 733 - if(adj.degree == 0) { [INFO] [stdout] 733 + if adj.degree == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashSet,HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:733:7 [INFO] [stdout] | [INFO] [stdout] 733 | if(adj.degree == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 733 - if(adj.degree == 0) { [INFO] [stdout] 733 + if adj.degree == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frozen` [INFO] [stdout] --> src/main.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | for (node, (grp,frozen)) in partition { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_likelyhood2` [INFO] [stdout] --> src/main.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | let (new_partition2, new_likelyhood2, halt, likelyhoods) = runOnePhase(&network, partition2.clone(), c); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_likelyhood2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `halt` [INFO] [stdout] --> src/main.rs:271:43 [INFO] [stdout] | [INFO] [stdout] 271 | let (new_partition2, new_likelyhood2, halt, likelyhoods) = runOnePhase(&network, partition2.clone(), c); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frozen` [INFO] [stdout] --> src/main.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | for (node, (grp,frozen)) in partition2 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `likelyhood3` [INFO] [stdout] --> src/main.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | let (partition3, likelyhood3, likelyhoods3) = fitDCSBM(network.clone(), c, 30); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_likelyhood3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frozen` [INFO] [stdout] --> src/main.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | for (node, (grp,frozen)) in partition3 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frozen` [INFO] [stdout] --> src/main.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | for (node, (grp,frozen)) in best_partition { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rep` [INFO] [stdout] --> src/main.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | for rep in 0..50 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:729:17 [INFO] [stdout] | [INFO] [stdout] 729 | let name = path.file_stem().unwrap().to_str().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:768:8 [INFO] [stdout] | [INFO] [stdout] 768 | for i in 0..reps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | for j in 0..swaps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:737:29 [INFO] [stdout] | [INFO] [stdout] 737 | .filter(|&(i, x)| (i + 1) % 2 != 0) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:738:21 [INFO] [stdout] | [INFO] [stdout] 738 | .map(|(i, x)| x) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frozen` [INFO] [stdout] --> src/main.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | for (node, (grp,frozen)) in partition { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_likelyhood2` [INFO] [stdout] --> src/main.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | let (new_partition2, new_likelyhood2, halt, likelyhoods) = runOnePhase(&network, partition2.clone(), c); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_likelyhood2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `halt` [INFO] [stdout] --> src/main.rs:271:43 [INFO] [stdout] | [INFO] [stdout] 271 | let (new_partition2, new_likelyhood2, halt, likelyhoods) = runOnePhase(&network, partition2.clone(), c); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frozen` [INFO] [stdout] --> src/main.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | for (node, (grp,frozen)) in partition2 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `likelyhood3` [INFO] [stdout] --> src/main.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | let (partition3, likelyhood3, likelyhoods3) = fitDCSBM(network.clone(), c, 30); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_likelyhood3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frozen` [INFO] [stdout] --> src/main.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | for (node, (grp,frozen)) in partition3 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frozen` [INFO] [stdout] --> src/main.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | for (node, (grp,frozen)) in best_partition { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frozen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rep` [INFO] [stdout] --> src/main.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | for rep in 0..50 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:729:17 [INFO] [stdout] | [INFO] [stdout] 729 | let name = path.file_stem().unwrap().to_str().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:768:8 [INFO] [stdout] | [INFO] [stdout] 768 | for i in 0..reps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | for j in 0..swaps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:737:29 [INFO] [stdout] | [INFO] [stdout] 737 | .filter(|&(i, x)| (i + 1) % 2 != 0) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:738:21 [INFO] [stdout] | [INFO] [stdout] 738 | .map(|(i, x)| x) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let mut mixing_matrix = compute_mixing_matrix(&network, c, &partition); [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 `Result` that must be used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | network_base.add_edge(*i,(*i+1)%max_nodes ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = network_base.add_edge(*i,(*i+1)%max_nodes ); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | network_base.add_edge(*i,(*i+2)%max_nodes ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = network_base.add_edge(*i,(*i+2)%max_nodes ); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | network.rewire_edge(*i,(*i+1)%max_nodes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = network.rewire_edge(*i,(*i+1)%max_nodes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | network.rewire_edge(*i,(*i+2)%max_nodes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = network.rewire_edge(*i,(*i+2)%max_nodes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/main.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | let T = 30; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:766:5 [INFO] [stdout] | [INFO] [stdout] 766 | network.double_edge_swap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 766 | let _ = network.double_edge_swap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:770:6 [INFO] [stdout] | [INFO] [stdout] 770 | network.double_edge_swap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 770 | let _ = network.double_edge_swap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let mut mixing_matrix = compute_mixing_matrix(&network, c, &partition); [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 `Result` that must be used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | network_base.add_edge(*i,(*i+1)%max_nodes ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = network_base.add_edge(*i,(*i+1)%max_nodes ); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | network_base.add_edge(*i,(*i+2)%max_nodes ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | let _ = network_base.add_edge(*i,(*i+2)%max_nodes ); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | network.rewire_edge(*i,(*i+1)%max_nodes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = network.rewire_edge(*i,(*i+1)%max_nodes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | network.rewire_edge(*i,(*i+2)%max_nodes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 87 | let _ = network.rewire_edge(*i,(*i+2)%max_nodes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/main.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | let T = 30; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:766:5 [INFO] [stdout] | [INFO] [stdout] 766 | network.double_edge_swap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 766 | let _ = network.double_edge_swap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:770:6 [INFO] [stdout] | [INFO] [stdout] 770 | network.double_edge_swap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 770 | let _ = network.double_edge_swap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.07s [INFO] running `Command { std: "docker" "inspect" "1409d0c1befe102ef7ecdb669997a844b477ff410f0f8a38efb69aa7d7f62ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1409d0c1befe102ef7ecdb669997a844b477ff410f0f8a38efb69aa7d7f62ead", kill_on_drop: false }` [INFO] [stdout] 1409d0c1befe102ef7ecdb669997a844b477ff410f0f8a38efb69aa7d7f62ead