[INFO] cloning repository https://github.com/veryshyjelly/striver-sheet-solutions-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/veryshyjelly/striver-sheet-solutions-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveryshyjelly%2Fstriver-sheet-solutions-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveryshyjelly%2Fstriver-sheet-solutions-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0b412444379dc4db589ff62c4a04bfabac5c8b3d
[INFO] checking veryshyjelly/striver-sheet-solutions-rust against try#6713fa75964eb229409a9c6f6f5c418423e313ff for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveryshyjelly%2Fstriver-sheet-solutions-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/veryshyjelly/striver-sheet-solutions-rust
[INFO] finished tweaking git repo https://github.com/veryshyjelly/striver-sheet-solutions-rust
[INFO] tweaked toml for git repo https://github.com/veryshyjelly/striver-sheet-solutions-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/veryshyjelly/striver-sheet-solutions-rust on toolchain 6713fa75964eb229409a9c6f6f5c418423e313ff
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/veryshyjelly/striver-sheet-solutions-rust 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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d71fefae1ca3037975cb0938ff617de3a8c2d14afaf97ce4c18aeebe31825929
[INFO] running `Command { std: "docker" "start" "-a" "d71fefae1ca3037975cb0938ff617de3a8c2d14afaf97ce4c18aeebe31825929", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d71fefae1ca3037975cb0938ff617de3a8c2d14afaf97ce4c18aeebe31825929", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d71fefae1ca3037975cb0938ff617de3a8c2d14afaf97ce4c18aeebe31825929", kill_on_drop: false }`
[INFO] [stdout] d71fefae1ca3037975cb0938ff617de3a8c2d14afaf97ce4c18aeebe31825929
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eaa2da625e708f9d76e99137089a79efa39656dd487e2ffbb957b79d804ad67f
[INFO] running `Command { std: "docker" "start" "-a" "eaa2da625e708f9d76e99137089a79efa39656dd487e2ffbb957b79d804ad67f", kill_on_drop: false }`
[INFO] [stderr]     Checking solutions-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/pkg/maximum_subarray.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     for i in (mid + 1..=hi) {
[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] 47 -     for i in (mid + 1..=hi) {
[INFO] [stdout] 47 +     for i in mid + 1..=hi {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pkg::implement_trie::*`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pkg::implement_trie::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/pkg/maximum_subarray.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     for i in (mid + 1..=hi) {
[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] 47 -     for i in (mid + 1..=hi) {
[INFO] [stdout] 47 +     for i in mid + 1..=hi {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pkg::implement_trie::*`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pkg::implement_trie::*;
[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 variable: `i`
[INFO] [stdout]  --> src/pkg/compare_version_numbers.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     for i in n..m {
[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: unused variable: `i`
[INFO] [stdout]   --> src/pkg/compare_version_numbers.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in m..n {
[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/pkg/compare_version_numbers.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     for i in n..m {
[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: unused variable: `i`
[INFO] [stdout]   --> src/pkg/compare_version_numbers.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in m..n {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/pkg/majority_element.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn majority_element(mut nums: Vec<i32>) -> i32 {
[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/pkg/majority_element_2.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn majority_element(mut nums: Vec<i32>) -> Vec<i32> {
[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/pkg/majority_element.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn majority_element(mut nums: Vec<i32>) -> i32 {
[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/pkg/majority_element_2.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn majority_element(mut nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |                         ----^^^^
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BSTIterator` is never constructed
[INFO] [stdout]  --> src/pkg/bst_iterator.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct BSTIterator {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `next`, and `has_next` are never used
[INFO] [stdout]   --> src/pkg/bst_iterator.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl BSTIterator {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new(root: Option<Rc<RefCell<TreeNode>>>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn next(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn has_next(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_leaf` is never used
[INFO] [stdout]   --> src/pkg/bst_iterator.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn is_leaf(root: &Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_num`, and `find_median` are never used
[INFO] [stdout]   --> src/pkg/find_median_from_data_stream.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl MedianFinder {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn add_num(&mut self, num: i32) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn find_median(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyStack` is never constructed
[INFO] [stdout]  --> src/pkg/implement_stack_using_queue.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct MyStack {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `empty` are never used
[INFO] [stdout]   --> src/pkg/implement_stack_using_queue.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl MyStack {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 13 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn top(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/pkg/implement_trie.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Trie {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn insert(&mut self, word: String) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn insert_helper(&mut self, chars: &mut Chars) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn search(&self, word: String) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn search_helper(&self, chars: &mut Chars) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn starts_with(&self, prefix: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     fn prefix_helper(&self, chars: &mut Chars) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add` are never used
[INFO] [stdout]   --> src/pkg/kth_largest_element_in_stream.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl KthLargest {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(k: i32, nums: Vec<i32>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn add(&mut self, val: i32) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LRUCache` is never constructed
[INFO] [stdout]  --> src/pkg/lru_cache.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct LRUCache {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_sliding_window` is never used
[INFO] [stdout]  --> src/pkg/sliding_window_maximum.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn max_sliding_window(nums: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `top_k_frequent` is never used
[INFO] [stdout]  --> src/pkg/top_k_frequent.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn top_k_frequent(nums: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Count` is never constructed
[INFO] [stdout]   --> src/pkg/top_k_frequent.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Count {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_anagram` is never used
[INFO] [stdout]  --> src/pkg/valid_anagram.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BSTIterator` is never constructed
[INFO] [stdout]  --> src/pkg/bst_iterator.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct BSTIterator {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `next`, and `has_next` are never used
[INFO] [stdout]   --> src/pkg/bst_iterator.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl BSTIterator {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new(root: Option<Rc<RefCell<TreeNode>>>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn next(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn has_next(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_leaf` is never used
[INFO] [stdout]   --> src/pkg/bst_iterator.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn is_leaf(root: &Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_num`, and `find_median` are never used
[INFO] [stdout]   --> src/pkg/find_median_from_data_stream.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl MedianFinder {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn add_num(&mut self, num: i32) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn find_median(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyStack` is never constructed
[INFO] [stdout]  --> src/pkg/implement_stack_using_queue.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct MyStack {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `empty` are never used
[INFO] [stdout]   --> src/pkg/implement_stack_using_queue.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl MyStack {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 13 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn pop(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn top(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/pkg/implement_trie.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Trie {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn insert(&mut self, word: String) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn insert_helper(&mut self, chars: &mut Chars) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn search(&self, word: String) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn search_helper(&self, chars: &mut Chars) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn starts_with(&self, prefix: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     fn prefix_helper(&self, chars: &mut Chars) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add` are never used
[INFO] [stdout]   --> src/pkg/kth_largest_element_in_stream.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl KthLargest {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(k: i32, nums: Vec<i32>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn add(&mut self, val: i32) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LRUCache` is never constructed
[INFO] [stdout]  --> src/pkg/lru_cache.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct LRUCache {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_sliding_window` is never used
[INFO] [stdout]  --> src/pkg/sliding_window_maximum.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn max_sliding_window(nums: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `top_k_frequent` is never used
[INFO] [stdout]  --> src/pkg/top_k_frequent.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn top_k_frequent(nums: Vec<i32>, k: i32) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Count` is never constructed
[INFO] [stdout]   --> src/pkg/top_k_frequent.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Count {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_anagram` is never used
[INFO] [stdout]  --> src/pkg/valid_anagram.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "eaa2da625e708f9d76e99137089a79efa39656dd487e2ffbb957b79d804ad67f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eaa2da625e708f9d76e99137089a79efa39656dd487e2ffbb957b79d804ad67f", kill_on_drop: false }`
[INFO] [stdout] eaa2da625e708f9d76e99137089a79efa39656dd487e2ffbb957b79d804ad67f
