[INFO] cloning repository https://github.com/ashl3y-v/ashtl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashl3y-v/ashtl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashl3y-v%2Fashtl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashl3y-v%2Fashtl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2f9cbedf188e7454ff6abc57dd27dec551ab4eb [INFO] checking ashl3y-v/ashtl against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashl3y-v%2Fashtl" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ashl3y-v/ashtl [INFO] finished tweaking git repo https://github.com/ashl3y-v/ashtl [INFO] tweaked toml for git repo https://github.com/ashl3y-v/ashtl written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ashl3y-v/ashtl on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ashl3y-v/ashtl already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a22812035369545fe3b522acbd673ee0cb3d0505635fda9b4e27cbfa01b7e853 [INFO] running `Command { std: "docker" "start" "-a" "a22812035369545fe3b522acbd673ee0cb3d0505635fda9b4e27cbfa01b7e853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a22812035369545fe3b522acbd673ee0cb3d0505635fda9b4e27cbfa01b7e853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a22812035369545fe3b522acbd673ee0cb3d0505635fda9b4e27cbfa01b7e853", kill_on_drop: false }` [INFO] [stdout] a22812035369545fe3b522acbd673ee0cb3d0505635fda9b4e27cbfa01b7e853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a7a25e12d873250df3d244bdafb6e01112c910461c3bc92769cb5231fabb861 [INFO] running `Command { std: "docker" "start" "-a" "5a7a25e12d873250df3d244bdafb6e01112c910461c3bc92769cb5231fabb861", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ashtl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/lin/basis.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | assert!((&b & 3u128), "3 should be in span"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 350 - assert!((&b & 3u128), "3 should be in span"); [INFO] [stdout] 350 + assert!( &b & 3u128, "3 should be in span"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/lin/basis.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | assert!((&b & v), "{} should be in the span", v); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - assert!((&b & v), "{} should be in the span", v); [INFO] [stdout] 374 + assert!( &b & v, "{} should be in the span", v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/alg/poly.rs:2017:9 [INFO] [stdout] | [INFO] [stdout] 2016 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 2017 | let d; [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/alg/poly.rs:2017:9 [INFO] [stdout] | [INFO] [stdout] 2016 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 2017 | let d; [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/alg/poly.rs:2015:30 [INFO] [stdout] | [INFO] [stdout] 2015 | pub fn xpi_mod(mut self, i: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/alg/poly.rs:2015:20 [INFO] [stdout] | [INFO] [stdout] 2015 | pub fn xpi_mod(mut self, i: usize) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z1` [INFO] [stdout] --> src/alg/poly.rs:2300:17 [INFO] [stdout] | [INFO] [stdout] 2300 | let z1 = tree[v << 1].1.clone().dot(&tree[v << 1 | 1].1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_z1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/alg/poly.rs:4340:9 [INFO] [stdout] | [INFO] [stdout] 4340 | f: impl FnMut([usize; 2], &Self) -> Vec, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/alg/poly.rs:4341:9 [INFO] [stdout] | [INFO] [stdout] 4341 | g: impl FnMut([usize; 2], &Self) -> Vec, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:4342:9 [INFO] [stdout] | [INFO] [stdout] 4342 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/alg/poly.rs:4350:9 [INFO] [stdout] | [INFO] [stdout] 4350 | f: impl FnMut([usize; 2], &Self) -> Vec, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/alg/poly.rs:4351:9 [INFO] [stdout] | [INFO] [stdout] 4351 | g: impl FnMut([usize; 2], &Self) -> Vec, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:4352:9 [INFO] [stdout] | [INFO] [stdout] 4352 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/alg/poly.rs:5003:32 [INFO] [stdout] | [INFO] [stdout] 5003 | pub fn min_plus_cvx(&self, rhs: &Self) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/alg/poly.rs:5573:22 [INFO] [stdout] | [INFO] [stdout] 5573 | pub fn pow(self, k: usize, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:5573:32 [INFO] [stdout] | [INFO] [stdout] 5573 | pub fn pow(self, k: usize, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/alg/poly.rs:5573:42 [INFO] [stdout] | [INFO] [stdout] 5573 | pub fn pow(self, k: usize, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:5590:22 [INFO] [stdout] | [INFO] [stdout] 5590 | pub fn inv(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/alg/poly.rs:5590:32 [INFO] [stdout] | [INFO] [stdout] 5590 | pub fn inv(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:5595:22 [INFO] [stdout] | [INFO] [stdout] 5595 | pub fn log(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/alg/poly.rs:5595:32 [INFO] [stdout] | [INFO] [stdout] 5595 | pub fn log(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:5600:22 [INFO] [stdout] | [INFO] [stdout] 5600 | pub fn exp(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/alg/poly.rs:5600:32 [INFO] [stdout] | [INFO] [stdout] 5600 | pub fn exp(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/prime.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn pi(n: usize) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ds/knapsack.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn min_plus_cvx(a: &[i64], b: &[i64]) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/ds/knapsack.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn min_plus_cvx(a: &[i64], b: &[i64]) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `d` is never read [INFO] [stdout] --> src/tree/treap.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | d: D, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Poly2`, `grph::color`, `knapsack`, `lattice`, `mod_fact`, `mod_pow`, `mult`, `ntt`, `primitive`, `self`, `set`, and `special` [INFO] [stdout] --> src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | lattice, mult, ntt, [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^ [INFO] [stdout] 4 | ops::{self, inverse_euclidean, mod_fact, mod_pow}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | poly::{Poly, Poly2}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | primitive, special, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | ds::{knapsack, set}, [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] 9 | grph::color, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet` and `time::Instant` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{collections::HashSet, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let inv = |a: i64| inverse_euclidean::(a); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv_u` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let inv_u = |a: i64| inverse_euclidean::(a).rem_euclid(M as i64) as u64; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inv_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let i = 1 << 23; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let k = 3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let q = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut a = Poly::::new(coeff); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut b = Poly::::new(coeff); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut a = Poly::::new(coeff); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut b = Poly::::new(coeff); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Poly2`, `grph::color`, `knapsack`, `lattice`, `mod_fact`, `mod_pow`, `mult`, `ntt`, `primitive`, `self`, `set`, and `special` [INFO] [stdout] --> src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | lattice, mult, ntt, [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^ [INFO] [stdout] 4 | ops::{self, inverse_euclidean, mod_fact, mod_pow}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | poly::{Poly, Poly2}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | primitive, special, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | ds::{knapsack, set}, [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] 9 | grph::color, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet` and `time::Instant` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{collections::HashSet, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let inv = |a: i64| inverse_euclidean::(a); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv_u` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let inv_u = |a: i64| inverse_euclidean::(a).rem_euclid(M as i64) as u64; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inv_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let i = 1 << 23; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let k = 3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let q = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut a = Poly::::new(coeff); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut b = Poly::::new(coeff); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut a = Poly::::new(coeff); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut b = Poly::::new(coeff); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/alg/poly.rs:2015:30 [INFO] [stdout] | [INFO] [stdout] 2015 | pub fn xpi_mod(mut self, i: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/alg/poly.rs:2015:20 [INFO] [stdout] | [INFO] [stdout] 2015 | pub fn xpi_mod(mut self, i: usize) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z1` [INFO] [stdout] --> src/alg/poly.rs:2300:17 [INFO] [stdout] | [INFO] [stdout] 2300 | let z1 = tree[v << 1].1.clone().dot(&tree[v << 1 | 1].1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_z1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/alg/poly.rs:4340:9 [INFO] [stdout] | [INFO] [stdout] 4340 | f: impl FnMut([usize; 2], &Self) -> Vec, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/alg/poly.rs:4341:9 [INFO] [stdout] | [INFO] [stdout] 4341 | g: impl FnMut([usize; 2], &Self) -> Vec, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:4342:9 [INFO] [stdout] | [INFO] [stdout] 4342 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/alg/poly.rs:4350:9 [INFO] [stdout] | [INFO] [stdout] 4350 | f: impl FnMut([usize; 2], &Self) -> Vec, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/alg/poly.rs:4351:9 [INFO] [stdout] | [INFO] [stdout] 4351 | g: impl FnMut([usize; 2], &Self) -> Vec, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:4352:9 [INFO] [stdout] | [INFO] [stdout] 4352 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/alg/poly.rs:5003:32 [INFO] [stdout] | [INFO] [stdout] 5003 | pub fn min_plus_cvx(&self, rhs: &Self) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/alg/poly.rs:5573:22 [INFO] [stdout] | [INFO] [stdout] 5573 | pub fn pow(self, k: usize, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:5573:32 [INFO] [stdout] | [INFO] [stdout] 5573 | pub fn pow(self, k: usize, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/alg/poly.rs:5573:42 [INFO] [stdout] | [INFO] [stdout] 5573 | pub fn pow(self, k: usize, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:5590:22 [INFO] [stdout] | [INFO] [stdout] 5590 | pub fn inv(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/alg/poly.rs:5590:32 [INFO] [stdout] | [INFO] [stdout] 5590 | pub fn inv(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:5595:22 [INFO] [stdout] | [INFO] [stdout] 5595 | pub fn log(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/alg/poly.rs:5595:32 [INFO] [stdout] | [INFO] [stdout] 5595 | pub fn log(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/poly.rs:5600:22 [INFO] [stdout] | [INFO] [stdout] 5600 | pub fn exp(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/alg/poly.rs:5600:32 [INFO] [stdout] | [INFO] [stdout] 5600 | pub fn exp(self, n: usize, m: usize) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/alg/prime.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn pi(n: usize) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ds/knapsack.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn min_plus_cvx(a: &[i64], b: &[i64]) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/ds/knapsack.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn min_plus_cvx(a: &[i64], b: &[i64]) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/grph/color.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let (cols, k) = dsatur(&adj); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/grph/color.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | let (cols, k) = dsatur(&adj); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_even` [INFO] [stdout] --> src/grph/color.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | let (cols_even, k_even) = dsatur(&adj_even); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_even` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_odd` [INFO] [stdout] --> src/grph/color.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | let (cols_odd, k_odd) = dsatur(&adj_odd); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_k_odd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/grph/color.rs:318:20 [INFO] [stdout] | [INFO] [stdout] 318 | let (cols, k) = dsatur(&adj); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/grph/color.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | let (cols, k) = dsatur(&adj); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k2` [INFO] [stdout] --> src/grph/color.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | let (cols2, k2) = dsatur(&adj2); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/range/bit.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/range/bit.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | let mut bit = BIT::new(data.clone(), |&x, &y| x.max(y)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/tree/diameter.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | let (ans, path) = diameter(2, p, d, w, 0, 0, |a, b| a + b); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `got_path` [INFO] [stdout] --> src/tree/diameter.rs:301:25 [INFO] [stdout] | [INFO] [stdout] 301 | let (got_score, got_path) = diameter(4, p, d, w, id, 0, |&a, &b| a ^ b); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_got_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tree/splay.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/tree/splay.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/tree/splay.rs:541:20 [INFO] [stdout] | [INFO] [stdout] 541 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/tree/splay.rs:541:23 [INFO] [stdout] | [INFO] [stdout] 541 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tree/splay.rs:545:14 [INFO] [stdout] | [INFO] [stdout] 545 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/tree/splay.rs:545:17 [INFO] [stdout] | [INFO] [stdout] 545 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/tree/splay.rs:545:20 [INFO] [stdout] | [INFO] [stdout] 545 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/tree/splay.rs:545:23 [INFO] [stdout] | [INFO] [stdout] 545 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum_vals` [INFO] [stdout] --> src/tree/splay.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | let mut sum_vals = vec![0; 10]; // Mock lazy data storage [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sum_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tree/splay.rs:564:14 [INFO] [stdout] | [INFO] [stdout] 564 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/tree/splay.rs:564:17 [INFO] [stdout] | [INFO] [stdout] 564 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/tree/splay.rs:564:20 [INFO] [stdout] | [INFO] [stdout] 564 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/tree/splay.rs:564:23 [INFO] [stdout] | [INFO] [stdout] 564 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tree/splay.rs:567:14 [INFO] [stdout] | [INFO] [stdout] 567 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/tree/splay.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 567 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/tree/splay.rs:567:20 [INFO] [stdout] | [INFO] [stdout] 567 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/tree/splay.rs:567:23 [INFO] [stdout] | [INFO] [stdout] 567 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree/splay.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | let mut sum_vals = vec![0; 10]; // Mock lazy data storage [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tree/splay.rs:588:14 [INFO] [stdout] | [INFO] [stdout] 588 | |x, l, r, ns: &mut [Node]| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/tree/splay.rs:588:17 [INFO] [stdout] | [INFO] [stdout] 588 | |x, l, r, ns: &mut [Node]| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/tree/splay.rs:588:20 [INFO] [stdout] | [INFO] [stdout] 588 | |x, l, r, ns: &mut [Node]| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/tree/splay.rs:588:23 [INFO] [stdout] | [INFO] [stdout] 588 | |x, l, r, ns: &mut [Node]| {}, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tree/splay.rs:589:14 [INFO] [stdout] | [INFO] [stdout] 589 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/tree/splay.rs:589:17 [INFO] [stdout] | [INFO] [stdout] 589 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/tree/splay.rs:589:20 [INFO] [stdout] | [INFO] [stdout] 589 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/tree/splay.rs:589:23 [INFO] [stdout] | [INFO] [stdout] 589 | |x, l, r, ns: &mut [Node]| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/tree/splay.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 598 | let mut total = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree/splay.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | let mut total = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basic` is never used [INFO] [stdout] --> src/tree/cartesian.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn basic() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LazyData` is never constructed [INFO] [stdout] --> src/tree/splay.rs:533:16 [INFO] [stdout] | [INFO] [stdout] 533 | struct LazyData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `add_calls` is never read [INFO] [stdout] --> src/tree/xor_linked.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 63 | struct TestData1 { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 64 | pub add_calls: Vec<[usize; 2]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.81s [INFO] running `Command { std: "docker" "inspect" "5a7a25e12d873250df3d244bdafb6e01112c910461c3bc92769cb5231fabb861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a7a25e12d873250df3d244bdafb6e01112c910461c3bc92769cb5231fabb861", kill_on_drop: false }` [INFO] [stdout] 5a7a25e12d873250df3d244bdafb6e01112c910461c3bc92769cb5231fabb861