[INFO] cloning repository https://github.com/AmberCrafter/Rust-kickstart [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AmberCrafter/Rust-kickstart" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmberCrafter%2FRust-kickstart", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmberCrafter%2FRust-kickstart'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 827853ac26d020782c9762319d4765bc7b2c69d5 [INFO] checking AmberCrafter/Rust-kickstart/827853ac26d020782c9762319d4765bc7b2c69d5 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmberCrafter%2FRust-kickstart" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AmberCrafter/Rust-kickstart on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AmberCrafter/Rust-kickstart [INFO] finished tweaking git repo https://github.com/AmberCrafter/Rust-kickstart [INFO] tweaked toml for git repo https://github.com/AmberCrafter/Rust-kickstart written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AmberCrafter/Rust-kickstart 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04e6f9e35ffade96f72b81a40e25297f99291295ba4d4ed25c422d811636e087 [INFO] running `Command { std: "docker" "start" "-a" "04e6f9e35ffade96f72b81a40e25297f99291295ba4d4ed25c422d811636e087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04e6f9e35ffade96f72b81a40e25297f99291295ba4d4ed25c422d811636e087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04e6f9e35ffade96f72b81a40e25297f99291295ba4d4ed25c422d811636e087", kill_on_drop: false }` [INFO] [stdout] 04e6f9e35ffade96f72b81a40e25297f99291295ba4d4ed25c422d811636e087 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ea57951078bf37dc2246946c19b1310d6763f76e6e3bb7d8ac6d051b80a3d48 [INFO] running `Command { std: "docker" "start" "-a" "6ea57951078bf37dc2246946c19b1310d6763f76e6e3bb7d8ac6d051b80a3d48", kill_on_drop: false }` [INFO] [stderr] Checking kickstart v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/problems/ks2022/roundB_C.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | while (idx_locks src/problems/ks2022/roundC_B.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{StdinLock, StdoutLock}, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/problems/ks2022/roundB_C.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | while (idx_locks src/problems/ks2022/roundC_B.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{StdinLock, StdoutLock}, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/problems/ks2022/roundB_B.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | res *= 10; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/problems/ks2022/roundC_A.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let nums: usize = console.read(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/problems/ks2022/roundB_B.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | res *= 10; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/problems/ks2022/roundC_C.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | .map(|(dist, label)| label.to_string()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Console` is never used [INFO] [stdout] --> src/toolbox/io_util.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Console<'a> = IO, StdoutLock<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IO` is never constructed [INFO] [stdout] --> src/toolbox/io_util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IO(R, std::io::BufWriter); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/toolbox/io_util.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl IO { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(r: R, w: W) -> IO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn write(&mut self, s: S) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn read(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Console` is never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_A.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Console<'a> = IO, StdoutLock<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IO` is never constructed [INFO] [stdout] --> src/problems/ks2022/practice_s1_A.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IO(R, std::io::BufWriter); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_A.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(r: R, w: W) -> IO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn write(&mut self, s: S) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn read(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/practice_s1_A.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_A.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 50 | pub fn solve(console: &mut Console) -> usize{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_A.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Console` is never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_B.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Console<'a> = IO, StdoutLock<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IO` is never constructed [INFO] [stdout] --> src/problems/ks2022/practice_s1_B.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IO(R, std::io::BufWriter); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_B.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(r: R, w: W) -> IO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn write(&mut self, s: S) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn read(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/practice_s1_B.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_B.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 49 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 50 | pub fn solve(console: &mut Console) -> (String,String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_B.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Console` is never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_C.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Console<'a> = IO, StdoutLock<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IO` is never constructed [INFO] [stdout] --> src/problems/ks2022/practice_s1_C.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IO(R, std::io::BufWriter); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_C.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl IO { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(r: R, w: W) -> IO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn write(&mut self, s: S) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn read(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/practice_s1_C.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/problems/ks2022/roundC_A.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let nums: usize = console.read(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_C.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 48 | pub fn solve(console: &mut Console) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_C.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundB_A.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `infinity_area` is never used [INFO] [stdout] --> src/problems/ks2022/roundB_A.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn infinity_area(r: i32, a: i32, b: i32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundB_B.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `reverse_number` and `palindromic_factor` are never used [INFO] [stdout] --> src/problems/ks2022/roundB_B.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 4 | fn reverse_number(value: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn palindromic_factor(value: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundB_C.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unlock_the_padlock` is never used [INFO] [stdout] --> src/problems/ks2022/roundB_C.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn unlock_the_padlock(locks: Vec, range: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundB_D.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `gen_road`, `walk_next`, and `hamiltonian_tour` are never used [INFO] [stdout] --> src/problems/ks2022/roundB_D.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 4 | fn gen_road(grid: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn walk_next(road: &mut Vec>, x: usize, y: usize, path: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn hamiltonian_tour(grid: Vec>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Console` is never used [INFO] [stdout] --> src/problems/ks2022/roundC_A.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Console<'a> = IO, StdoutLock<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IO` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundC_A.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IO(R, std::io::BufWriter); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/problems/ks2022/roundC_A.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(r: R, w: W) -> IO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn write(&mut self, s: S) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn read(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundC_A.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `has_uppercase`, `has_lowercase`, `has_digit`, `has_spacial_char`, `has_enough_chars`, and `solve` are never used [INFO] [stdout] --> src/problems/ks2022/roundC_A.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 47 | fn has_uppercase(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn has_lowercase(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn has_digit(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn has_spacial_char(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn has_enough_chars(s: &mut String, num: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn solve(console: &mut Console) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/problems/ks2022/roundC_A.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Console` is never used [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Console<'a> = IO, StdoutLock<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IO` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IO(R, std::io::BufWriter); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(r: R, w: W) -> IO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn write(&mut self, s: S) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn read(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `check_valid` and `solve` are never used [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 47 | fn check_valid(N: usize, X: usize, Y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn solve(console: &mut Console) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Console` is never used [INFO] [stdout] --> src/problems/ks2022/roundC_C.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Console<'a> = IO, StdoutLock<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IO` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundC_C.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IO(R, std::io::BufWriter); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/problems/ks2022/roundC_C.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(r: R, w: W) -> IO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn write(&mut self, s: S) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn read(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundC_C.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `solve` is never used [INFO] [stdout] --> src/problems/ks2022/roundC_C.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 47 | pub fn solve(console: &mut Console) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/problems/ks2022/roundC_C.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Console` is never used [INFO] [stdout] --> src/problems/ks2022/roundC_D.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Console<'a> = IO, StdoutLock<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IO` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundC_D.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IO(R, std::io::BufWriter); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/problems/ks2022/roundC_D.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(r: R, w: W) -> IO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn write(&mut self, s: S) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn read(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/problems/ks2022/roundC_D.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `is_palindromic`, `next`, `factorial`, `calc_modulo`, and `solve` are never used [INFO] [stdout] --> src/problems/ks2022/roundC_D.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 47 | fn is_palindromic(s: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn next(total: &mut usize, sum: usize, s: Vec){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn factorial(n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn calc_modulo(numerator: usize, denominator: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn solve(console: &mut Console) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/problems/ks2022/roundC_D.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `practice_s1_A` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod practice_s1_A; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `practice_s1_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `practice_s1_B` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod practice_s1_B; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `practice_s1_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `practice_s1_C` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod practice_s1_C; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `practice_s1_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundB_A` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod roundB_A; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_b_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundB_B` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod roundB_B; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_b_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundB_C` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod roundB_C; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_b_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundB_D` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod roundB_D; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_b_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundC_A` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod roundC_A; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_c_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundC_B` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod roundC_B; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_c_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundC_C` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod roundC_C; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_c_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundC_D` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod roundC_D; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_c_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_valid(N: usize, X: usize, Y: usize) -> Option { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_valid(N: usize, X: usize, Y: usize) -> Option { [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/problems/ks2022/roundC_B.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_valid(N: usize, X: usize, Y: usize) -> Option { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_N` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let sum_N = (N+1)*N/2; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `sum_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/roundC_D.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let M = 1000000007; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/problems/ks2022/roundC_C.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | .map(|(dist, label)| label.to_string()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Console` is never used [INFO] [stdout] --> src/toolbox/io_util.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Console<'a> = IO, StdoutLock<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IO` is never constructed [INFO] [stdout] --> src/toolbox/io_util.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct IO(R, std::io::BufWriter); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/toolbox/io_util.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl IO { [INFO] [stdout] | -------------------------------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(r: R, w: W) -> IO { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn write(&mut self, s: S) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn read(&mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `usize0`, `chars`, and `binary_vec` are never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_A.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `usize0`, `vec`, `chars`, and `binary_vec` are never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_B.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `usize0`, `chars`, and `binary_vec` are never used [INFO] [stdout] --> src/problems/ks2022/practice_s1_C.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl IO { [INFO] [stdout] | -------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `usize0`, `vec`, `chars`, and `binary_vec` are never used [INFO] [stdout] --> src/problems/ks2022/roundC_A.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `usize0`, `chars`, and `binary_vec` are never used [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `usize0`, `vec`, `chars`, and `binary_vec` are never used [INFO] [stdout] --> src/problems/ks2022/roundC_C.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn chars(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `usize0`, `vec`, and `binary_vec` are never used [INFO] [stdout] --> src/problems/ks2022/roundC_D.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl IO { [INFO] [stdout] | -------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn usize0(&mut self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn vec(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn binary_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `practice_s1_A` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod practice_s1_A; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `practice_s1_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `practice_s1_B` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod practice_s1_B; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `practice_s1_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `practice_s1_C` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod practice_s1_C; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `practice_s1_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundB_A` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod roundB_A; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_b_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundB_B` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod roundB_B; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_b_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundB_C` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod roundB_C; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_b_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundB_D` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod roundB_D; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_b_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundC_A` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod roundC_A; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_c_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundC_B` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod roundC_B; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_c_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundC_C` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod roundC_C; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_c_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `roundC_D` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod roundC_D; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `round_c_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_valid(N: usize, X: usize, Y: usize) -> Option { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_valid(N: usize, X: usize, Y: usize) -> Option { [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/problems/ks2022/roundC_B.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_valid(N: usize, X: usize, Y: usize) -> Option { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_N` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/roundC_B.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let sum_N = (N+1)*N/2; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `sum_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/problems/ks2022/roundC_D.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let M = 1000000007; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "6ea57951078bf37dc2246946c19b1310d6763f76e6e3bb7d8ac6d051b80a3d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea57951078bf37dc2246946c19b1310d6763f76e6e3bb7d8ac6d051b80a3d48", kill_on_drop: false }` [INFO] [stdout] 6ea57951078bf37dc2246946c19b1310d6763f76e6e3bb7d8ac6d051b80a3d48