[INFO] cloning repository https://github.com/rap2363/ssps [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rap2363/ssps" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frap2363%2Fssps", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frap2363%2Fssps'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cc75d505ced377e8a600ca90bdd8aaf175c8967 [INFO] checking rap2363/ssps against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frap2363%2Fssps" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rap2363/ssps [INFO] finished tweaking git repo https://github.com/rap2363/ssps [INFO] tweaked toml for git repo https://github.com/rap2363/ssps written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rap2363/ssps on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rap2363/ssps 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7d381873d8feb43d2b7522c45ccd7e52f0882c9dfe1cfc868f9b72d60f1fbc0 [INFO] running `Command { std: "docker" "start" "-a" "a7d381873d8feb43d2b7522c45ccd7e52f0882c9dfe1cfc868f9b72d60f1fbc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7d381873d8feb43d2b7522c45ccd7e52f0882c9dfe1cfc868f9b72d60f1fbc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d381873d8feb43d2b7522c45ccd7e52f0882c9dfe1cfc868f9b72d60f1fbc0", kill_on_drop: false }` [INFO] [stdout] a7d381873d8feb43d2b7522c45ccd7e52f0882c9dfe1cfc868f9b72d60f1fbc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d21db49b3a36222671744c4df9648363aeade682cf227ba816748c261fd38ce6 [INFO] running `Command { std: "docker" "start" "-a" "d21db49b3a36222671744c4df9648363aeade682cf227ba816748c261fd38ce6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking pub-iterator-type v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking self_cell v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking indxvec v1.9.6 [INFO] [stderr] Checking orx-priority-queue v1.7.0 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking medians v3.0.12 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking par-map v0.1.4 [INFO] [stderr] Checking priority-queue v2.5.0 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling osmpbfreader v0.16.1 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking flat_map v0.0.10 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking ssps v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/run_on_csv.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/run_on_csv.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use csv::{ReaderBuilder, Writer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/run_on_csv.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/run_on_csv.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/run_on_csv.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use csv::{ReaderBuilder, Writer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/run_on_csv.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_added` [INFO] [stdout] --> src/bmssp.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let total_added = layers[0].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_added` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_upper_bound` [INFO] [stdout] --> src/bmssp.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_upper_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uset` [INFO] [stdout] --> src/bmssp.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/tree_block_list.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some((cost, node_id)) = self.tree_map.pop_first() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_on_csv.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let mut src_idx = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_idx` [INFO] [stdout] --> src/run_on_csv.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let mut src_idx = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/run_on_csv.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let dist = ssp.run(&adj, src_idx); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockRemovalResult` is never used [INFO] [stdout] --> src/block_data_structure.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum BlockRemovalResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/block_data_structure.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct BlockList { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `is_empty`, and `batch_prepend` are never used [INFO] [stdout] --> src/pq_block_list.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BlockList { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn batch_prepend(&mut self, nodes_to_prepend: Vec<(NodeId, Cost)>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/tree_block_list.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl BlockList { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn new(M: usize, upper_bound: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | fn from_existing(M: usize, upper_bound: Cost, nodes: Vec<(NodeId, Cost)>) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/block_data_structure.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | let B = 100.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | let B = 100.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let B = 100.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let M = 2_usize.pow((t * (l - 1)).try_into().unwrap()); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let N = neighbors.len() as f64; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | let B = f64::INFINITY; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_added` [INFO] [stdout] --> src/bmssp.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let total_added = layers[0].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_added` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_upper_bound` [INFO] [stdout] --> src/bmssp.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_upper_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uset` [INFO] [stdout] --> src/bmssp.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/tree_block_list.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some((cost, node_id)) = self.tree_map.pop_first() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_added` [INFO] [stdout] --> src/bmssp.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let total_added = layers[0].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_added` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_upper_bound` [INFO] [stdout] --> src/bmssp.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_upper_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uset` [INFO] [stdout] --> src/bmssp.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_on_csv.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let mut src_idx = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_idx` [INFO] [stdout] --> src/run_on_csv.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let mut src_idx = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/run_on_csv.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let dist = ssp.run(&adj, src_idx); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeId` is never used [INFO] [stdout] --> src/block_data_structure.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type NodeId = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Cost` is never used [INFO] [stdout] --> src/block_data_structure.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Cost = f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/block_data_structure.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockAdditionResult` is never used [INFO] [stdout] --> src/block_data_structure.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum BlockAdditionResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockRemovalResult` is never used [INFO] [stdout] --> src/block_data_structure.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum BlockRemovalResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PullResult` is never constructed [INFO] [stdout] --> src/block_data_structure.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PullResult(pub Vec, pub Cost); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_existing`, and `add` are never used [INFO] [stdout] --> src/block_data_structure.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Block { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 45 | fn new(M: usize, upper_bound: Cost) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn from_existing(M: usize, upper_bound: Cost, nodes: Vec<(NodeId, Cost)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockLocation` is never used [INFO] [stdout] --> src/block_data_structure.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | enum BlockLocation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockList` is never constructed [INFO] [stdout] --> src/block_data_structure.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct BlockList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/block_data_structure.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl BlockList { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn remove_from_prepend_list(&mut self, node_id: NodeId, cost: Cost) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn remove_from_insert_list(&mut self, node_id: NodeId, cost: Cost) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn update(&mut self, node_id: NodeId, new_cost: Cost) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn insert(&mut self, node_id: NodeId, cost: Cost) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn get_minimum_block(&self) -> &Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn get_minimum_upper_bound(&self) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn batch_prepend(&mut self, nodes_to_prepend: Vec<(NodeId, Cost)>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn get_minimum_cost(&self) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn pull_elements(&mut self, num_to_pull: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub fn pull(&mut self) -> PullResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeId` is never used [INFO] [stdout] --> src/pq_block_list.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type NodeId = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Cost` is never used [INFO] [stdout] --> src/pq_block_list.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Cost = f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PullResult` is never constructed [INFO] [stdout] --> src/pq_block_list.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PullResult(pub Vec, pub Cost); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockList` is never constructed [INFO] [stdout] --> src/pq_block_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BlockList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pq_block_list.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BlockList { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn insert(&mut self, node_id: NodeId, cost: Cost) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn batch_prepend(&mut self, nodes_to_prepend: Vec<(NodeId, Cost)>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_minimum_bound(&self) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn pull(&mut self) -> PullResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/tree_block_list.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl BlockList { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn new(M: usize, upper_bound: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | fn from_existing(M: usize, upper_bound: Cost, nodes: Vec<(NodeId, Cost)>) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/block_data_structure.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let M = 2_usize.pow((t * (l - 1)).try_into().unwrap()); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let N = neighbors.len() as f64; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | let B = f64::INFINITY; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/tree_block_list.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some((cost, node_id)) = self.tree_map.pop_first() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_added` [INFO] [stdout] --> src/bmssp.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let total_added = layers[0].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_added` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_upper_bound` [INFO] [stdout] --> src/bmssp.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_upper_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uset` [INFO] [stdout] --> src/bmssp.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/tree_block_list.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some((cost, node_id)) = self.tree_map.pop_first() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct WayLite { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | id: WayId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `WayLite` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeId` is never used [INFO] [stdout] --> src/block_data_structure.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type NodeId = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Cost` is never used [INFO] [stdout] --> src/block_data_structure.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Cost = f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/block_data_structure.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockAdditionResult` is never used [INFO] [stdout] --> src/block_data_structure.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum BlockAdditionResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockRemovalResult` is never used [INFO] [stdout] --> src/block_data_structure.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum BlockRemovalResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PullResult` is never constructed [INFO] [stdout] --> src/block_data_structure.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PullResult(pub Vec, pub Cost); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_existing`, and `add` are never used [INFO] [stdout] --> src/block_data_structure.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Block { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 45 | fn new(M: usize, upper_bound: Cost) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn from_existing(M: usize, upper_bound: Cost, nodes: Vec<(NodeId, Cost)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockLocation` is never used [INFO] [stdout] --> src/block_data_structure.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | enum BlockLocation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockList` is never constructed [INFO] [stdout] --> src/block_data_structure.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct BlockList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/block_data_structure.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl BlockList { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn remove_from_prepend_list(&mut self, node_id: NodeId, cost: Cost) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn remove_from_insert_list(&mut self, node_id: NodeId, cost: Cost) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn update(&mut self, node_id: NodeId, new_cost: Cost) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn insert(&mut self, node_id: NodeId, cost: Cost) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn get_minimum_block(&self) -> &Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn get_minimum_upper_bound(&self) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn batch_prepend(&mut self, nodes_to_prepend: Vec<(NodeId, Cost)>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn get_minimum_cost(&self) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn pull_elements(&mut self, num_to_pull: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub fn pull(&mut self) -> PullResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeId` is never used [INFO] [stdout] --> src/pq_block_list.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type NodeId = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Cost` is never used [INFO] [stdout] --> src/pq_block_list.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Cost = f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PullResult` is never constructed [INFO] [stdout] --> src/pq_block_list.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PullResult(pub Vec, pub Cost); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockList` is never constructed [INFO] [stdout] --> src/pq_block_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BlockList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pq_block_list.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BlockList { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn insert(&mut self, node_id: NodeId, cost: Cost) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn batch_prepend(&mut self, nodes_to_prepend: Vec<(NodeId, Cost)>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_minimum_bound(&self) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn pull(&mut self) -> PullResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/tree_block_list.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl BlockList { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn new(M: usize, upper_bound: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | fn from_existing(M: usize, upper_bound: Cost, nodes: Vec<(NodeId, Cost)>) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/block_data_structure.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let M = 2_usize.pow((t * (l - 1)).try_into().unwrap()); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let N = neighbors.len() as f64; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | let B = f64::INFINITY; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct WayLite { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 46 | id: WayId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `WayLite` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockRemovalResult` is never used [INFO] [stdout] --> src/block_data_structure.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum BlockRemovalResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/block_data_structure.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct BlockList { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `is_empty`, and `batch_prepend` are never used [INFO] [stdout] --> src/pq_block_list.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BlockList { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn batch_prepend(&mut self, nodes_to_prepend: Vec<(NodeId, Cost)>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/tree_block_list.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl BlockList { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn new(M: usize, upper_bound: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | fn from_existing(M: usize, upper_bound: Cost, nodes: Vec<(NodeId, Cost)>) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/block_data_structure.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | let B = 100.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | let B = 100.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/block_data_structure.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let B = 100.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let M = 2_usize.pow((t * (l - 1)).try_into().unwrap()); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let N = neighbors.len() as f64; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bmssp.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | let B = f64::INFINITY; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/pq_block_list.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | B: Cost, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/tree_block_list.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.45s [INFO] running `Command { std: "docker" "inspect" "d21db49b3a36222671744c4df9648363aeade682cf227ba816748c261fd38ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d21db49b3a36222671744c4df9648363aeade682cf227ba816748c261fd38ce6", kill_on_drop: false }` [INFO] [stdout] d21db49b3a36222671744c4df9648363aeade682cf227ba816748c261fd38ce6