[INFO] cloning repository https://github.com/akiradeveloper/rust-comp-snippets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akiradeveloper/rust-comp-snippets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakiradeveloper%2Frust-comp-snippets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakiradeveloper%2Frust-comp-snippets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fabb6a9811a955db3546f682679010e61022c472 [INFO] checking akiradeveloper/rust-comp-snippets against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakiradeveloper%2Frust-comp-snippets" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akiradeveloper/rust-comp-snippets on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akiradeveloper/rust-comp-snippets [INFO] finished tweaking git repo https://github.com/akiradeveloper/rust-comp-snippets [INFO] tweaked toml for git repo https://github.com/akiradeveloper/rust-comp-snippets written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/akiradeveloper/rust-comp-snippets already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded cargo-snippet v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 994f7b9e73ba60fa289e6dff920d92d886c6b6e358b56a8455818ae2305f1d76 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "994f7b9e73ba60fa289e6dff920d92d886c6b6e358b56a8455818ae2305f1d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "994f7b9e73ba60fa289e6dff920d92d886c6b6e358b56a8455818ae2305f1d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "994f7b9e73ba60fa289e6dff920d92d886c6b6e358b56a8455818ae2305f1d76", kill_on_drop: false }` [INFO] [stdout] 994f7b9e73ba60fa289e6dff920d92d886c6b6e358b56a8455818ae2305f1d76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed937d016de3d94bca45d5a3a47d03c6611faa138744cf38e7a09e09d644a69d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ed937d016de3d94bca45d5a3a47d03c6611faa138744cf38e7a09e09d644a69d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cargo-snippet v0.5.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rust-comp-snippets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graph/lca.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if (v0 == v1) { [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/macros.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max,min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! chmax { [INFO] [stdout] 4 | | ($x:expr, $($v:expr),+) => { [INFO] [stdout] 5 | | $( [INFO] [stdout] 6 | | $x = std::cmp::max($x,$v); [INFO] [stdout] 7 | | )+ [INFO] [stdout] 8 | | }; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / macro_rules! chmin { [INFO] [stdout] 11 | | ($x:expr, $($v:expr),+) => { [INFO] [stdout] 12 | | $( [INFO] [stdout] 13 | | $x = std::cmp::min($x,$v); [INFO] [stdout] 14 | | )+ [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / macro_rules! max { [INFO] [stdout] 18 | | ($x:expr) => ( $x ); [INFO] [stdout] 19 | | ($x:expr, $($xs:expr),+) => { [INFO] [stdout] 20 | | std::cmp::max($x, max!( $($xs),+ )) [INFO] [stdout] 21 | | }; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / macro_rules! min { [INFO] [stdout] 24 | | ($x:expr) => ( $x ); [INFO] [stdout] 25 | | ($x:expr, $($xs:expr),+) => { [INFO] [stdout] 26 | | std::cmp::min($x, min!( $($xs),+ )) [INFO] [stdout] 27 | | }; [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ntt_heia`, `ntt_yuya178` [INFO] [stdout] --> src/ntt.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | use crate::ntt_ext::{ntt_heia, ntt_yuya178}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fft` [INFO] [stdout] --> src/ntt.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | use crate::fft; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MAX_RUQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct MAX_RUQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MaxRuq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MIN_RUQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | struct MIN_RUQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MinRuq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SUM_RUQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | struct SUM_RUQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SumRuq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SUM_RAQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct SUM_RAQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SumRaq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MAX_RAQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | struct MAX_RAQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MaxRaq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MIN_RAQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | struct MIN_RAQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MinRaq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet` [INFO] [stdout] --> src/skiplist.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `skiplist::*` [INFO] [stdout] --> src/skiplist.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | use skiplist::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeSet` [INFO] [stdout] --> src/skiplist.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 431 | use std::collections::BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test::Bencher` [INFO] [stdout] --> src/fenwick.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/graph/lca.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if (v0 == v1) { [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/graph/zenho.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/macros.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max,min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MAX_RUQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct MAX_RUQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MaxRuq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MIN_RUQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | struct MIN_RUQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MinRuq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SUM_RUQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | struct SUM_RUQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SumRuq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SUM_RAQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | struct SUM_RAQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SumRaq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MAX_RAQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | struct MAX_RAQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MaxRaq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MIN_RAQ` should have an upper camel case name [INFO] [stdout] --> src/seg_lazy.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | struct MIN_RAQ; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MinRaq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet` [INFO] [stdout] --> src/skiplist.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/sqrt_decomposition.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(sc.bucket((0)), 0); [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/sqrt_decomposition.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(sc.bucket((4)), 1); [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/skiplist.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | println!("{}",ss.connect(",")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/arith_seq.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn upper_bound(&self, y: i64) -> i64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/combination.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | fn nBk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/combination.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | fn nBk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/cumsum.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let b = line.b; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | fn g(x: Self::Monoid, y: Self::OperatorMonoid, _: usize) -> Self::Monoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | fn h(x: Self::OperatorMonoid, y: Self::OperatorMonoid) -> Self::OperatorMonoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | fn g(x: Self::Monoid, y: Self::OperatorMonoid, _: usize) -> Self::Monoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | fn h(x: Self::OperatorMonoid, y: Self::OperatorMonoid) -> Self::OperatorMonoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | fn g(x: Self::Monoid, y: Self::OperatorMonoid, weight: usize) -> Self::Monoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | fn h(x: Self::OperatorMonoid, y: Self::OperatorMonoid) -> Self::OperatorMonoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/sqrt_decomposition.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn buckets(&self, from: usize, to: usize) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/template.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut out = BufWriter::new(out.lock()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t2` [INFO] [stdout] --> src/treap.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | let (t2, t3) = split(rest, 1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/tsort.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut colors = vec![false; n]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/tsort.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut indeg = vec![0; n]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/lowlink.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut g = vec![vec![];n]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/lowlink.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut used = vec![false; n]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/lowlink.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut ord = vec![0; n]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/lowlink.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut low = vec![0; n]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/skiplist.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | println!("{}",ss.connect(",")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grundy.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut n = xs.len(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/skiplist.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut it = self.iter(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut out = BufWriter::new(out.lock()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/arith_seq.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn upper_bound(&self, y: i64) -> i64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/combination.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | fn nBk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/combination.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | fn nBk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/cumsum.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let b = line.b; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/graph/lca.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let tree = vec![ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wavelet_matrix.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut x = x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | fn g(x: Self::Monoid, y: Self::OperatorMonoid, _: usize) -> Self::Monoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | fn h(x: Self::OperatorMonoid, y: Self::OperatorMonoid) -> Self::OperatorMonoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | fn g(x: Self::Monoid, y: Self::OperatorMonoid, _: usize) -> Self::Monoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | fn h(x: Self::OperatorMonoid, y: Self::OperatorMonoid) -> Self::OperatorMonoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | fn g(x: Self::Monoid, y: Self::OperatorMonoid, weight: usize) -> Self::Monoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/seg_lazy.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | fn h(x: Self::OperatorMonoid, y: Self::OperatorMonoid) -> Self::OperatorMonoid { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/sqrt_decomposition.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn buckets(&self, from: usize, to: usize) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/string/roliha.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | for i in 0..1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/template.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut out = BufWriter::new(out.lock()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wavelet_matrix.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | for i in 0..500 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/wavelet_matrix.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | for i in 0..1000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t2` [INFO] [stdout] --> src/treap.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | let (t2, t3) = split(rest, 1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinarySearchf64` [INFO] [stdout] --> src/binary_search.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct BinarySearchf64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `eps` [INFO] [stdout] --> src/binary_search.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | const eps: f64 = 1e-9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_search.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(lb: f64, ub: f64, f: F) -> BinarySearchf64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search` [INFO] [stdout] --> src/binary_search.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn search(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `submasks` [INFO] [stdout] --> src/bitop.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn submasks(mask: i64) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bitpos` [INFO] [stdout] --> src/bitop.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn bitpos(x: i64) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BitMask` [INFO] [stdout] --> src/bitop.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct BitMask { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bitop.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(x: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/bitop.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn check(&self, k: usize) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on` [INFO] [stdout] --> src/bitop.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn on(&self, k: usize) -> i64 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `off` [INFO] [stdout] --> src/bitop.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn off(&self, k: usize) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flip` [INFO] [stdout] --> src/bitop.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn flip(&self, k: usize) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lsb` [INFO] [stdout] --> src/bitop.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn lsb(&self) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nCk` [INFO] [stdout] --> src/combination.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn nCk(a: i64, b: i64) -> Mod { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `comb_table` [INFO] [stdout] --> src/combination.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn comb_table(n_max: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `catalan` [INFO] [stdout] --> src/combination.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn catalan(n: i64) -> Mod { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `catalan_table` [INFO] [stdout] --> src/combination.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn catalan_table(n_max: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initialize` [INFO] [stdout] --> src/combination.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn initialize(ft: &mut Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/combination.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn new(max_n: usize, p: i64) -> ModComb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fact` [INFO] [stdout] --> src/combination.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn fact(&self, n: usize) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nCk` [INFO] [stdout] --> src/combination.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn nCk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nPk` [INFO] [stdout] --> src/combination.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn nPk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nHk` [INFO] [stdout] --> src/combination.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn nHk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nSk` [INFO] [stdout] --> src/combination.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn nSk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nBk` [INFO] [stdout] --> src/combination.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn nBk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> src/convex_hull_trick.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | a: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/convex_hull_trick.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | b: i64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/convex_hull_trick.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(a: i64, b: i64) -> Line { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/convex_hull_trick.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn y(&self, x: i64) -> i64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ConvexHullTrick` [INFO] [stdout] --> src/convex_hull_trick.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ConvexHullTrick { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/convex_hull_trick.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new() -> ConvexHullTrick { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/convex_hull_trick.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn check(l1: (i64,i64), l2: (i64,i64), l3: (i64,i64)) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/convex_hull_trick.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn add(&mut self, line: Line) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `f` [INFO] [stdout] --> src/convex_hull_trick.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn f(&self, i: usize, x: i64) -> i64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/convex_hull_trick.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn getbool>(&self, x: i64, comp: F) -> Line { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_upper` [INFO] [stdout] --> src/convex_hull_trick.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_upper(&self, x: i64) -> Line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_lower` [INFO] [stdout] --> src/convex_hull_trick.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_lower(&self, x: i64) -> Line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CoordCompression` [INFO] [stdout] --> src/coord_compression.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct CoordCompression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/coord_compression.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new(xs: &[i64], start: usize) -> CoordCompression { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compress` [INFO] [stdout] --> src/coord_compression.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn compress(&self, x: i64) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decompress` [INFO] [stdout] --> src/coord_compression.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn decompress(&self, x: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CumSum1` [INFO] [stdout] --> src/cumsum.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct CumSum1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cumsum.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/cumsum.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn from_vec(a: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cumsum.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add(&mut self, i: usize, x: i64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/cumsum.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn set(&mut self, i: usize, x: i64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/cumsum.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn build(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query` [INFO] [stdout] --> src/cumsum.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn query(&self, i: usize, j: usize) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CumSum2` [INFO] [stdout] --> src/cumsum.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct CumSum2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cumsum.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn new(n: usize, m: usize) -> CumSum2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cumsum.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn add(&mut self, i: usize, j: usize, x: i64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/cumsum.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn set(&mut self, i: usize, j: usize, x: i64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/cumsum.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn build(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query` [INFO] [stdout] --> src/cumsum.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn query(&self, i0: usize, i1_: usize, j0: usize, j1_: usize) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Imosu2d` [INFO] [stdout] --> src/cumsum.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | struct Imosu2d { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cumsum.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(n: usize, m: usize) -> Imosu2d { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cumsum.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn add(&mut self, i0: usize, i1: usize, j0: usize, j1: usize, x: i64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/cumsum.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn build(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/cumsum.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn get(&self, i: usize, j: usize) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Imosu1d` [INFO] [stdout] --> src/cumsum.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | struct Imosu1d { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cumsum.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn new(n: usize) -> Imosu1d { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_line` [INFO] [stdout] --> src/cumsum.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn add_line(&mut self, l: usize, r: usize, line: ArithSeq) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/cumsum.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn get(&self, k: usize) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sweep` [INFO] [stdout] --> src/cumsum.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn sweep(dp: &mut [i64]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/cumsum.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn build(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Doubling` [INFO] [stdout] --> src/doubling.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Doubling { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/doubling.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(d: D, maxbit: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow` [INFO] [stdout] --> src/doubling.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn pow(&self, k: i64) -> D::T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GaussianElimination` [INFO] [stdout] --> src/gaussian_elimination.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct GaussianElimination { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gaussian_elimination.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(A: Vec>, y: Vec, mo: i64) -> GaussianElimination { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sweep` [INFO] [stdout] --> src/gaussian_elimination.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn sweep(A: &mut [Vec], mo: i64) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `h` [INFO] [stdout] --> src/gaussian_elimination.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn h(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `w` [INFO] [stdout] --> src/gaussian_elimination.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn w(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> src/gaussian_elimination.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn rank(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/gaussian_elimination.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn x(&self) -> Option> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `warshal_floyd` [INFO] [stdout] --> src/graph/apsp.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn warshal_floyd(d: &mut [Vec]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Network` [INFO] [stdout] --> src/graph/max_flow.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/max_flow.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(n: usize) -> Network { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n` [INFO] [stdout] --> src/graph/max_flow.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn n(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/graph/max_flow.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn add_edge(&mut self, from: usize, to: usize, cap: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs` [INFO] [stdout] --> src/graph/max_flow.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | fn dfs(&mut self, v: usize, t: usize, f: i64) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_flow` [INFO] [stdout] --> src/graph/max_flow.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn max_flow(&mut self, s: usize, t: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Network` [INFO] [stdout] --> src/graph/min_cost_flow.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | struct Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/min_cost_flow.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(n: usize) -> Network { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/graph/min_cost_flow.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn add_edge(&mut self, from: usize, to: usize, cap: i64, cost: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n` [INFO] [stdout] --> src/graph/min_cost_flow.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | fn n(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_cost_flow` [INFO] [stdout] --> src/graph/min_cost_flow.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn min_cost_flow(&mut self, s: usize, t: usize, f: i64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Network` [INFO] [stdout] --> src/graph/min_cost_flow.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | struct Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/min_cost_flow.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new(n: usize) -> Network { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/graph/min_cost_flow.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn add_edge(&mut self, from: usize, to: usize, cap: i64, cost: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n` [INFO] [stdout] --> src/graph/min_cost_flow.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | fn n(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_cost_flow` [INFO] [stdout] --> src/graph/min_cost_flow.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn min_cost_flow(&mut self, s: usize, t: usize, f: i64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TopologicalSort` [INFO] [stdout] --> src/graph/tsort.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct TopologicalSort { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/tsort.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/graph/tsort.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn add_edge(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bfs` [INFO] [stdout] --> src/graph/tsort.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn bfs(&mut self, s: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tsort` [INFO] [stdout] --> src/graph/tsort.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn tsort(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LowLink` [INFO] [stdout] --> src/graph/lowlink.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct LowLink { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minmax` [INFO] [stdout] --> src/graph/lowlink.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn minmax(p: (usize, usize)) -> (usize, usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/lowlink.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(n: usize) -> LowLink { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/graph/lowlink.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn connect(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/graph/lowlink.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn build(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_build` [INFO] [stdout] --> src/graph/lowlink.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn do_build(&mut self, u: usize, k: usize, par: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LCA` [INFO] [stdout] --> src/graph/lca.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct LCA { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/lca.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/graph/lca.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn connect(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs` [INFO] [stdout] --> src/graph/lca.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn dfs(&mut self, u: usize, parent: Option, depth: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/graph/lca.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(&mut self, root: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lca` [INFO] [stdout] --> src/graph/lca.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn lca(&self, u: usize, v: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/graph/lca.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn distance(&self, u: usize, v: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `kraskal` [INFO] [stdout] --> src/graph/mst.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn kraskal(n: usize, es: Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min_edge` [INFO] [stdout] --> src/graph/mst.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn min_edge(edges: &[Edge]) -> &Edge { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NULL_EDGE` [INFO] [stdout] --> src/graph/mst.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | static NULL_EDGE: &'static Edge = &Edge(1<<40, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chu_liu_edmonds` [INFO] [stdout] --> src/graph/mst.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn chu_liu_edmonds(in_g: &[Vec], root: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bipartite_matching` [INFO] [stdout] --> src/graph/bipartite_matching.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn bipartite_matching(g_list: &[HashSet]) -> Vec<(usize,usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BipartiteMatching` [INFO] [stdout] --> src/graph/bipartite_matching.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct BipartiteMatching { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/bipartite_matching.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(n: usize) -> BipartiteMatching { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/graph/bipartite_matching.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn connect(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve` [INFO] [stdout] --> src/graph/bipartite_matching.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn solve(&self) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cycle_detection_directed` [INFO] [stdout] --> src/graph/cycle_detection.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn cycle_detection_directed(g: &[Vec]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CycleDetection` [INFO] [stdout] --> src/graph/cycle_detection.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct CycleDetection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/cycle_detection.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(n: usize) -> CycleDetection { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/graph/cycle_detection.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn add_edge(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve` [INFO] [stdout] --> src/graph/cycle_detection.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn solve(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HLDecomposition` [INFO] [stdout] --> src/graph/hl_decomposition.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct HLDecomposition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/hl_decomposition.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/graph/hl_decomposition.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn connect(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/graph/hl_decomposition.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn build(&mut self, root: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs1` [INFO] [stdout] --> src/graph/hl_decomposition.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn dfs1(&mut self, root: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs1_sub` [INFO] [stdout] --> src/graph/hl_decomposition.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn dfs1_sub(&mut self, u: usize, par: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs2` [INFO] [stdout] --> src/graph/hl_decomposition.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn dfs2(&mut self, root: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs2_sub` [INFO] [stdout] --> src/graph/hl_decomposition.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn dfs2_sub(&mut self, u: usize, par: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bfs` [INFO] [stdout] --> src/graph/hl_decomposition.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn bfs(&mut self, root: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lca` [INFO] [stdout] --> src/graph/hl_decomposition.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn lca(&self, u: usize, v: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vertex_decomposition` [INFO] [stdout] --> src/graph/hl_decomposition.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn vertex_decomposition(&self) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `edge_decomposition` [INFO] [stdout] --> src/graph/hl_decomposition.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn edge_decomposition(&self) -> Vec<(usize,usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vertex_decomposition_between` [INFO] [stdout] --> src/graph/hl_decomposition.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn vertex_decomposition_between(&self, u: usize, v: usize) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `edge_decomposition_between` [INFO] [stdout] --> src/graph/hl_decomposition.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn edge_decomposition_between(&self, u: usize, v: usize) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/graph/hl_decomposition.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn distance(&self, u: usize, v: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/zenho.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(elems: Vec) -> CumRL { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/graph/zenho.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lcum` [INFO] [stdout] --> src/graph/zenho.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn lcum(&self, len: usize) -> F::T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rcum` [INFO] [stdout] --> src/graph/zenho.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn rcum(&self, len: usize) -> F::T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/zenho.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new(z: Z, nvalues: Vec) -> ZenHo { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n` [INFO] [stdout] --> src/graph/zenho.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn n(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/graph/zenho.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn add_edge(&mut self, u: usize, v: usize, eval: Z::EVal) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init_dfs` [INFO] [stdout] --> src/graph/zenho.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn init_dfs(&mut self, par: Option, u: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reroot_bfs` [INFO] [stdout] --> src/graph/zenho.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn reroot_bfs(&mut self, par: Option, u: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/graph/zenho.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn build(&mut self, root: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/graph/zenho.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn calc(&self, u: usize, v: usize) -> Z::T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LongestDistance` [INFO] [stdout] --> src/graph/longest_distance.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct LongestDistance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/longest_distance.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(n: usize) -> LongestDistance { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/graph/longest_distance.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add_edge(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve` [INFO] [stdout] --> src/graph/longest_distance.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn solve(&mut self, i: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DijkstraQueue` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct DijkstraQueue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(maxdist: usize) -> DijkstraQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_retry` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn pop_retry(&mut self) -> Option<(usize, State)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn pop(&mut self) -> Option<(usize, State)> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn push(&mut self, cost: usize, st: State) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty_retry` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn is_empty_retry(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn is_empty(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `forward_cur` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn forward_cur(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SZ` [INFO] [stdout] --> src/graph/dijkstra_queue.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | const SZ: usize = 1000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AdjacencyMatrix` [INFO] [stdout] --> src/graph/adjacency_matrix.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct AdjacencyMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/adjacency_matrix.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(n: usize, inf: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/graph/adjacency_matrix.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add_edge(&mut self, u: usize, v: usize, cost: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/graph/adjacency_matrix.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build(&self) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Partition` [INFO] [stdout] --> src/graph/partition.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Partition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/partition.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(n: usize) -> Partition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/graph/partition.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn connect(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/graph/partition.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn build(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/euler_tour.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(n: usize) -> EularTour { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/graph/euler_tour.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn connect(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `alloc_vid` [INFO] [stdout] --> src/graph/euler_tour.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn alloc_vid(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs` [INFO] [stdout] --> src/graph/euler_tour.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn dfs(&mut self, u: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rec` [INFO] [stdout] --> src/graph/euler_tour.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn rec(&mut self, u: usize, p: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Kadane` [INFO] [stdout] --> src/kadane.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Kadane { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kadane.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(a: Vec, add: Fold) -> Kadane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rmax` [INFO] [stdout] --> src/kadane.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn rmax(&self, l: usize) -> (usize, Sum) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lmax` [INFO] [stdout] --> src/kadane.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lmax(&self, r: usize) -> (usize, Sum) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_lmax` [INFO] [stdout] --> src/kadane.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn build_lmax(a: Vec, fold: &Fold) -> Vec<(usize, Sum)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RangeCompression` [INFO] [stdout] --> src/lower_bound.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct RangeCompression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lower_bound.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(ranges: Vec) -> RangeCompression { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `index` [INFO] [stdout] --> src/lower_bound.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn index(&self, i: i64) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `N` [INFO] [stdout] --> src/ntt.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | const N: usize = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial` [INFO] [stdout] --> src/number.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn factorial(a: i64, p: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `divisors` [INFO] [stdout] --> src/number.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn divisors(n: i64) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Permutation` [INFO] [stdout] --> src/permutation.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Permutation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/permutation.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(a: Vec, b: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_cycles` [INFO] [stdout] --> src/permutation.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn find_cycles(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/polynomial.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(coeff: Vec, mo: i64) -> Polynomial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/polynomial.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn multiply(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow` [INFO] [stdout] --> src/polynomial.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pow(&self, k: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_prime` [INFO] [stdout] --> src/prime.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_prime(n: i64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prime_decomposition` [INFO] [stdout] --> src/prime.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn prime_decomposition(n: i64) -> std::collections::HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial_prime_count` [INFO] [stdout] --> src/prime.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn factorial_prime_count(n: i64, p: i64, mo: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eratosthenes` [INFO] [stdout] --> src/prime.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn eratosthenes(n_max: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SEGBeats` [INFO] [stdout] --> src/seg_beats.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct SEGBeats { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `inf` [INFO] [stdout] --> src/seg_beats.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | const inf: i64 = std::i64::MAX / 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/seg_beats.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(n: usize) -> SEGBeats { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/seg_beats.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn build(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_node_max` [INFO] [stdout] --> src/seg_beats.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn update_node_max(&mut self, k: usize, x: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_node_min` [INFO] [stdout] --> src/seg_beats.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn update_node_min(&mut self, k: usize, x: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/seg_beats.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn push(&mut self, k: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/seg_beats.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn update(&mut self, k: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_all` [INFO] [stdout] --> src/seg_beats.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | fn add_all(&mut self, k: usize, x: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_all` [INFO] [stdout] --> src/seg_beats.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn update_all(&mut self, k: usize, x: i64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_min` [INFO] [stdout] --> src/seg_beats.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn query_min(&mut self, l: usize, r: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_max` [INFO] [stdout] --> src/seg_beats.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn query_max(&mut self, l: usize, r: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_sum` [INFO] [stdout] --> src/seg_beats.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn query_sum(&mut self, l: usize, r: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_min` [INFO] [stdout] --> src/seg_beats.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn update_min(&mut self, l: usize, r: usize, x: i64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_max` [INFO] [stdout] --> src/seg_beats.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn update_max(&mut self, l: usize, r: usize, x: i64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_val` [INFO] [stdout] --> src/seg_beats.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn add_val(&mut self, l: usize, r: usize, x: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_val` [INFO] [stdout] --> src/seg_beats.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn update_val(&mut self, l: usize, r: usize, x: i64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SEGLazy` [INFO] [stdout] --> src/seg_lazy.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct SEGLazy { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/seg_lazy.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(n: usize, init: T::Monoid) -> SEGLazy { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_weight` [INFO] [stdout] --> src/seg_lazy.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn with_weight(n: usize, init: T::Monoid, weights: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mk_weight` [INFO] [stdout] --> src/seg_lazy.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn mk_weight(xs: &[usize]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `propagate` [INFO] [stdout] --> src/seg_lazy.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn propagate(&mut self, k: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_update` [INFO] [stdout] --> src/seg_lazy.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn do_update(&mut self, a: usize, b: usize, x: T::OperatorMonoid, k: usize, l: usize, r: usize) -> T::Monoid { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/seg_lazy.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn update(&mut self, l: usize, r: usize, x: T::OperatorMonoid) -> T::Monoid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_query` [INFO] [stdout] --> src/seg_lazy.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn do_query(&mut self, a: usize, b: usize, k: usize, l: usize, r: usize) -> T::Monoid { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query` [INFO] [stdout] --> src/seg_lazy.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn query(&mut self, l: usize, r: usize) -> T::Monoid { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MaxCover` [INFO] [stdout] --> src/segcover.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct MaxCover { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/segcover.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/segcover.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn add(&mut self, x: usize, y: usize, a: i64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query` [INFO] [stdout] --> src/segcover.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn query(&mut self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_length_compression` [INFO] [stdout] --> src/sequence.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn run_length_compression(xs: &[T]) -> Vec<(T, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/skiplist.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | x: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skiplist.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(seed: u64) -> RandGen { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/skiplist.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn next(&mut self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `a` [INFO] [stdout] --> src/skiplist.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | const a: u64 = 1103515245; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `b` [INFO] [stdout] --> src/skiplist.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | const b: u64 = 12345; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `m` [INFO] [stdout] --> src/skiplist.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | const m: u64 = 1<<32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_height` [INFO] [stdout] --> src/skiplist.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | max_height: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rand_gen` [INFO] [stdout] --> src/skiplist.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | rand_gen: RandGen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `traverse_stat` [INFO] [stdout] --> src/skiplist.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | traverse_stat: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connect_stat` [INFO] [stdout] --> src/skiplist.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | connect_stat: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_graph` [INFO] [stdout] --> src/skiplist.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn print_graph(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skiplist.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new() -> Skiplist { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/skiplist.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pick_height` [INFO] [stdout] --> src/skiplist.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | fn pick_height(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/skiplist.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn insert(&mut self, x: T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_node` [INFO] [stdout] --> src/skiplist.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | fn find_node(&self, x: &T) -> Option>>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/skiplist.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn find(&self, x: &T) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_stat` [INFO] [stdout] --> src/skiplist.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn reset_stat(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_stat` [INFO] [stdout] --> src/skiplist.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn show_stat(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `traverse` [INFO] [stdout] --> src/skiplist.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | fn traverse(&self, x: &T) -> Vec>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `traverse_rev` [INFO] [stdout] --> src/skiplist.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | fn traverse_rev(&self, x: &T) -> Vec>>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/skiplist.rs:221:16 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn remove(&mut self, x: &T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ge_iter` [INFO] [stdout] --> src/skiplist.rs:231:16 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn ge_iter(&self, x: &T) -> Range { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `le_iter` [INFO] [stdout] --> src/skiplist.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn le_iter(&self, x: &T) -> Range { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/skiplist.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/skiplist.rs:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_back` [INFO] [stdout] --> src/skiplist.rs:276:16 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn pop_back(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sentinel` [INFO] [stdout] --> src/skiplist.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | fn sentinel() -> SkipNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skiplist.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | fn new(value: T, height: usize) -> SkipNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/skiplist.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | fn remove(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/skiplist.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 379 | fn connect(x: &Rc>, y: &Rc>, level: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Multiset` [INFO] [stdout] --> src/skiplist.rs:391:16 [INFO] [stdout] | [INFO] [stdout] 391 | pub struct Multiset { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/skiplist.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn new() -> Multiset { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/skiplist.rs:402:16 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn insert(&mut self, x: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `counting` [INFO] [stdout] --> src/skiplist.rs:406:16 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn counting(&self, x: &T) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/skiplist.rs:409:16 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn remove(&mut self, x: &T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/skiplist.rs:424:16 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn unwrap(&self) -> &Skiplist { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SparseTable` [INFO] [stdout] --> src/sparse_table.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct SparseTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sparse_table.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query` [INFO] [stdout] --> src/sparse_table.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn query(&self, a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Filled` [INFO] [stdout] --> src/sqrt_decomposition.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Filled(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Partial` [INFO] [stdout] --> src/sqrt_decomposition.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Partial(usize, usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Buckets` [INFO] [stdout] --> src/sqrt_decomposition.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Buckets { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bucket` [INFO] [stdout] --> src/sqrt_decomposition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn bucket(&self, i: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buckets` [INFO] [stdout] --> src/sqrt_decomposition.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn buckets(&self, from: usize, to: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `KMP` [INFO] [stdout] --> src/string/kmp.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct KMP { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/string/kmp.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(pat: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search` [INFO] [stdout] --> src/string/kmp.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn search(&self, s: &[u64]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Manacher` [INFO] [stdout] --> src/string/manacher.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct Manacher { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/string/manacher.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(s: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `radius_odd` [INFO] [stdout] --> src/string/manacher.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn radius_odd(&self, i: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `radius_even` [INFO] [stdout] --> src/string/manacher.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn radius_even(&self, i: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_pelimdrome` [INFO] [stdout] --> src/string/manacher.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn is_pelimdrome(&self, l: usize, r: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RoLiHa` [INFO] [stdout] --> src/string/roliha.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct RoLiHa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROLIHA_MASK30` [INFO] [stdout] --> src/string/roliha.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const ROLIHA_MASK30: u64 = (1<<30) - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROLIHA_MASK31` [INFO] [stdout] --> src/string/roliha.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const ROLIHA_MASK31: u64 = (1<<31) - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROLIHA_MOD` [INFO] [stdout] --> src/string/roliha.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const ROLIHA_MOD: u64 = (1<<61) - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROLIHA_P` [INFO] [stdout] --> src/string/roliha.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const ROLIHA_P: u64 = ROLIHA_MOD * ((1<<3) - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/string/roliha.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(s: &[u64]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/string/roliha.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get(&self, l: usize, r: usize) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/string/roliha.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn connect(&self, h1: u64, h2: u64, h2len: usize) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul` [INFO] [stdout] --> src/string/roliha.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn mul(l: u64, r: u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calcmod` [INFO] [stdout] --> src/string/roliha.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn calcmod(x: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mk_str` [INFO] [stdout] --> src/string/roliha.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn mk_str(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mk_queries` [INFO] [stdout] --> src/string/roliha.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn mk_queries(n: usize) -> Vec<(usize,usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SuffixArray` [INFO] [stdout] --> src/string/suffix_array.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct SuffixArray { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/string/suffix_array.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(s: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_cyclic_shifts` [INFO] [stdout] --> src/string/suffix_array.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn sort_cyclic_shifts(s: &[u64]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `alphabet` [INFO] [stdout] --> src/string/suffix_array.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | const alphabet: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lt_substr` [INFO] [stdout] --> src/string/suffix_array.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn lt_substr(s: &[u64], t: &[u64], si: usize, ti: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lower_bound` [INFO] [stdout] --> src/string/suffix_array.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn lower_bound(&self, t: &[u64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right_most_index` [INFO] [stdout] --> src/string/suffix_array.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn right_most_index(&self, t: &[u64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `as_v` [INFO] [stdout] --> src/string/suffix_array.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn as_v(s: &str) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/string/lcs.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(xs: &[T], ys: &[T]) -> LCS { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lcs` [INFO] [stdout] --> src/string/lcs.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn lcs(xs: &[T], ys: &[T]) -> Vec> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ternary_search` [INFO] [stdout] --> src/ternary_search.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn ternary_search f64>(f: F, l: f64, r: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_node` [INFO] [stdout] --> src/treap.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new_node(v: i64, rand: u64) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count` [INFO] [stdout] --> src/treap.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn count(t: &Option>) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum` [INFO] [stdout] --> src/treap.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn sum(t: &Option>) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update` [INFO] [stdout] --> src/treap.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn update(t: Box) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge` [INFO] [stdout] --> src/treap.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn merge(l: Option>, r: Option>) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split` [INFO] [stdout] --> src/treap.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn split(t: Option>, k: usize) -> (Option>, Option>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert` [INFO] [stdout] --> src/treap.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn insert(t: Box, k: usize, v: i64, rand: u64) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `erase` [INFO] [stdout] --> src/treap.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn erase(t: Box, k: usize) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bisect` [INFO] [stdout] --> src/treap.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn bisect(t: &Option>, v: i64) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Treap` [INFO] [stdout] --> src/treap.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct Treap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/treap.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new() -> Treap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lower_bound` [INFO] [stdout] --> src/treap.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn lower_bound(&mut self, l: usize, r: usize, v: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `orderd_insert` [INFO] [stdout] --> src/treap.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn orderd_insert(&mut self, v: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/treap.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn insert(&mut self, k: usize, v: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase` [INFO] [stdout] --> src/treap.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn erase(&mut self, k: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split` [INFO] [stdout] --> src/treap.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn split(self, k: usize) -> (Treap, Treap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/treap.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum` [INFO] [stdout] --> src/treap.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn sum(&mut self, l: usize, r: usize) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/treap.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn get(&mut self, k: usize) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TwoPointer` [INFO] [stdout] --> src/two_pointer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct TwoPointer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/two_pointer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(n: usize, f: F) -> TwoPointer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/two_pointer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WeightedUnionFind` [INFO] [stdout] --> src/union_find.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | struct WeightedUnionFind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/union_find.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn new(n: usize) -> WeightedUnionFind { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `root` [INFO] [stdout] --> src/union_find.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn root(&mut self, x: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `weight` [INFO] [stdout] --> src/union_find.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn weight(&mut self, x: usize) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `same` [INFO] [stdout] --> src/union_find.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn same(&mut self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge` [INFO] [stdout] --> src/union_find.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn merge(&mut self, x: usize, y: usize, w: i32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ctoi` [INFO] [stdout] --> src/util.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn ctoi(c: char) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `itoc` [INFO] [stdout] --> src/util.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn itoc(c: i64) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `popcount` [INFO] [stdout] --> src/wavelet_matrix.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn popcount(x: u64) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kpopi` [INFO] [stdout] --> src/wavelet_matrix.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn kpopi(x: u64, k: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/wavelet_matrix.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(n: usize) -> FID { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/wavelet_matrix.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set(&mut self, k: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/wavelet_matrix.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn build(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank1` [INFO] [stdout] --> src/wavelet_matrix.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn rank1(&self, k: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank0` [INFO] [stdout] --> src/wavelet_matrix.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn rank0(&self, k: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> src/wavelet_matrix.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn rank(&self, b: bool, k: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select0` [INFO] [stdout] --> src/wavelet_matrix.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn select0(&self, k: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select1` [INFO] [stdout] --> src/wavelet_matrix.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn select1(&self, k: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select` [INFO] [stdout] --> src/wavelet_matrix.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn select(&self, b: bool, k: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WM` [INFO] [stdout] --> src/wavelet_matrix.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | struct WM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/wavelet_matrix.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn new(xs: Vec) -> WM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> src/wavelet_matrix.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn rank(&self, x: u64, i: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select` [INFO] [stdout] --> src/wavelet_matrix.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn select(&self, x: u64, k: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quantile` [INFO] [stdout] --> src/wavelet_matrix.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn quantile(&self, l: usize, r: usize, k: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank_all` [INFO] [stdout] --> src/wavelet_matrix.rs:401:8 [INFO] [stdout] | [INFO] [stdout] 401 | fn rank_all(&self, l: usize, r: usize, x: u64) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rangefreq` [INFO] [stdout] --> src/wavelet_matrix.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn rangefreq(&self, l: usize, r: usize, min: u64, max: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WMi64` [INFO] [stdout] --> src/wavelet_matrix.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 473 | struct WMi64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/wavelet_matrix.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn new(xs: Vec) -> WMi64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rangefreq` [INFO] [stdout] --> src/wavelet_matrix.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn rangefreq(&self, l: usize, r: usize, min: i64, max: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `quantile` [INFO] [stdout] --> src/wavelet_matrix.rs:494:12 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn quantile(&self, l: usize, r: usize, k: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> src/wavelet_matrix.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn rank(&self, x: i64, i: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select` [INFO] [stdout] --> src/wavelet_matrix.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn select(&self, x: i64, k: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/template.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![cargo_snippet::snippet("template")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `eps` should have an upper case name [INFO] [stdout] --> src/binary_search.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | const eps: f64 = 1e-9; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `EPS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nCk` should have a snake case name [INFO] [stdout] --> src/combination.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn nCk(a: i64, b: i64) -> Mod { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_ck` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nCk` should have a snake case name [INFO] [stdout] --> src/combination.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn nCk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_ck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nPk` should have a snake case name [INFO] [stdout] --> src/combination.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn nPk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nHk` should have a snake case name [INFO] [stdout] --> src/combination.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn nHk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_hk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nSk` should have a snake case name [INFO] [stdout] --> src/combination.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn nSk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_sk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nBk` should have a snake case name [INFO] [stdout] --> src/combination.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn nBk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_bk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/cumsum.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let L = r - (l+1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/fft.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let X = fast_fourier_transform(x, false); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/fft.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let Y = fast_fourier_transform(y, false); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Z` should have a snake case name [INFO] [stdout] --> src/fft.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut Z = vec![Complex::new(0.,0.); m]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/gaussian_elimination.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | A: Vec>, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/gaussian_elimination.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(A: Vec>, y: Vec, mo: i64) -> GaussianElimination { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/gaussian_elimination.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn sweep(A: &mut [Vec], mo: i64) -> usize { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/geom.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let X = x*(a2*(b2+c2-a2)) + y*(b2*(c2+a2-b2)) + z*(c2*(a2+b2-c2)); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/geom.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let Y = a2*(b2+c2-a2) + b2*(c2+a2-b2) + c2*(a2+b2-c2); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Q` should have a snake case name [INFO] [stdout] --> src/graph/tsort.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Q: VecDeque, [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/graph/hl_decomposition.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let V = self.vertex_decomposition(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cumRL` should have a snake case name [INFO] [stdout] --> src/graph/zenho.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let cumRL: CumRL = CumRL::new(dp); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `cum_rl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/graph/zenho.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | let L = i; [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/graph/zenho.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let R = n-1-L; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/graph/partition.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut E = vec![vec![];self.n]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/kadane.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let L = Self::build_lmax(a.clone(), &add); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/kadane.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut R = Self::build_lmax(a, &add); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/kadane.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let (L,ma) = res[r-1].clone(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/ntt.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let L = x.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/ntt.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let L = x.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/ntt_ext.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let A = ans.iter().map(|x| x*mod_inv(n as i64,mo)%mo).collect::>(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/ntt_ext.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | let A2 = ans2.iter().map(|x| x*mod_inv(n as i64,mo2)%mo2).collect::>(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `inf` should have an upper case name [INFO] [stdout] --> src/seg_beats.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | const inf: i64 = std::i64::MAX / 4; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `INF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `powMemo` should have a snake case name [INFO] [stdout] --> src/string/roliha.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | powMemo: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pow_memo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `powMemo` should have a snake case name [INFO] [stdout] --> src/string/roliha.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let mut powMemo = vec![0; s.len()+1]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pow_memo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `alphabet` should have an upper case name [INFO] [stdout] --> src/string/suffix_array.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | const alphabet: usize = 256; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `ALPHABET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `INF` should have a snake case name [INFO] [stdout] --> src/graph/max_flow.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let INF = 2_000_000_001; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `inf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> src/matrix.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let K = self.n(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/matrix.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let M = self.m(); [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/matrix.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let N = other.n(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> src/matrix.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let K = self.n(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/matrix.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let M = self.m(); [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/matrix.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let N = other.n(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a` should have an upper case name [INFO] [stdout] --> src/skiplist.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | const a: u64 = 1103515245; [INFO] [stdout] | ^ help: convert the identifier to upper case: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `b` should have an upper case name [INFO] [stdout] --> src/skiplist.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | const b: u64 = 12345; [INFO] [stdout] | ^ help: convert the identifier to upper case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `m` should have an upper case name [INFO] [stdout] --> src/skiplist.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | const m: u64 = 1<<32; [INFO] [stdout] | ^ help: convert the identifier to upper case: `M` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/doubling.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut f = Doubling::new(F, 5); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/skiplist.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | writeln!(f, "{:?}", v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/skiplist.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | writeln!(f, "{:?}, {:?}", self.value, self.height()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gaussian_elimination.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut A = vec![ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gaussian_elimination.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut A = vec![ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 446 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/tsort.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut colors = vec![false; n]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/tsort.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut indeg = vec![0; n]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/tsort.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut e = vec![ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/tsort.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut e = vec![ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/lowlink.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut g = vec![vec![];n]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/lowlink.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut used = vec![false; n]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/lowlink.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut ord = vec![0; n]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/lowlink.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut low = vec![0; n]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/lca.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut e = vec![ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/zenho.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut cum: CumRL = CumRL::new(v); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grundy.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut n = xs.len(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sequence.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut t1 = vec![1,2,3,4]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sequence.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let mut t2 = vec![1,2,3,4]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sequence.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let mut t3 = vec![1,3,2,4,1]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/skiplist.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut it = self.iter(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/skiplist.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | let mut data = vec![920,265,659]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/slide_win.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut a = vec![3,2,1,1,2,3]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/string/kmp.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut p = vec![0]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/string/kmp.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut s = vec![0;1000000]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut out = BufWriter::new(out.lock()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/two_pointer.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut f = |i:usize, j:usize| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wavelet_matrix.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut x = x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinarySearchf64` [INFO] [stdout] --> src/binary_search.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct BinarySearchf64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `eps` [INFO] [stdout] --> src/binary_search.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | const eps: f64 = 1e-9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_search.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(lb: f64, ub: f64, f: F) -> BinarySearchf64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search` [INFO] [stdout] --> src/binary_search.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn search(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/bitop.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn check(&self, k: usize) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nBk` [INFO] [stdout] --> src/combination.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn nBk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_upper` [INFO] [stdout] --> src/convex_hull_trick.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_upper(&self, x: i64) -> Line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/cumsum.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn from_vec(a: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cumsum.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add(&mut self, i: usize, x: i64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cumsum.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn add(&mut self, i: usize, j: usize, x: i64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/cumsum.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | n: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/cumsum.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn get(&self, k: usize) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `kraskal` [INFO] [stdout] --> src/graph/mst.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn kraskal(n: usize, es: Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/graph/hl_decomposition.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn distance(&self, u: usize, v: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n` [INFO] [stdout] --> src/graph/zenho.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn n(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AdjacencyMatrix` [INFO] [stdout] --> src/graph/adjacency_matrix.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct AdjacencyMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graph/adjacency_matrix.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(n: usize, inf: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/graph/adjacency_matrix.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add_edge(&mut self, u: usize, v: usize, cost: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/graph/adjacency_matrix.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn build(&self) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial` [INFO] [stdout] --> src/number.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn factorial(a: i64, p: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/polynomial.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(coeff: Vec, mo: i64) -> Polynomial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/polynomial.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn multiply(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow` [INFO] [stdout] --> src/polynomial.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pow(&self, k: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_prime` [INFO] [stdout] --> src/prime.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_prime(n: i64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eratosthenes` [INFO] [stdout] --> src/prime.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn eratosthenes(n_max: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_graph` [INFO] [stdout] --> src/skiplist.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn print_graph(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_stat` [INFO] [stdout] --> src/skiplist.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn reset_stat(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_stat` [INFO] [stdout] --> src/skiplist.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn show_stat(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `traverse_rev` [INFO] [stdout] --> src/skiplist.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | fn traverse_rev(&self, x: &T) -> Vec>>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `le_iter` [INFO] [stdout] --> src/skiplist.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn le_iter(&self, x: &T) -> Range { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/sqrt_decomposition.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | n: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ternary_search` [INFO] [stdout] --> src/ternary_search.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn ternary_search f64>(f: F, l: f64, r: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split` [INFO] [stdout] --> src/treap.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn split(self, k: usize) -> (Treap, Treap) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `same` [INFO] [stdout] --> src/union_find.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn same(&mut self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select` [INFO] [stdout] --> src/wavelet_matrix.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn select(&self, b: bool, k: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/template.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![cargo_snippet::snippet("template")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `eps` should have an upper case name [INFO] [stdout] --> src/binary_search.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | const eps: f64 = 1e-9; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `EPS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nCk` should have a snake case name [INFO] [stdout] --> src/combination.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn nCk(a: i64, b: i64) -> Mod { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_ck` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_knuth_nCk` should have a snake case name [INFO] [stdout] --> src/combination.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_knuth_nCk() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_knuth_n_ck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nCk` should have a snake case name [INFO] [stdout] --> src/combination.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let nCk = comb_table(50); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_ck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nCk` should have a snake case name [INFO] [stdout] --> src/combination.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn nCk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_ck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nPk` should have a snake case name [INFO] [stdout] --> src/combination.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn nPk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nHk` should have a snake case name [INFO] [stdout] --> src/combination.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn nHk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_hk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nSk` should have a snake case name [INFO] [stdout] --> src/combination.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn nSk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_sk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nBk` should have a snake case name [INFO] [stdout] --> src/combination.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn nBk(&self, n: i64, k: i64) -> i64 { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_bk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_modcomb_nHk` should have a snake case name [INFO] [stdout] --> src/combination.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn test_modcomb_nHk() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_modcomb_n_hk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_modcomb_nSk` should have a snake case name [INFO] [stdout] --> src/combination.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn test_modcomb_nSk() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_modcomb_n_sk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/cumsum.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let L = r - (l+1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/fft.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let X = fast_fourier_transform(x, false); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/fft.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let Y = fast_fourier_transform(y, false); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Z` should have a snake case name [INFO] [stdout] --> src/fft.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut Z = vec![Complex::new(0.,0.); m]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/gaussian_elimination.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | A: Vec>, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/gaussian_elimination.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(A: Vec>, y: Vec, mo: i64) -> GaussianElimination { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/gaussian_elimination.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn sweep(A: &mut [Vec], mo: i64) -> usize { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/gaussian_elimination.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut A = vec![ [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/gaussian_elimination.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut A = vec![ [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/geom.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let X = x*(a2*(b2+c2-a2)) + y*(b2*(c2+a2-b2)) + z*(c2*(a2+b2-c2)); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/geom.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let Y = a2*(b2+c2-a2) + b2*(c2+a2-b2) + c2*(a2+b2-c2); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Q` should have a snake case name [INFO] [stdout] --> src/graph/tsort.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Q: VecDeque, [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/graph/lca.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let Q = vec![ [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/graph/hl_decomposition.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let V = self.vertex_decomposition(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cumRL` should have a snake case name [INFO] [stdout] --> src/graph/zenho.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let cumRL: CumRL = CumRL::new(dp); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `cum_rl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/graph/zenho.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | let L = i; [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/graph/zenho.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let R = n-1-L; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/graph/zenho.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let E = vec![(0,1),(0,2),(0,3),(2,4)]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/graph/partition.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut E = vec![vec![];self.n]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/kadane.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let L = Self::build_lmax(a.clone(), &add); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/kadane.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut R = Self::build_lmax(a, &add); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/kadane.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let (L,ma) = res[r-1].clone(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/ntt.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let L = x.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/ntt.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let L = x.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/ntt_ext.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let A = ans.iter().map(|x| x*mod_inv(n as i64,mo)%mo).collect::>(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/ntt_ext.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | let A2 = ans2.iter().map(|x| x*mod_inv(n as i64,mo2)%mo2).collect::>(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `inf` should have an upper case name [INFO] [stdout] --> src/seg_beats.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | const inf: i64 = std::i64::MAX / 4; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `INF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_MAX_RUQ` should have a snake case name [INFO] [stdout] --> src/seg_lazy.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn test_MAX_RUQ() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `test_max_ruq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_MIN_RUQ` should have a snake case name [INFO] [stdout] --> src/seg_lazy.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn test_MIN_RUQ() { // DSL_2_D [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `test_min_ruq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_SUM_RUQ` should have a snake case name [INFO] [stdout] --> src/seg_lazy.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn test_SUM_RUQ() { // DSL_1_I [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `test_sum_ruq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_SUM_RAQ` should have a snake case name [INFO] [stdout] --> src/seg_lazy.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn test_SUM_RAQ() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `test_sum_raq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `powMemo` should have a snake case name [INFO] [stdout] --> src/string/roliha.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | powMemo: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pow_memo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `powMemo` should have a snake case name [INFO] [stdout] --> src/string/roliha.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let mut powMemo = vec![0; s.len()+1]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `pow_memo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `alphabet` should have an upper case name [INFO] [stdout] --> src/string/suffix_array.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | const alphabet: usize = 256; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `ALPHABET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `INF` should have a snake case name [INFO] [stdout] --> src/graph/max_flow.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let INF = 2_000_000_001; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `inf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> src/matrix.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let K = self.n(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/matrix.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let M = self.m(); [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/matrix.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let N = other.n(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> src/matrix.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let K = self.n(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/matrix.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let M = self.m(); [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/matrix.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let N = other.n(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a` should have an upper case name [INFO] [stdout] --> src/skiplist.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | const a: u64 = 1103515245; [INFO] [stdout] | ^ help: convert the identifier to upper case: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `b` should have an upper case name [INFO] [stdout] --> src/skiplist.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | const b: u64 = 12345; [INFO] [stdout] | ^ help: convert the identifier to upper case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `m` should have an upper case name [INFO] [stdout] --> src/skiplist.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | const m: u64 = 1<<32; [INFO] [stdout] | ^ help: convert the identifier to upper case: `M` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/skiplist.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | writeln!(f, "{:?}", v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/skiplist.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | writeln!(f, "{:?}, {:?}", self.value, self.height()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 150 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.77s [INFO] running `Command { std: "docker" "inspect" "ed937d016de3d94bca45d5a3a47d03c6611faa138744cf38e7a09e09d644a69d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed937d016de3d94bca45d5a3a47d03c6611faa138744cf38e7a09e09d644a69d", kill_on_drop: false }` [INFO] [stdout] ed937d016de3d94bca45d5a3a47d03c6611faa138744cf38e7a09e09d644a69d