[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] testing rap2363/ssps against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frap2363%2Fssps" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rap2363/ssps on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.53.3 [INFO] [stderr] Downloaded hermit-abi v0.5.2 [INFO] [stderr] Downloaded memchr v2.7.5 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.53.0 [INFO] [stderr] Downloaded serde v1.0.219 [INFO] [stderr] Downloaded flate2 v1.1.2 [INFO] [stderr] Downloaded allocator-api2 v0.2.21 [INFO] [stderr] Downloaded par-map v0.1.4 [INFO] [stderr] Downloaded unicode-ident v1.0.18 [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded priority-queue v2.5.0 [INFO] [stderr] Downloaded protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded foldhash v0.1.5 [INFO] [stderr] Downloaded csv-core v0.1.12 [INFO] [stderr] Downloaded anyhow v1.0.99 [INFO] [stderr] Downloaded anstream v0.6.20 [INFO] [stderr] Downloaded pub-iterator-type v0.1.1 [INFO] [stderr] Downloaded num_cpus v1.17.0 [INFO] [stderr] Downloaded windows-link v0.1.3 [INFO] [stderr] Downloaded windows_i686_msvc v0.53.0 [INFO] [stderr] Downloaded indxvec v1.9.6 [INFO] [stderr] Downloaded medians v3.0.12 [INFO] [stderr] Downloaded futures-cpupool v0.1.8 [INFO] [stderr] Downloaded once_cell_polyfill v1.70.1 [INFO] [stderr] Downloaded anstyle v1.0.11 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded protobuf-codegen-pure v2.28.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.53.0 [INFO] [stderr] Downloaded flat_map v0.0.10 [INFO] [stderr] Downloaded orx-priority-queue v1.7.0 [INFO] [stderr] Downloaded ordered-float v5.0.0 [INFO] [stderr] Downloaded clap_lex v0.7.5 [INFO] [stderr] Downloaded clap_builder v4.5.44 [INFO] [stderr] Downloaded libc v0.2.175 [INFO] [stderr] Downloaded hashbrown v0.15.5 [INFO] [stderr] Downloaded anstyle-wincon v3.0.10 [INFO] [stderr] Downloaded clap v4.5.45 [INFO] [stderr] Downloaded csv v1.3.1 [INFO] [stderr] Downloaded self_cell v1.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.219 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.53.0 [INFO] [stderr] Downloaded cfg-if v1.0.1 [INFO] [stderr] Downloaded indexmap v2.11.0 [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded clap_derive v4.5.45 [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded osmpbfreader v0.16.1 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows-sys v0.60.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e7429606f29e2c677f42a3ebba001b18bb91c3d71438467a6e24c81be1a9f91 [INFO] running `Command { std: "docker" "start" "-a" "7e7429606f29e2c677f42a3ebba001b18bb91c3d71438467a6e24c81be1a9f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e7429606f29e2c677f42a3ebba001b18bb91c3d71438467a6e24c81be1a9f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7429606f29e2c677f42a3ebba001b18bb91c3d71438467a6e24c81be1a9f91", kill_on_drop: false }` [INFO] [stdout] 7e7429606f29e2c677f42a3ebba001b18bb91c3d71438467a6e24c81be1a9f91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21fa84d003b177122e9892a96abda018b2e8fb83136661da22e5002ff4505406 [INFO] running `Command { std: "docker" "start" "-a" "21fa84d003b177122e9892a96abda018b2e8fb83136661da22e5002ff4505406", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling pub-iterator-type v0.1.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling indxvec v1.9.6 [INFO] [stderr] Compiling orx-priority-queue v1.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling medians v3.0.12 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling priority-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling par-map v0.1.4 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling osmpbfreader v0.16.1 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling flat_map v0.0.10 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling 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 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: `src_idx` [INFO] [stdout] --> src/run_on_csv.rs:96:13 [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: 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: 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: 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: 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: `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.70s [INFO] running `Command { std: "docker" "inspect" "21fa84d003b177122e9892a96abda018b2e8fb83136661da22e5002ff4505406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fa84d003b177122e9892a96abda018b2e8fb83136661da22e5002ff4505406", kill_on_drop: false }` [INFO] [stdout] 21fa84d003b177122e9892a96abda018b2e8fb83136661da22e5002ff4505406 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b9183036814e7eba3fcfa87d60821ac9fac893fe55482cebaa4fa7ddb37964b [INFO] running `Command { std: "docker" "start" "-a" "2b9183036814e7eba3fcfa87d60821ac9fac893fe55482cebaa4fa7ddb37964b", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: `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: `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: `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: `src_idx` [INFO] [stdout] --> src/run_on_csv.rs:96:13 [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: 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "2b9183036814e7eba3fcfa87d60821ac9fac893fe55482cebaa4fa7ddb37964b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b9183036814e7eba3fcfa87d60821ac9fac893fe55482cebaa4fa7ddb37964b", kill_on_drop: false }` [INFO] [stdout] 2b9183036814e7eba3fcfa87d60821ac9fac893fe55482cebaa4fa7ddb37964b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] db5d5cafaef5bd6ebae310c3def13a0b551e1fcd8051178bf5c436ed3b941dbc [INFO] running `Command { std: "docker" "start" "-a" "db5d5cafaef5bd6ebae310c3def13a0b551e1fcd8051178bf5c436ed3b941dbc", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `total_added` [INFO] [stderr] --> src/bmssp.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let total_added = layers[0].len(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_added` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `min_upper_bound` [INFO] [stderr] --> src/bmssp.rs:276:10 [INFO] [stderr] | [INFO] [stderr] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_upper_bound` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uset` [INFO] [stderr] --> src/bmssp.rs:276:27 [INFO] [stderr] | [INFO] [stderr] 276 | let (min_upper_bound, uset) = bmssp_bounded( [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cost` [INFO] [stderr] --> src/tree_block_list.rs:146:26 [INFO] [stderr] | [INFO] [stderr] 146 | if let Some((cost, node_id)) = self.tree_map.pop_first() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/main.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 45 | struct WayLite { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 46 | id: WayId, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `WayLite` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `BlockRemovalResult` is never used [INFO] [stderr] --> src/block_data_structure.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | enum BlockRemovalResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `len` is never read [INFO] [stderr] --> src/block_data_structure.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct BlockList { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 90 | len: usize, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BlockList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `len`, `is_empty`, and `batch_prepend` are never used [INFO] [stderr] --> src/pq_block_list.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl BlockList { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn batch_prepend(&mut self, nodes_to_prepend: Vec<(NodeId, Cost)>) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `len` is never used [INFO] [stderr] --> src/tree_block_list.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 67 | impl BlockList { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 77 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `M` should have a snake case name [INFO] [stderr] --> src/block_data_structure.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | fn new(M: usize, upper_bound: Cost) -> Self { [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `M` should have a snake case name [INFO] [stderr] --> src/block_data_structure.rs:49:22 [INFO] [stderr] | [INFO] [stderr] 49 | fn from_existing(M: usize, upper_bound: Cost, nodes: Vec<(NodeId, Cost)>) -> Self { [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/block_data_structure.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | fn add(&mut self, node_id: NodeId, cost: Cost) -> BlockAdditionResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: structure field `M` should have a snake case name [INFO] [stderr] --> src/block_data_structure.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | M: usize, [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] [INFO] [stderr] warning: structure field `B` should have a snake case name [INFO] [stderr] --> src/block_data_structure.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | B: Cost, [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `M` should have a snake case name [INFO] [stderr] --> src/block_data_structure.rs:94:16 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/block_data_structure.rs:94:26 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/block_data_structure.rs:403:13 [INFO] [stderr] | [INFO] [stderr] 403 | let B = 100.0; [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/block_data_structure.rs:423:13 [INFO] [stderr] | [INFO] [stderr] 423 | let B = 100.0; [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/block_data_structure.rs:449:13 [INFO] [stderr] | [INFO] [stderr] 449 | let B = 100.0; [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `M` should have a snake case name [INFO] [stderr] --> src/bmssp.rs:189:9 [INFO] [stderr] | [INFO] [stderr] 189 | let M = 2_usize.pow((t * (l - 1)).try_into().unwrap()); [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] [INFO] [stderr] warning: variable `N` should have a snake case name [INFO] [stderr] --> src/bmssp.rs:267:9 [INFO] [stderr] | [INFO] [stderr] 267 | let N = neighbors.len() as f64; [INFO] [stderr] | ^ help: convert the identifier to snake case: `n` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/bmssp.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | let B = f64::INFINITY; [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: structure field `M` should have a snake case name [INFO] [stderr] --> src/pq_block_list.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | M: usize, [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] [INFO] [stderr] warning: structure field `B` should have a snake case name [INFO] [stderr] --> src/pq_block_list.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | B: Cost, [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `M` should have a snake case name [INFO] [stderr] --> src/pq_block_list.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/pq_block_list.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: structure field `M` should have a snake case name [INFO] [stderr] --> src/tree_block_list.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | M: usize, [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] [INFO] [stderr] warning: structure field `B` should have a snake case name [INFO] [stderr] --> src/tree_block_list.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | B: Cost, [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `M` should have a snake case name [INFO] [stderr] --> src/tree_block_list.rs:68:16 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/tree_block_list.rs:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn new(M: usize, B: Cost) -> Self { [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/run_on_csv.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Writer` [INFO] [stderr] --> src/run_on_csv.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use csv::{ReaderBuilder, Writer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashMap` and `HashSet` [INFO] [stderr] --> src/run_on_csv.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src_idx` [INFO] [stderr] --> src/run_on_csv.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let mut src_idx = 0; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dist` [INFO] [stderr] --> src/run_on_csv.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | let dist = ssp.run(&adj, src_idx); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/run_on_csv.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | let mut src_idx = 0; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `BlockRemovalResult` is never used [INFO] [stderr] --> src/block_data_structure.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | enum BlockRemovalResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ssps` (bin "osm" test) generated 30 warnings (run `cargo fix --bin "osm" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `ssps` (bin "csv" test) generated 35 warnings (28 duplicates) (run `cargo fix --bin "csv" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/run_on_csv.rs (/opt/rustwide/target/debug/deps/csv-0536bac937cd0364) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test block_data_structure::tests::block_addition_triggers_split ... ok [INFO] [stdout] test block_data_structure::tests::block_addition_no_split ... ok [INFO] [stdout] test block_data_structure::tests::block_list_addition ... ok [INFO] [stdout] test block_data_structure::tests::block_list_pulls ... ok [INFO] [stdout] test block_data_structure::tests::it_works ... ok [INFO] [stdout] test block_data_structure::tests::block_list_prepends ... ok [INFO] [stdout] test pq_block_list::tests::it_works ... ok [INFO] [stdout] test tree_block_list::tests::it_works ... ok [INFO] [stdout] test bmssp::tests::sample_graph ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/osm-7af5beceda1bd078) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test block_data_structure::tests::block_addition_no_split ... ok [INFO] [stdout] test block_data_structure::tests::block_list_addition ... ok [INFO] [stdout] test block_data_structure::tests::block_addition_triggers_split ... ok [INFO] [stdout] test block_data_structure::tests::block_list_prepends ... ok [INFO] [stdout] test block_data_structure::tests::it_works ... ok [INFO] [stdout] test block_data_structure::tests::block_list_pulls ... ok [INFO] [stdout] test pq_block_list::tests::it_works ... ok [INFO] [stdout] test bmssp::tests::sample_graph ... ok [INFO] [stdout] test tree_block_list::tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db5d5cafaef5bd6ebae310c3def13a0b551e1fcd8051178bf5c436ed3b941dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db5d5cafaef5bd6ebae310c3def13a0b551e1fcd8051178bf5c436ed3b941dbc", kill_on_drop: false }` [INFO] [stdout] db5d5cafaef5bd6ebae310c3def13a0b551e1fcd8051178bf5c436ed3b941dbc