[INFO] cloning repository https://github.com/MuXiu1997/leetcode-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MuXiu1997/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuXiu1997%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuXiu1997%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5164c8c3fc4874f5141054f9153f259702f9b31d [INFO] testing MuXiu1997/leetcode-rust against 1.57.0 for beta-1.58-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuXiu1997%2Fleetcode-rust" "/workspace/builds/worker-105/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MuXiu1997/leetcode-rust on toolchain 1.57.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.57.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MuXiu1997/leetcode-rust [INFO] finished tweaking git repo https://github.com/MuXiu1997/leetcode-rust [INFO] tweaked toml for git repo https://github.com/MuXiu1997/leetcode-rust written to /workspace/builds/worker-105/source/Cargo.toml [INFO] crate git repo https://github.com/MuXiu1997/leetcode-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.57.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f918365dfd7995ebb3c268b35002cff61f1076f2913669eaa30ba07e4bcc116 [INFO] running `Command { std: "docker" "start" "-a" "7f918365dfd7995ebb3c268b35002cff61f1076f2913669eaa30ba07e4bcc116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f918365dfd7995ebb3c268b35002cff61f1076f2913669eaa30ba07e4bcc116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f918365dfd7995ebb3c268b35002cff61f1076f2913669eaa30ba07e4bcc116", kill_on_drop: false }` [INFO] [stdout] 7f918365dfd7995ebb3c268b35002cff61f1076f2913669eaa30ba07e4bcc116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ba67de6d3b5c5e650d9e7356f2200ddaf304ab1e9703b08386376e4ba3bad1c [INFO] running `Command { std: "docker" "start" "-a" "1ba67de6d3b5c5e650d9e7356f2200ddaf304ab1e9703b08386376e4ba3bad1c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling leetcode-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/leetcode/editor/en/s0039_combination_sum.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0001_two_sum.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_sum` [INFO] [stdout] --> src/leetcode/editor/en/s0001_two_sum.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0002_add_two_numbers.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_two_numbers` [INFO] [stdout] --> src/leetcode/editor/en/s0002_add_two_numbers.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add_two_numbers( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0005_longest_palindromic_substring.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_palindrome` [INFO] [stdout] --> src/leetcode/editor/en/s0005_longest_palindromic_substring.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn longest_palindrome(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `walk` [INFO] [stdout] --> src/leetcode/editor/en/s0005_longest_palindromic_substring.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn walk(result_idx: &mut (usize, usize), help_s: &Vec<char>, c_idx: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0011_container_with_most_water.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_area` [INFO] [stdout] --> src/leetcode/editor/en/s0011_container_with_most_water.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn max_area(height: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0012_integer_to_roman.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `int_to_roman` [INFO] [stdout] --> src/leetcode/editor/en/s0012_integer_to_roman.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn int_to_roman(num: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0013_roman_to_integer.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `roman_to_int` [INFO] [stdout] --> src/leetcode/editor/en/s0013_roman_to_integer.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn roman_to_int(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s00153_sum.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `three_sum` [INFO] [stdout] --> src/leetcode/editor/en/s00153_sum.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn three_sum(nums: Vec<i32>) -> Vec<Vec<i32>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0022_generate_parentheses.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_parenthesis` [INFO] [stdout] --> src/leetcode/editor/en/s0022_generate_parentheses.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn generate_parenthesis(n: i32) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0026_remove_duplicates_from_sorted_array.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_duplicates` [INFO] [stdout] --> src/leetcode/editor/en/s0026_remove_duplicates_from_sorted_array.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0027_remove_element.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_element` [INFO] [stdout] --> src/leetcode/editor/en/s0027_remove_element.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0030_substring_with_concatenation_of_all_words.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_substring` [INFO] [stdout] --> src/leetcode/editor/en/s0030_substring_with_concatenation_of_all_words.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn find_substring(s: String, words: Vec<String>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0035_search_insert_position.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_insert` [INFO] [stdout] --> src/leetcode/editor/en/s0035_search_insert_position.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn search_insert(nums: Vec<i32>, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0036_valid_sudoku.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_sudoku` [INFO] [stdout] --> src/leetcode/editor/en/s0036_valid_sudoku.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn is_valid_sudoku(board: Vec<Vec<char>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0039_combination_sum.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtrack` [INFO] [stdout] --> src/leetcode/editor/en/s0039_combination_sum.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `combination_sum` [INFO] [stdout] --> src/leetcode/editor/en/s0039_combination_sum.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0040_combination_sum_i_i.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtrack` [INFO] [stdout] --> src/leetcode/editor/en/s0040_combination_sum_i_i.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `combination_sum2` [INFO] [stdout] --> src/leetcode/editor/en/s0040_combination_sum_i_i.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn combination_sum2(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0049_group_anagrams.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `group_anagrams` [INFO] [stdout] --> src/leetcode/editor/en/s0049_group_anagrams.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn group_anagrams(strs: Vec<String>) -> Vec<Vec<String>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0073_set_matrix_zeroes.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_zeroes` [INFO] [stdout] --> src/leetcode/editor/en/s0073_set_matrix_zeroes.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_zeroes(matrix: &mut Vec<Vec<i32>>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0139_word_break.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `word_break` [INFO] [stdout] --> src/leetcode/editor/en/s0139_word_break.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn word_break(s: String, word_dict: Vec<String>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtrack` [INFO] [stdout] --> src/leetcode/editor/en/s0139_word_break.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LRUCache` [INFO] [stdout] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | struct LRUCache { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn new(capacity: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn get(&mut self, key: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put` [INFO] [stdout] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn put(&mut self, key: i32, value: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0166_fraction_to_recurring_decimal.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fraction_to_decimal` [INFO] [stdout] --> src/leetcode/editor/en/s0166_fraction_to_recurring_decimal.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn fraction_to_decimal(numerator: i32, denominator: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nucleotide_to_code` [INFO] [stdout] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn nucleotide_to_code(n: char) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `code_to_nucleotide` [INFO] [stdout] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn code_to_nucleotide(c: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_repeated_dna_sequences` [INFO] [stdout] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn find_repeated_dna_sequences(s: String) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0229_majority_element_i_i.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `majority_element` [INFO] [stdout] --> src/leetcode/editor/en/s0229_majority_element_i_i.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn majority_element(nums: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0264_ugly_number_i_i.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nth_ugly_number` [INFO] [stdout] --> src/leetcode/editor/en/s0264_ugly_number_i_i.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn nth_ugly_number(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0299_bulls_and_cows.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hint` [INFO] [stdout] --> src/leetcode/editor/en/s0299_bulls_and_cows.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_hint(secret: String, guess: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0313_super_ugly_number.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nth_super_ugly_number` [INFO] [stdout] --> src/leetcode/editor/en/s0313_super_ugly_number.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn nth_super_ugly_number(n: i32, primes: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `partition` [INFO] [stdout] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn partition(list: &mut Vec<(i32, i32)>, left: usize, right: usize, pivot_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quick_select` [INFO] [stdout] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn quick_select(list: &mut Vec<(i32, i32)>, mut left: usize, mut right: usize, k: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_k_frequent` [INFO] [stdout] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn top_k_frequent(nums: Vec<i32>, k: i32) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tweet` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tweet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Twitter` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | struct Twitter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_user_or_new` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_user_or_new(&mut self, user_id: i32) -> &mut User { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_user` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_user(&self, user_id: i32) -> Option<&User> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `post_tweet` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn post_tweet(&mut self, user_id: i32, tweet_id: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_news_feed` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn get_news_feed(&mut self, user_id: i32) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `follow` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn follow(&mut self, follower_id: i32, followee_id: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unfollow` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | fn unfollow(&mut self, follower_id: i32, followee_id: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0409_longest_palindrome.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_palindrome` [INFO] [stdout] --> src/leetcode/editor/en/s0409_longest_palindrome.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0412_fizz_buzz.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fizz_buzz` [INFO] [stdout] --> src/leetcode/editor/en/s0412_fizz_buzz.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn fizz_buzz(n: i32) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0415_add_strings.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_strings` [INFO] [stdout] --> src/leetcode/editor/en/s0415_add_strings.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn add_strings(num1: String, num2: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0434_number_of_segments_in_a_string.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_segments` [INFO] [stdout] --> src/leetcode/editor/en/s0434_number_of_segments_in_a_string.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn count_segments(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIN_ROWS_NUMBER` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const MIN_ROWS_NUMBER: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_ROWS_NUMBER` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const MAX_ROWS_NUMBER: i32 = 65535; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arrange_coins` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn arrange_coins(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rows_sum` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn rows_sum(rows_number: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0448_find_all_numbers_disappeared_in_an_array.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_disappeared_numbers` [INFO] [stdout] --> src/leetcode/editor/en/s0448_find_all_numbers_disappeared_in_an_array.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn find_disappeared_numbers(nums: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0496_next_greater_element_i.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_greater_element` [INFO] [stdout] --> src/leetcode/editor/en/s0496_next_greater_element_i.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_greater_element(nums1: Vec<i32>, nums2: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0575_distribute_candies.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distribute_candies` [INFO] [stdout] --> src/leetcode/editor/en/s0575_distribute_candies.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn distribute_candies(candy_type: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0594_longest_harmonious_subsequence.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_lhs` [INFO] [stdout] --> src/leetcode/editor/en/s0594_longest_harmonious_subsequence.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find_lhs(nums: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0599_minimum_index_sum_of_two_lists.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_restaurant` [INFO] [stdout] --> src/leetcode/editor/en/s0599_minimum_index_sum_of_two_lists.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_restaurant(list1: Vec<String>, list2: Vec<String>) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0605_can_place_flowers.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_place_flowers` [INFO] [stdout] --> src/leetcode/editor/en/s0605_can_place_flowers.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn can_place_flowers(flowerbed: Vec<i32>, n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0645_set_mismatch.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_error_nums` [INFO] [stdout] --> src/leetcode/editor/en/s0645_set_mismatch.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn find_error_nums(nums: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0748_shortest_completing_word.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shortest_completing_word` [INFO] [stdout] --> src/leetcode/editor/en/s0748_shortest_completing_word.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn shortest_completing_word(license_plate: String, words: Vec<String>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0771_jewels_and_stones.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_jewels_in_stones` [INFO] [stdout] --> src/leetcode/editor/en/s0771_jewels_and_stones.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn num_jewels_in_stones(jewels: String, stones: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0804_unique_morse_code_words.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_morse_representations` [INFO] [stdout] --> src/leetcode/editor/en/s0804_unique_morse_code_words.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn unique_morse_representations(words: Vec<String>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0819_most_common_word.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `most_common_word` [INFO] [stdout] --> src/leetcode/editor/en/s0819_most_common_word.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn most_common_word(paragraph: String, banned: Vec<String>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0859_buddy_strings.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buddy_strings` [INFO] [stdout] --> src/leetcode/editor/en/s0859_buddy_strings.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn buddy_strings(s: String, goal: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0884_uncommon_words_from_two_sentences.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uncommon_from_sentences` [INFO] [stdout] --> src/leetcode/editor/en/s0884_uncommon_words_from_two_sentences.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn uncommon_from_sentences(s1: String, s2: String) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0888_fair_candy_swap.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fair_candy_swap` [INFO] [stdout] --> src/leetcode/editor/en/s0888_fair_candy_swap.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn fair_candy_swap(alice_sizes: Vec<i32>, bob_sizes: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0914_x_of_a_kind_in_a_deck_of_cards.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_groups_size_x` [INFO] [stdout] --> src/leetcode/editor/en/s0914_x_of_a_kind_in_a_deck_of_cards.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn has_groups_size_x(deck: Vec<i32>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0929_unique_email_addresses.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_email` [INFO] [stdout] --> src/leetcode/editor/en/s0929_unique_email_addresses.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_email(email: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_unique_emails` [INFO] [stdout] --> src/leetcode/editor/en/s0929_unique_email_addresses.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn num_unique_emails(emails: Vec<String>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0953_verifying_an_alien_dictionary.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `b_le_a` [INFO] [stdout] --> src/leetcode/editor/en/s0953_verifying_an_alien_dictionary.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn b_le_a(a: &String, b: &String, order_map: &HashMap<char, usize>) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_alien_sorted` [INFO] [stdout] --> src/leetcode/editor/en/s0953_verifying_an_alien_dictionary.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn is_alien_sorted(words: Vec<String>, order: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0961_n_repeated_element_in_size_2_n_array.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repeated_n_times` [INFO] [stdout] --> src/leetcode/editor/en/s0961_n_repeated_element_in_size_2_n_array.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn repeated_n_times(nums: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s1365_how_many_numbers_are_smaller_than_the_current_number.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smaller_numbers_than_current` [INFO] [stdout] --> src/leetcode/editor/en/s1365_how_many_numbers_are_smaller_than_the_current_number.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn smaller_numbers_than_current(nums: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s1748_sum_of_unique_elements.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_of_unique` [INFO] [stdout] --> src/leetcode/editor/en/s1748_sum_of_unique_elements.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn sum_of_unique(nums: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 128 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.74s [INFO] running `Command { std: "docker" "inspect" "1ba67de6d3b5c5e650d9e7356f2200ddaf304ab1e9703b08386376e4ba3bad1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba67de6d3b5c5e650d9e7356f2200ddaf304ab1e9703b08386376e4ba3bad1c", kill_on_drop: false }` [INFO] [stdout] 1ba67de6d3b5c5e650d9e7356f2200ddaf304ab1e9703b08386376e4ba3bad1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41cf8348b11099aa1b491940fe33b1b313d7096c3928e7c030eda59a46cc7bdf [INFO] running `Command { std: "docker" "start" "-a" "41cf8348b11099aa1b491940fe33b1b313d7096c3928e7c030eda59a46cc7bdf", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/leetcode/editor/en/s0039_combination_sum.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0001_two_sum.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_sum` [INFO] [stdout] --> src/leetcode/editor/en/s0001_two_sum.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0002_add_two_numbers.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_two_numbers` [INFO] [stdout] --> src/leetcode/editor/en/s0002_add_two_numbers.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add_two_numbers( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0005_longest_palindromic_substring.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_palindrome` [INFO] [stdout] --> src/leetcode/editor/en/s0005_longest_palindromic_substring.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn longest_palindrome(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `walk` [INFO] [stdout] --> src/leetcode/editor/en/s0005_longest_palindromic_substring.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn walk(result_idx: &mut (usize, usize), help_s: &Vec<char>, c_idx: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0011_container_with_most_water.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_area` [INFO] [stdout] --> src/leetcode/editor/en/s0011_container_with_most_water.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn max_area(height: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0012_integer_to_roman.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `int_to_roman` [INFO] [stdout] --> src/leetcode/editor/en/s0012_integer_to_roman.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn int_to_roman(num: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0013_roman_to_integer.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `roman_to_int` [INFO] [stdout] --> src/leetcode/editor/en/s0013_roman_to_integer.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn roman_to_int(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s00153_sum.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `three_sum` [INFO] [stdout] --> src/leetcode/editor/en/s00153_sum.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn three_sum(nums: Vec<i32>) -> Vec<Vec<i32>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0022_generate_parentheses.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_parenthesis` [INFO] [stdout] --> src/leetcode/editor/en/s0022_generate_parentheses.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn generate_parenthesis(n: i32) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0026_remove_duplicates_from_sorted_array.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_duplicates` [INFO] [stdout] --> src/leetcode/editor/en/s0026_remove_duplicates_from_sorted_array.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0027_remove_element.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_element` [INFO] [stdout] --> src/leetcode/editor/en/s0027_remove_element.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0030_substring_with_concatenation_of_all_words.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_substring` [INFO] [stdout] --> src/leetcode/editor/en/s0030_substring_with_concatenation_of_all_words.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn find_substring(s: String, words: Vec<String>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0035_search_insert_position.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_insert` [INFO] [stdout] --> src/leetcode/editor/en/s0035_search_insert_position.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn search_insert(nums: Vec<i32>, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0036_valid_sudoku.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_sudoku` [INFO] [stdout] --> src/leetcode/editor/en/s0036_valid_sudoku.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn is_valid_sudoku(board: Vec<Vec<char>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0039_combination_sum.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtrack` [INFO] [stdout] --> src/leetcode/editor/en/s0039_combination_sum.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `combination_sum` [INFO] [stdout] --> src/leetcode/editor/en/s0039_combination_sum.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0040_combination_sum_i_i.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtrack` [INFO] [stdout] --> src/leetcode/editor/en/s0040_combination_sum_i_i.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `combination_sum2` [INFO] [stdout] --> src/leetcode/editor/en/s0040_combination_sum_i_i.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn combination_sum2(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0049_group_anagrams.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `group_anagrams` [INFO] [stdout] --> src/leetcode/editor/en/s0049_group_anagrams.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn group_anagrams(strs: Vec<String>) -> Vec<Vec<String>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0073_set_matrix_zeroes.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_zeroes` [INFO] [stdout] --> src/leetcode/editor/en/s0073_set_matrix_zeroes.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_zeroes(matrix: &mut Vec<Vec<i32>>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0139_word_break.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `word_break` [INFO] [stdout] --> src/leetcode/editor/en/s0139_word_break.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn word_break(s: String, word_dict: Vec<String>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtrack` [INFO] [stdout] --> src/leetcode/editor/en/s0139_word_break.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn backtrack( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LRUCache` [INFO] [stdout] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | struct LRUCache { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn new(capacity: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn get(&mut self, key: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put` [INFO] [stdout] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn put(&mut self, key: i32, value: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0166_fraction_to_recurring_decimal.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fraction_to_decimal` [INFO] [stdout] --> src/leetcode/editor/en/s0166_fraction_to_recurring_decimal.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn fraction_to_decimal(numerator: i32, denominator: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nucleotide_to_code` [INFO] [stdout] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn nucleotide_to_code(n: char) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `code_to_nucleotide` [INFO] [stdout] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn code_to_nucleotide(c: u32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_repeated_dna_sequences` [INFO] [stdout] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn find_repeated_dna_sequences(s: String) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0229_majority_element_i_i.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `majority_element` [INFO] [stdout] --> src/leetcode/editor/en/s0229_majority_element_i_i.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn majority_element(nums: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0264_ugly_number_i_i.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nth_ugly_number` [INFO] [stdout] --> src/leetcode/editor/en/s0264_ugly_number_i_i.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn nth_ugly_number(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0299_bulls_and_cows.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hint` [INFO] [stdout] --> src/leetcode/editor/en/s0299_bulls_and_cows.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_hint(secret: String, guess: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0313_super_ugly_number.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nth_super_ugly_number` [INFO] [stdout] --> src/leetcode/editor/en/s0313_super_ugly_number.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn nth_super_ugly_number(n: i32, primes: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `partition` [INFO] [stdout] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn partition(list: &mut Vec<(i32, i32)>, left: usize, right: usize, pivot_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quick_select` [INFO] [stdout] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn quick_select(list: &mut Vec<(i32, i32)>, mut left: usize, mut right: usize, k: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_k_frequent` [INFO] [stdout] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn top_k_frequent(nums: Vec<i32>, k: i32) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tweet` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tweet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `User` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Twitter` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | struct Twitter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_user_or_new` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_user_or_new(&mut self, user_id: i32) -> &mut User { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_user` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_user(&self, user_id: i32) -> Option<&User> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `post_tweet` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn post_tweet(&mut self, user_id: i32, tweet_id: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_news_feed` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn get_news_feed(&mut self, user_id: i32) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `follow` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn follow(&mut self, follower_id: i32, followee_id: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unfollow` [INFO] [stdout] --> src/leetcode/editor/en/s0355_design_twitter.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | fn unfollow(&mut self, follower_id: i32, followee_id: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0409_longest_palindrome.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_palindrome` [INFO] [stdout] --> src/leetcode/editor/en/s0409_longest_palindrome.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0412_fizz_buzz.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fizz_buzz` [INFO] [stdout] --> src/leetcode/editor/en/s0412_fizz_buzz.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn fizz_buzz(n: i32) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0415_add_strings.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_strings` [INFO] [stdout] --> src/leetcode/editor/en/s0415_add_strings.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn add_strings(num1: String, num2: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0434_number_of_segments_in_a_string.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_segments` [INFO] [stdout] --> src/leetcode/editor/en/s0434_number_of_segments_in_a_string.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn count_segments(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIN_ROWS_NUMBER` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const MIN_ROWS_NUMBER: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_ROWS_NUMBER` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const MAX_ROWS_NUMBER: i32 = 65535; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arrange_coins` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn arrange_coins(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rows_sum` [INFO] [stdout] --> src/leetcode/editor/en/s0441_arranging_coins.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn rows_sum(rows_number: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0448_find_all_numbers_disappeared_in_an_array.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_disappeared_numbers` [INFO] [stdout] --> src/leetcode/editor/en/s0448_find_all_numbers_disappeared_in_an_array.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn find_disappeared_numbers(nums: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0496_next_greater_element_i.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_greater_element` [INFO] [stdout] --> src/leetcode/editor/en/s0496_next_greater_element_i.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn next_greater_element(nums1: Vec<i32>, nums2: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0575_distribute_candies.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distribute_candies` [INFO] [stdout] --> src/leetcode/editor/en/s0575_distribute_candies.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn distribute_candies(candy_type: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0594_longest_harmonious_subsequence.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_lhs` [INFO] [stdout] --> src/leetcode/editor/en/s0594_longest_harmonious_subsequence.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find_lhs(nums: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0599_minimum_index_sum_of_two_lists.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_restaurant` [INFO] [stdout] --> src/leetcode/editor/en/s0599_minimum_index_sum_of_two_lists.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_restaurant(list1: Vec<String>, list2: Vec<String>) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0605_can_place_flowers.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_place_flowers` [INFO] [stdout] --> src/leetcode/editor/en/s0605_can_place_flowers.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn can_place_flowers(flowerbed: Vec<i32>, n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0645_set_mismatch.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_error_nums` [INFO] [stdout] --> src/leetcode/editor/en/s0645_set_mismatch.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn find_error_nums(nums: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0748_shortest_completing_word.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shortest_completing_word` [INFO] [stdout] --> src/leetcode/editor/en/s0748_shortest_completing_word.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn shortest_completing_word(license_plate: String, words: Vec<String>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0771_jewels_and_stones.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_jewels_in_stones` [INFO] [stdout] --> src/leetcode/editor/en/s0771_jewels_and_stones.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn num_jewels_in_stones(jewels: String, stones: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0804_unique_morse_code_words.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_morse_representations` [INFO] [stdout] --> src/leetcode/editor/en/s0804_unique_morse_code_words.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn unique_morse_representations(words: Vec<String>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0819_most_common_word.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `most_common_word` [INFO] [stdout] --> src/leetcode/editor/en/s0819_most_common_word.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn most_common_word(paragraph: String, banned: Vec<String>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0859_buddy_strings.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buddy_strings` [INFO] [stdout] --> src/leetcode/editor/en/s0859_buddy_strings.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn buddy_strings(s: String, goal: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0884_uncommon_words_from_two_sentences.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uncommon_from_sentences` [INFO] [stdout] --> src/leetcode/editor/en/s0884_uncommon_words_from_two_sentences.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn uncommon_from_sentences(s1: String, s2: String) -> Vec<String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0888_fair_candy_swap.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fair_candy_swap` [INFO] [stdout] --> src/leetcode/editor/en/s0888_fair_candy_swap.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn fair_candy_swap(alice_sizes: Vec<i32>, bob_sizes: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0914_x_of_a_kind_in_a_deck_of_cards.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_groups_size_x` [INFO] [stdout] --> src/leetcode/editor/en/s0914_x_of_a_kind_in_a_deck_of_cards.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn has_groups_size_x(deck: Vec<i32>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0929_unique_email_addresses.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_email` [INFO] [stdout] --> src/leetcode/editor/en/s0929_unique_email_addresses.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_email(email: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_unique_emails` [INFO] [stdout] --> src/leetcode/editor/en/s0929_unique_email_addresses.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn num_unique_emails(emails: Vec<String>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0953_verifying_an_alien_dictionary.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `b_le_a` [INFO] [stdout] --> src/leetcode/editor/en/s0953_verifying_an_alien_dictionary.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn b_le_a(a: &String, b: &String, order_map: &HashMap<char, usize>) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_alien_sorted` [INFO] [stdout] --> src/leetcode/editor/en/s0953_verifying_an_alien_dictionary.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn is_alien_sorted(words: Vec<String>, order: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s0961_n_repeated_element_in_size_2_n_array.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repeated_n_times` [INFO] [stdout] --> src/leetcode/editor/en/s0961_n_repeated_element_in_size_2_n_array.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn repeated_n_times(nums: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling leetcode-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s1365_how_many_numbers_are_smaller_than_the_current_number.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smaller_numbers_than_current` [INFO] [stdout] --> src/leetcode/editor/en/s1365_how_many_numbers_are_smaller_than_the_current_number.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn smaller_numbers_than_current(nums: Vec<i32>) -> Vec<i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/en/s1748_sum_of_unique_elements.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_of_unique` [INFO] [stdout] --> src/leetcode/editor/en/s1748_sum_of_unique_elements.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn sum_of_unique(nums: Vec<i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 128 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.72s [INFO] running `Command { std: "docker" "inspect" "41cf8348b11099aa1b491940fe33b1b313d7096c3928e7c030eda59a46cc7bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41cf8348b11099aa1b491940fe33b1b313d7096c3928e7c030eda59a46cc7bdf", kill_on_drop: false }` [INFO] [stdout] 41cf8348b11099aa1b491940fe33b1b313d7096c3928e7c030eda59a46cc7bdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c71794e9fc816eb5e777cf96a9e67cd44f31729e7f9fb9f5b386d110f5d9789c [INFO] running `Command { std: "docker" "start" "-a" "c71794e9fc816eb5e777cf96a9e67cd44f31729e7f9fb9f5b386d110f5d9789c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/leetcode/editor/en/s0039_combination_sum.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0001_two_sum.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `two_sum` [INFO] [stderr] --> src/leetcode/editor/en/s0001_two_sum.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0002_add_two_numbers.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_two_numbers` [INFO] [stderr] --> src/leetcode/editor/en/s0002_add_two_numbers.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn add_two_numbers( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0005_longest_palindromic_substring.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `longest_palindrome` [INFO] [stderr] --> src/leetcode/editor/en/s0005_longest_palindromic_substring.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn longest_palindrome(s: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `walk` [INFO] [stderr] --> src/leetcode/editor/en/s0005_longest_palindromic_substring.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 79 | fn walk(result_idx: &mut (usize, usize), help_s: &Vec<char>, c_idx: usize) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0011_container_with_most_water.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `max_area` [INFO] [stderr] --> src/leetcode/editor/en/s0011_container_with_most_water.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn max_area(height: Vec<i32>) -> i32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0012_integer_to_roman.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `int_to_roman` [INFO] [stderr] --> src/leetcode/editor/en/s0012_integer_to_roman.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn int_to_roman(num: i32) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0013_roman_to_integer.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `roman_to_int` [INFO] [stderr] --> src/leetcode/editor/en/s0013_roman_to_integer.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn roman_to_int(s: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s00153_sum.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `three_sum` [INFO] [stderr] --> src/leetcode/editor/en/s00153_sum.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn three_sum(nums: Vec<i32>) -> Vec<Vec<i32>> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0022_generate_parentheses.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `generate_parenthesis` [INFO] [stderr] --> src/leetcode/editor/en/s0022_generate_parentheses.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn generate_parenthesis(n: i32) -> Vec<String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0026_remove_duplicates_from_sorted_array.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_duplicates` [INFO] [stderr] --> src/leetcode/editor/en/s0026_remove_duplicates_from_sorted_array.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0027_remove_element.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_element` [INFO] [stderr] --> src/leetcode/editor/en/s0027_remove_element.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0030_substring_with_concatenation_of_all_words.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_substring` [INFO] [stderr] --> src/leetcode/editor/en/s0030_substring_with_concatenation_of_all_words.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn find_substring(s: String, words: Vec<String>) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0035_search_insert_position.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `search_insert` [INFO] [stderr] --> src/leetcode/editor/en/s0035_search_insert_position.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn search_insert(nums: Vec<i32>, target: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0036_valid_sudoku.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_valid_sudoku` [INFO] [stderr] --> src/leetcode/editor/en/s0036_valid_sudoku.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn is_valid_sudoku(board: Vec<Vec<char>>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0039_combination_sum.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `backtrack` [INFO] [stderr] --> src/leetcode/editor/en/s0039_combination_sum.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | fn backtrack( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `combination_sum` [INFO] [stderr] --> src/leetcode/editor/en/s0039_combination_sum.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0040_combination_sum_i_i.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `backtrack` [INFO] [stderr] --> src/leetcode/editor/en/s0040_combination_sum_i_i.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | fn backtrack( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `combination_sum2` [INFO] [stderr] --> src/leetcode/editor/en/s0040_combination_sum_i_i.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn combination_sum2(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0049_group_anagrams.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `group_anagrams` [INFO] [stderr] --> src/leetcode/editor/en/s0049_group_anagrams.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn group_anagrams(strs: Vec<String>) -> Vec<Vec<String>> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0073_set_matrix_zeroes.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_zeroes` [INFO] [stderr] --> src/leetcode/editor/en/s0073_set_matrix_zeroes.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn set_zeroes(matrix: &mut Vec<Vec<i32>>) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0139_word_break.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `word_break` [INFO] [stderr] --> src/leetcode/editor/en/s0139_word_break.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn word_break(s: String, word_dict: Vec<String>) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `backtrack` [INFO] [stderr] --> src/leetcode/editor/en/s0139_word_break.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | fn backtrack( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `LRUCache` [INFO] [stderr] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | struct LRUCache { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | fn new(capacity: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | fn get(&mut self, key: i32) -> i32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `put` [INFO] [stderr] --> src/leetcode/editor/en/s0146_l_r_u_cache.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | fn put(&mut self, key: i32, value: i32) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0166_fraction_to_recurring_decimal.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fraction_to_decimal` [INFO] [stderr] --> src/leetcode/editor/en/s0166_fraction_to_recurring_decimal.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn fraction_to_decimal(numerator: i32, denominator: i32) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `nucleotide_to_code` [INFO] [stderr] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | fn nucleotide_to_code(n: char) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `code_to_nucleotide` [INFO] [stderr] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | fn code_to_nucleotide(c: u32) -> char { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_repeated_dna_sequences` [INFO] [stderr] --> src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn find_repeated_dna_sequences(s: String) -> Vec<String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0229_majority_element_i_i.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `majority_element` [INFO] [stderr] --> src/leetcode/editor/en/s0229_majority_element_i_i.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn majority_element(nums: Vec<i32>) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0264_ugly_number_i_i.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `nth_ugly_number` [INFO] [stderr] --> src/leetcode/editor/en/s0264_ugly_number_i_i.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn nth_ugly_number(n: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0299_bulls_and_cows.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_hint` [INFO] [stderr] --> src/leetcode/editor/en/s0299_bulls_and_cows.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn get_hint(secret: String, guess: String) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0313_super_ugly_number.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `nth_super_ugly_number` [INFO] [stderr] --> src/leetcode/editor/en/s0313_super_ugly_number.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn nth_super_ugly_number(n: i32, primes: Vec<i32>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `partition` [INFO] [stderr] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:33:4 [INFO] [stderr] | [INFO] [stderr] 33 | fn partition(list: &mut Vec<(i32, i32)>, left: usize, right: usize, pivot_index: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `quick_select` [INFO] [stderr] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:47:4 [INFO] [stderr] | [INFO] [stderr] 47 | fn quick_select(list: &mut Vec<(i32, i32)>, mut left: usize, mut right: usize, k: i32) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `top_k_frequent` [INFO] [stderr] --> src/leetcode/editor/en/s0347_top_k_frequent_elements.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn top_k_frequent(nums: Vec<i32>, k: i32) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Tweet` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | struct Tweet { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `User` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | struct User { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Twitter` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | struct Twitter { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_user_or_new` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | fn get_user_or_new(&mut self, user_id: i32) -> &mut User { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_user` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:97:8 [INFO] [stderr] | [INFO] [stderr] 97 | fn get_user(&self, user_id: i32) -> Option<&User> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `post_tweet` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | fn post_tweet(&mut self, user_id: i32, tweet_id: i32) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_news_feed` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 107 | fn get_news_feed(&mut self, user_id: i32) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `follow` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:127:8 [INFO] [stderr] | [INFO] [stderr] 127 | fn follow(&mut self, follower_id: i32, followee_id: i32) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unfollow` [INFO] [stderr] --> src/leetcode/editor/en/s0355_design_twitter.rs:133:8 [INFO] [stderr] | [INFO] [stderr] 133 | fn unfollow(&mut self, follower_id: i32, followee_id: i32) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0409_longest_palindrome.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `longest_palindrome` [INFO] [stderr] --> src/leetcode/editor/en/s0409_longest_palindrome.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0412_fizz_buzz.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fizz_buzz` [INFO] [stderr] --> src/leetcode/editor/en/s0412_fizz_buzz.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn fizz_buzz(n: i32) -> Vec<String> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0415_add_strings.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_strings` [INFO] [stderr] --> src/leetcode/editor/en/s0415_add_strings.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn add_strings(num1: String, num2: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0434_number_of_segments_in_a_string.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `count_segments` [INFO] [stderr] --> src/leetcode/editor/en/s0434_number_of_segments_in_a_string.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn count_segments(s: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0441_arranging_coins.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MIN_ROWS_NUMBER` [INFO] [stderr] --> src/leetcode/editor/en/s0441_arranging_coins.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | const MIN_ROWS_NUMBER: i32 = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MAX_ROWS_NUMBER` [INFO] [stderr] --> src/leetcode/editor/en/s0441_arranging_coins.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | const MAX_ROWS_NUMBER: i32 = 65535; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `arrange_coins` [INFO] [stderr] --> src/leetcode/editor/en/s0441_arranging_coins.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn arrange_coins(n: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rows_sum` [INFO] [stderr] --> src/leetcode/editor/en/s0441_arranging_coins.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | fn rows_sum(rows_number: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0448_find_all_numbers_disappeared_in_an_array.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_disappeared_numbers` [INFO] [stderr] --> src/leetcode/editor/en/s0448_find_all_numbers_disappeared_in_an_array.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn find_disappeared_numbers(nums: Vec<i32>) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0496_next_greater_element_i.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next_greater_element` [INFO] [stderr] --> src/leetcode/editor/en/s0496_next_greater_element_i.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn next_greater_element(nums1: Vec<i32>, nums2: Vec<i32>) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0575_distribute_candies.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `distribute_candies` [INFO] [stderr] --> src/leetcode/editor/en/s0575_distribute_candies.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn distribute_candies(candy_type: Vec<i32>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0594_longest_harmonious_subsequence.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_lhs` [INFO] [stderr] --> src/leetcode/editor/en/s0594_longest_harmonious_subsequence.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn find_lhs(nums: Vec<i32>) -> i32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0599_minimum_index_sum_of_two_lists.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_restaurant` [INFO] [stderr] --> src/leetcode/editor/en/s0599_minimum_index_sum_of_two_lists.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn find_restaurant(list1: Vec<String>, list2: Vec<String>) -> Vec<String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0605_can_place_flowers.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `can_place_flowers` [INFO] [stderr] --> src/leetcode/editor/en/s0605_can_place_flowers.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn can_place_flowers(flowerbed: Vec<i32>, n: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0645_set_mismatch.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_error_nums` [INFO] [stderr] --> src/leetcode/editor/en/s0645_set_mismatch.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn find_error_nums(nums: Vec<i32>) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0748_shortest_completing_word.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `shortest_completing_word` [INFO] [stderr] --> src/leetcode/editor/en/s0748_shortest_completing_word.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn shortest_completing_word(license_plate: String, words: Vec<String>) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0771_jewels_and_stones.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `num_jewels_in_stones` [INFO] [stderr] --> src/leetcode/editor/en/s0771_jewels_and_stones.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn num_jewels_in_stones(jewels: String, stones: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0804_unique_morse_code_words.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unique_morse_representations` [INFO] [stderr] --> src/leetcode/editor/en/s0804_unique_morse_code_words.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn unique_morse_representations(words: Vec<String>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0819_most_common_word.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `most_common_word` [INFO] [stderr] --> src/leetcode/editor/en/s0819_most_common_word.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn most_common_word(paragraph: String, banned: Vec<String>) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0859_buddy_strings.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `buddy_strings` [INFO] [stderr] --> src/leetcode/editor/en/s0859_buddy_strings.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn buddy_strings(s: String, goal: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0884_uncommon_words_from_two_sentences.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `uncommon_from_sentences` [INFO] [stderr] --> src/leetcode/editor/en/s0884_uncommon_words_from_two_sentences.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn uncommon_from_sentences(s1: String, s2: String) -> Vec<String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0888_fair_candy_swap.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fair_candy_swap` [INFO] [stderr] --> src/leetcode/editor/en/s0888_fair_candy_swap.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn fair_candy_swap(alice_sizes: Vec<i32>, bob_sizes: Vec<i32>) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0914_x_of_a_kind_in_a_deck_of_cards.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_groups_size_x` [INFO] [stderr] --> src/leetcode/editor/en/s0914_x_of_a_kind_in_a_deck_of_cards.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn has_groups_size_x(deck: Vec<i32>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0929_unique_email_addresses.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_email` [INFO] [stderr] --> src/leetcode/editor/en/s0929_unique_email_addresses.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | fn parse_email(email: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `num_unique_emails` [INFO] [stderr] --> src/leetcode/editor/en/s0929_unique_email_addresses.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn num_unique_emails(emails: Vec<String>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0953_verifying_an_alien_dictionary.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `b_le_a` [INFO] [stderr] --> src/leetcode/editor/en/s0953_verifying_an_alien_dictionary.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | fn b_le_a(a: &String, b: &String, order_map: &HashMap<char, usize>) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_alien_sorted` [INFO] [stderr] --> src/leetcode/editor/en/s0953_verifying_an_alien_dictionary.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn is_alien_sorted(words: Vec<String>, order: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s0961_n_repeated_element_in_size_2_n_array.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `repeated_n_times` [INFO] [stderr] --> src/leetcode/editor/en/s0961_n_repeated_element_in_size_2_n_array.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn repeated_n_times(nums: Vec<i32>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s1365_how_many_numbers_are_smaller_than_the_current_number.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `smaller_numbers_than_current` [INFO] [stderr] --> src/leetcode/editor/en/s1365_how_many_numbers_are_smaller_than_the_current_number.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn smaller_numbers_than_current(nums: Vec<i32>) -> Vec<i32> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/leetcode/editor/en/s1748_sum_of_unique_elements.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct Solution {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sum_of_unique` [INFO] [stderr] --> src/leetcode/editor/en/s1748_sum_of_unique_elements.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn sum_of_unique(nums: Vec<i32>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `leetcode-rust` (lib) generated 128 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/leetcode_rust-6d6f9bf666efba6a) [INFO] [stdout] [INFO] [stdout] running 53 tests [INFO] [stdout] test leetcode::editor::en::s00153_sum::tests::test_15 ... ok [INFO] [stdout] test leetcode::editor::en::s0026_remove_duplicates_from_sorted_array::tests::test_26 ... ok [INFO] [stdout] test leetcode::editor::en::s0012_integer_to_roman::tests::test_12 ... ok [INFO] [stdout] test leetcode::editor::en::s0001_two_sum::tests::test_1 ... ok [INFO] [stdout] test leetcode::editor::en::s0030_substring_with_concatenation_of_all_words::tests::test_30 ... ok [INFO] [stdout] test leetcode::editor::en::s0002_add_two_numbers::tests::test_2 ... ok [INFO] [stdout] test leetcode::editor::en::s0013_roman_to_integer::tests::test_13 ... ok [INFO] [stdout] test leetcode::editor::en::s0027_remove_element::tests::test_27 ... ok [INFO] [stdout] test leetcode::editor::en::s0035_search_insert_position::tests::test_35 ... ok [INFO] [stdout] test leetcode::editor::en::s0039_combination_sum::tests::test_39 ... ok [INFO] [stdout] test leetcode::editor::en::s0049_group_anagrams::tests::test_49 ... ok [INFO] [stdout] test leetcode::editor::en::s0073_set_matrix_zeroes::tests::test_73 ... ok [INFO] [stdout] test leetcode::editor::en::s0355_design_twitter::tests::test_355 ... ok [INFO] [stdout] test leetcode::editor::en::s0347_top_k_frequent_elements::tests::test_347 ... ok [INFO] [stdout] test leetcode::editor::en::s0412_fizz_buzz::tests::test_412 ... ok [INFO] [stdout] test leetcode::editor::en::s0229_majority_element_i_i::tests::test_229 ... ok [INFO] [stdout] test leetcode::editor::en::s0415_add_strings::tests::test_415 ... ok [INFO] [stdout] test leetcode::editor::en::s0005_longest_palindromic_substring::tests::test_5 ... ok [INFO] [stdout] test leetcode::editor::en::s0166_fraction_to_recurring_decimal::tests::test_166 ... ok [INFO] [stdout] test leetcode::editor::en::s0264_ugly_number_i_i::tests::test_264 ... ok [INFO] [stdout] test leetcode::editor::en::s0313_super_ugly_number::tests::test_313 ... ok [INFO] [stdout] test leetcode::editor::en::s0040_combination_sum_i_i::tests::test_40 ... ok [INFO] [stdout] test leetcode::editor::en::s0139_word_break::tests::test_139 ... ok [INFO] [stdout] test leetcode::editor::en::s0146_l_r_u_cache::tests::test_146 ... ok [INFO] [stdout] test leetcode::editor::en::s0299_bulls_and_cows::tests::test_299 ... ok [INFO] [stdout] test leetcode::editor::en::s0036_valid_sudoku::tests::test_36 ... ok [INFO] [stdout] test leetcode::editor::en::s0011_container_with_most_water::tests::test_11 ... ok [INFO] [stdout] test leetcode::editor::en::s0496_next_greater_element_i::tests::test_496 ... ok [INFO] [stdout] test leetcode::editor::en::s0599_minimum_index_sum_of_two_lists::tests::test_599 ... ok [INFO] [stdout] test leetcode::editor::en::s0575_distribute_candies::tests::test_575 ... ok [INFO] [stdout] test leetcode::editor::en::s0409_longest_palindrome::tests::test_409 ... ok [INFO] [stdout] test leetcode::editor::en::s0448_find_all_numbers_disappeared_in_an_array::tests::test_448 ... ok [INFO] [stdout] test leetcode::editor::en::s0441_arranging_coins::tests::test_441 ... ok [INFO] [stdout] test leetcode::editor::en::s0594_longest_harmonious_subsequence::tests::test_594 ... ok [INFO] [stdout] test leetcode::editor::en::s0434_number_of_segments_in_a_string::tests::test_434 ... ok [INFO] [stdout] test leetcode::editor::en::s0022_generate_parentheses::tests::test_22 ... ok [INFO] [stdout] test leetcode::editor::en::s0645_set_mismatch::tests::test_645 ... ok [INFO] [stdout] test leetcode::editor::en::s0771_jewels_and_stones::tests::test_771 ... ok [INFO] [stdout] test leetcode::editor::en::s0819_most_common_word::tests::test_819 ... ok [INFO] [stdout] test leetcode::editor::en::s0884_uncommon_words_from_two_sentences::tests::test_884 ... ok [INFO] [stdout] test leetcode::editor::en::s0888_fair_candy_swap::tests::test_888 ... ok [INFO] [stdout] test util::linked_list::tests::test_to_list ... ok [INFO] [stdout] test leetcode::editor::en::s0961_n_repeated_element_in_size_2_n_array::tests::test_961 ... ok [INFO] [stdout] test leetcode::editor::en::s0953_verifying_an_alien_dictionary::tests::test_953 ... ok [INFO] [stdout] test leetcode::editor::en::s0605_can_place_flowers::tests::test_605 ... ok [INFO] [stdout] test leetcode::editor::en::s1365_how_many_numbers_are_smaller_than_the_current_number::tests::test_1365 ... ok [INFO] [stdout] test leetcode::editor::en::s0804_unique_morse_code_words::tests::test_804 ... ok [INFO] [stdout] test leetcode::editor::en::s0914_x_of_a_kind_in_a_deck_of_cards::tests::test_914 ... ok [INFO] [stdout] test leetcode::editor::en::s0748_shortest_completing_word::tests::test_748 ... ok [INFO] [stdout] test leetcode::editor::en::s0929_unique_email_addresses::tests::test_929 ... ok [INFO] [stdout] test leetcode::editor::en::s0859_buddy_strings::tests::test_859 ... ok [INFO] [stdout] test leetcode::editor::en::s1748_sum_of_unique_elements::tests::test_1748 ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test leetcode::editor::en::s0187_repeated_d_n_a_sequences::tests::test_187 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- leetcode::editor::en::s0187_repeated_d_n_a_sequences::tests::test_187 stdout ---- [INFO] [stdout] thread 'leetcode::editor::en::s0187_repeated_d_n_a_sequences::tests::test_187' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `["CCCCCAAAAA", "AAAAACCCCC"]`, [INFO] [stdout] right: `["AAAAACCCCC", "CCCCCAAAAA"]`', src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:103:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55c58aa6c32c - std::backtrace_rs::backtrace::libunwind::trace::hf6a6dfd7da937cb0 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55c58aa6c32c - std::backtrace_rs::backtrace::trace_unsynchronized::hc596a19e4891f7f3 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c58aa6c32c - std::sys_common::backtrace::_print_fmt::hb16700db31584325 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55c58aa6c32c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h231c4190cfa75162 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55c58aa8faec - core::fmt::write::h2a1462b5f8eea807 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/fmt/mod.rs:1163:17 [INFO] [stdout] 5: 0x55c58aa68305 - std::io::Write::write_fmt::h54b98b921313820f [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/io/mod.rs:1696:15 [INFO] [stdout] 6: 0x55c58aa6dff0 - std::sys_common::backtrace::_print::hcc197d4bebf2b369 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55c58aa6dff0 - std::sys_common::backtrace::print::h335a66af06738c7c [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55c58aa6dff0 - std::panicking::default_hook::{{closure}}::h6fac9ac9c8b79e52 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55c58aa6dbe0 - std::panicking::default_hook::h341c1030c6a1161b [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x55c58aa6e6a4 - std::panicking::rust_panic_with_hook::h50680ff4b44510c6 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:624:17 [INFO] [stdout] 11: 0x55c58aa6e180 - std::panicking::begin_panic_handler::{{closure}}::h9371c0fbb1e8465a [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x55c58aa6c7d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h9b3efa22a5768c0f [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55c58aa6e0e9 - rust_begin_unwind [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x55c58a8f45e1 - core::panicking::panic_fmt::h23b9203e89cc61cf [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:100:14 [INFO] [stdout] 15: 0x55c58aa8e398 - core::panicking::assert_failed_inner::h267919ed503c570e [INFO] [stdout] 16: 0x55c58a95e19a - core::panicking::assert_failed::h27f37800fbf8bdfc [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:138:5 [INFO] [stdout] 17: 0x55c58a99849c - leetcode_rust::leetcode::editor::en::s0187_repeated_d_n_a_sequences::tests::test_187::h37a58188113fc22e [INFO] [stdout] at /opt/rustwide/workdir/src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:103:9 [INFO] [stdout] 18: 0x55c58a9982ba - leetcode_rust::leetcode::editor::en::s0187_repeated_d_n_a_sequences::tests::test_187::{{closure}}::h3a8f22ba666dff8c [INFO] [stdout] at /opt/rustwide/workdir/src/leetcode/editor/en/s0187_repeated_d_n_a_sequences.rs:102:5 [INFO] [stdout] 19: 0x55c58a988c1e - core::ops::function::FnOnce::call_once::h4811b6eff8ee7105 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55c58aa1e263 - core::ops::function::FnOnce::call_once::h83cc023b85256d97 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55c58aa1e263 - test::__rust_begin_short_backtrace::h7330e4e8b0549e26 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x55c58aa1cce8 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6b77566b8f386abb [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/alloc/src/boxed.rs:1691:9 [INFO] [stdout] 23: 0x55c58aa1cce8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h2ad5de64df41b71c [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55c58aa1cce8 - std::panicking::try::do_call::he67b1e56b423a618 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:403:40 [INFO] [stdout] 25: 0x55c58aa1cce8 - std::panicking::try::ha9224adcdd41a723 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:367:19 [INFO] [stdout] 26: 0x55c58aa1cce8 - std::panic::catch_unwind::h9111b58ae0b27828 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x55c58aa1cce8 - test::run_test_in_process::h15b6b7d5919893aa [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x55c58aa1cce8 - test::run_test::run_test_inner::{{closure}}::hf4315a4713f43c7c [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x55c58a9e8ece - test::run_test::run_test_inner::{{closure}}::he5ee4b72e81a03c9 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x55c58a9e8ece - std::sys_common::backtrace::__rust_begin_short_backtrace::h95ee850adb4781e8 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x55c58a9edcc8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h021e24a415db235d [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/thread/mod.rs:483:17 [INFO] [stdout] 32: 0x55c58a9edcc8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::haeadffca71b0b3db [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55c58a9edcc8 - std::panicking::try::do_call::hccb88781ab950fde [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:403:40 [INFO] [stdout] 34: 0x55c58a9edcc8 - std::panicking::try::h5f12d1df9398dffe [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:367:19 [INFO] [stdout] 35: 0x55c58a9edcc8 - std::panic::catch_unwind::h613f52076bf29f32 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x55c58a9edcc8 - std::thread::Builder::spawn_unchecked::{{closure}}::h0c75f5a4c2ca7c3c [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/thread/mod.rs:482:30 [INFO] [stdout] 37: 0x55c58a9edcc8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h430a5db0c11b32f8 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55c58aa72fe3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7bd677a5dc988be6 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/alloc/src/boxed.rs:1691:9 [INFO] [stdout] 39: 0x55c58aa72fe3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7b1c1ba11c4db785 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/alloc/src/boxed.rs:1691:9 [INFO] [stdout] 40: 0x55c58aa72fe3 - std::sys::unix::thread::Thread::new::thread_start::h9c58c0d12d84e854 [INFO] [stdout] at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f41e9765609 - start_thread [INFO] [stdout] 42: 0x7f41e9537293 - clone [INFO] [stdout] 43: 0x0 - <unknown> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] leetcode::editor::en::s0187_repeated_d_n_a_sequences::tests::test_187 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 52 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c71794e9fc816eb5e777cf96a9e67cd44f31729e7f9fb9f5b386d110f5d9789c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c71794e9fc816eb5e777cf96a9e67cd44f31729e7f9fb9f5b386d110f5d9789c", kill_on_drop: false }` [INFO] [stdout] c71794e9fc816eb5e777cf96a9e67cd44f31729e7f9fb9f5b386d110f5d9789c