[INFO] cloning repository https://github.com/tan-wei/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/tan-wei/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftan-wei%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftan-wei%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fa3c328de624e30dcb5a59a1c819fc03fa3700b [INFO] testing tan-wei/leetcode-rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftan-wei%2Fleetcode-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tan-wei/leetcode-rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/source/.cargo/config [INFO] started tweaking git repo https://github.com/tan-wei/leetcode-rust [INFO] finished tweaking git repo https://github.com/tan-wei/leetcode-rust [INFO] tweaked toml for git repo https://github.com/tan-wei/leetcode-rust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/tan-wei/leetcode-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1622aeb99aa65e8a61689e842d004b9e7f21e72ad0f4b4ce141c0064c64afdb1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1622aeb99aa65e8a61689e842d004b9e7f21e72ad0f4b4ce141c0064c64afdb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1622aeb99aa65e8a61689e842d004b9e7f21e72ad0f4b4ce141c0064c64afdb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1622aeb99aa65e8a61689e842d004b9e7f21e72ad0f4b4ce141c0064c64afdb1", kill_on_drop: false }` [INFO] [stdout] 1622aeb99aa65e8a61689e842d004b9e7f21e72ad0f4b4ce141c0064c64afdb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2b368a2c239a4ec8e77e92bf4b89365c3dc53cf013f45c4ff9a93707e66a699 [INFO] running `Command { std: "docker" "start" "-a" "b2b368a2c239a4ec8e77e92bf4b89365c3dc53cf013f45c4ff9a93707e66a699", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling curl v0.4.25 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling isahc v0.7.6 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling miniz_oxide v0.3.3 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling iovec v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling sluice v0.4.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.50 [INFO] [stderr] Compiling libnghttp2-sys v0.1.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling curl-sys v0.4.25 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling surf v1.0.3 [INFO] [stderr] Compiling reqwest v0.9.21 [INFO] [stderr] Compiling leetcode-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0002_add_two_numbers.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0019_remove_nth_node_from_end_of_list.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0021_merge_two_sorted_lists.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0023_merge_k_sorted_lists.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0024_swap_nodes_in_pairs.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0025_reverse_nodes_in_k_group.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0036_valid_sudoku.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | if (board[i][j] != '.') { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - if (board[i][j] != '.') { [INFO] [stdout] 73 + if board[i][j] != '.' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0036_valid_sudoku.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | if (used1[i][num] || used2[j][num] || used3[k][num]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - if (used1[i][num] || used2[j][num] || used3[k][num]) { [INFO] [stdout] 77 + if used1[i][num] || used2[j][num] || used3[k][num] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0061_rotate_list.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0064_minimum_path_sum.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | } else if (j == n - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - } else if (j == n - 1) { [INFO] [stdout] 47 + } else if j == n - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0081_search_in_rotated_sorted_array_ii.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if (nums[mid] == target) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if (nums[mid] == target) { [INFO] [stdout] 42 + if nums[mid] == target { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0081_search_in_rotated_sorted_array_ii.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | } else if (nums[mid] > nums[h]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - } else if (nums[mid] > nums[h]) { [INFO] [stdout] 44 + } else if nums[mid] > nums[h] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0082_remove_duplicates_from_sorted_list_ii.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0083_remove_duplicates_from_sorted_list.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0086_partition_list.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0092_reverse_linked_list_ii.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0094_binary_tree_inorder_traversal.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0095_unique_binary_search_trees_ii.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0098_validate_binary_search_tree.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0099_recover_binary_search_tree.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0100_same_tree.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0101_symmetric_tree.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0102_binary_tree_level_order_traversal.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0103_binary_tree_zigzag_level_order_traversal.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0104_maximum_depth_of_binary_tree.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0105_construct_binary_tree_from_preorder_and_inorder_traversal.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0106_construct_binary_tree_from_inorder_and_postorder_traversal.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0107_binary_tree_level_order_traversal_ii.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0108_convert_sorted_array_to_binary_search_tree.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0109_convert_sorted_list_to_binary_search_tree.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0109_convert_sorted_list_to_binary_search_tree.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0110_balanced_binary_tree.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0111_minimum_depth_of_binary_tree.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0112_path_sum.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0113_path_sum_ii.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0114_flatten_binary_tree_to_linked_list.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/solution/s0123_best_time_to_buy_and_sell_stock_iii.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | for i in (0..prices.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - for i in (0..prices.len()) { [INFO] [stdout] 53 + for i in 0..prices.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0124_binary_tree_maximum_path_sum.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0129_sum_root_to_leaf_numbers.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0132_palindrome_partitioning_ii.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if (s[i] == s[j] && (j - i < 2 || pal[i + 1][j - 1])) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - if (s[i] == s[j] && (j - i < 2 || pal[i + 1][j - 1])) { [INFO] [stdout] 50 + if s[i] == s[j] && (j - i < 2 || pal[i + 1][j - 1]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0143_reorder_list.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0144_binary_tree_preorder_traversal.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0145_binary_tree_postorder_traversal.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0147_insertion_sort_list.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0148_sort_list.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0173_binary_search_tree_iterator.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0199_binary_tree_right_side_view.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0203_remove_linked_list_elements.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0206_reverse_linked_list.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0222_count_complete_tree_nodes.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0226_invert_binary_tree.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0230_kth_smallest_element_in_a_bst.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0234_palindrome_linked_list.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0235_lowest_common_ancestor_of_a_binary_search_tree.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0236_lowest_common_ancestor_of_a_binary_tree.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0257_binary_tree_paths.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/solution/s0264_ugly_number_ii.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | while (ugly_numbers.len() < n as usize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - while (ugly_numbers.len() < n as usize) { [INFO] [stdout] 39 + while ugly_numbers.len() < n as usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0264_ugly_number_ii.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | if (last == ugly_numbers[x] * 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - if (last == ugly_numbers[x] * 2) { [INFO] [stdout] 47 + if last == ugly_numbers[x] * 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0264_ugly_number_ii.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | if (last == ugly_numbers[y] * 3) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - if (last == ugly_numbers[y] * 3) { [INFO] [stdout] 50 + if last == ugly_numbers[y] * 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0264_ugly_number_ii.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | if (last == ugly_numbers[z] * 5) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - if (last == ugly_numbers[z] * 5) { [INFO] [stdout] 53 + if last == ugly_numbers[z] * 5 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0297_serialize_and_deserialize_binary_tree.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/solution/s0315_count_of_smaller_numbers_after_self.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0328_odd_even_linked_list.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0337_house_robber_iii.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0376_wiggle_subsequence.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | if (size == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - if (size == 0) { [INFO] [stdout] 50 + if size == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0382_linked_list_random_node.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0404_sum_of_left_leaves.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0412_fizz_buzz.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | answer.push(if (i % 15 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - answer.push(if (i % 15 == 0) { [INFO] [stdout] 38 + answer.push(if i % 15 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0412_fizz_buzz.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | if (i % 3 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - if (i % 3 == 0) { [INFO] [stdout] 41 + if i % 3 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0412_fizz_buzz.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | if (i % 5 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - if (i % 5 == 0) { [INFO] [stdout] 44 + if i % 5 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0437_path_sum_iii.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_list` [INFO] [stdout] --> src/solution/s0445_add_two_numbers_ii.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::util::linked_list::{to_list, ListNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0450_delete_node_in_a_bst.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/solution/s0475_heaters.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | _ => (heaters[i] - h).min((h - heaters[i - 1])), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - _ => (heaters[i] - h).min((h - heaters[i - 1])), [INFO] [stdout] 52 + _ => (heaters[i] - h).min(h - heaters[i - 1]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/solution/s0498_diagonal_traverse.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | if (mat.len() == 0 || mat[0].len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - if (mat.len() == 0 || mat[0].len() == 0) { [INFO] [stdout] 35 + if mat.len() == 0 || mat[0].len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0501_find_mode_in_binary_search_tree.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0508_most_frequent_subtree_sum.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0513_find_bottom_left_tree_value.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/solution/s0514_freedom_trail.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | for r_pos in (0..ring.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - for r_pos in (0..ring.len()) { [INFO] [stdout] 53 + for r_pos in 0..ring.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0515_find_largest_value_in_each_tree_row.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0530_minimum_absolute_difference_in_bst.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0538_convert_bst_to_greater_tree.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0543_diameter_of_binary_tree.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0563_binary_tree_tilt.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0572_subtree_of_another_tree.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/solution/s0600_non_negative_integers_without_consecutive_ones.rs:61:54 [INFO] [stdout] | [INFO] [stdout] 61 | FB[bt - 1] + Self::find_integers((n & !(1 << bt))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - FB[bt - 1] + Self::find_integers((n & !(1 << bt))) [INFO] [stdout] 61 + FB[bt - 1] + Self::find_integers(n & !(1 << bt)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0606_construct_string_from_binary_tree.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0617_merge_two_binary_trees.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0623_add_one_row_to_tree.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_tree` [INFO] [stdout] --> src/solution/s0637_average_of_levels_in_binary_tree.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::util::tree::{to_tree, TreeNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subp` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | ([x, b'*', subp @ ..], [y, subs @ ..]) if *x == b'.' || x == y => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_subp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/solution/s0059_spiral_matrix_ii.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mid` is never read [INFO] [stdout] --> src/solution/s0081_search_in_rotated_sorted_array_ii.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let (mut l, mut mid, mut h) = (0, 0, nums.len() - 1); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/solution/s0107_binary_tree_level_order_traversal_ii.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | for i in 0..deque.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/solution/s0164_maximum_gap.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | for i in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/solution/s0208_implement_trie_prefix_tree.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | Some(n) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/solution/s0278_first_bad_version.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn first_bad_version(&self, n: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/solution/s0442_find_all_duplicates_in_an_array.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | .filter(|&(x, y)| y >= 2) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/solution/s0442_find_all_duplicates_in_an_array.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | .map(|(x, y)| (x + 1) as i32) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/solution/s0502_ipo.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | for i in 0..k { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/solution/s0509_fibonacci_number.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | for i in 2..=n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0039_combination_sum.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut vec = Vec::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0039_combination_sum.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | mut curr: Vec, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0040_combination_sum_ii.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut vec = Vec::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0040_combination_sum_ii.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | mut curr: Vec, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0179_largest_number.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut result = vs.join(""); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0213_house_robber_ii.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut temp = std::cmp::max(pre + nums[i], cur); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0219_contains_duplicate_ii.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let mut prev = m.entry(x).or_insert(i); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0303_range_sum_query_immutable.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | .scan(0, |mut state, x| { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn new(mut nested_list: Vec) -> Self { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | fn unnest(mut nested_list: Vec) -> Vec { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0001_two_sum.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | 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/solution/s0001_two_sum.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0002_add_two_numbers.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_two_numbers` [INFO] [stdout] --> src/solution/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/solution/s0003_longest_substring_without_repeating_characters.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: `length_of_longest_substring` [INFO] [stdout] --> src/solution/s0003_longest_substring_without_repeating_characters.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn length_of_longest_substring(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0004_median_of_two_sorted_arrays.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: `find_median_sorted_arrays` [INFO] [stdout] --> src/solution/s0004_median_of_two_sorted_arrays.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn find_median_sorted_arrays(nums1: Vec, nums2: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0005_longest_palindromic_substring.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: `longest_palindrome` [INFO] [stdout] --> src/solution/s0005_longest_palindromic_substring.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn longest_palindrome(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_palindrome` [INFO] [stdout] --> src/solution/s0005_longest_palindromic_substring.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn is_palindrome(s: &Vec, begin: usize, end: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0006_zigzag_conversion.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: `convert` [INFO] [stdout] --> src/solution/s0006_zigzag_conversion.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn convert(s: String, num_rows: i32) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0007_reverse_integer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/solution/s0007_reverse_integer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn reverse(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_v2` [INFO] [stdout] --> src/solution/s0007_reverse_integer.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn reverse_v2(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0008_string_to_integer_atoi.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `my_atoi` [INFO] [stdout] --> src/solution/s0008_string_to_integer_atoi.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn my_atoi(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `my_atoi_v2` [INFO] [stdout] --> src/solution/s0008_string_to_integer_atoi.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn my_atoi_v2(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0009_palindrome_number.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: `is_palindrome` [INFO] [stdout] --> src/solution/s0009_palindrome_number.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_palindrome(x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Literal(char), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `does_match` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn does_match(&self, ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZeroOrMore` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | ZeroOrMore(CharMatcher), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Char` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Char(CharMatcher), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_match_zero_chars` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn can_match_zero_chars(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_pattern` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn parse_pattern(p: &str) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_match` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn is_match(s: String, p: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_match_v2` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn is_match_v2(s: String, p: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_match_slice` [INFO] [stdout] --> src/solution/s0010_regular_expression_matching.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn is_match_slice(s: &[u8], p: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0011_container_with_most_water.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: `max_area` [INFO] [stdout] --> src/solution/s0011_container_with_most_water.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn max_area(height: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0012_integer_to_roman.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: `int_to_roman` [INFO] [stdout] --> src/solution/s0012_integer_to_roman.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn int_to_roman(num: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `int_to_roman_v2` [INFO] [stdout] --> src/solution/s0012_integer_to_roman.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn int_to_roman_v2(num: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `int_to_roman_v3` [INFO] [stdout] --> src/solution/s0012_integer_to_roman.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn int_to_roman_v3(num: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0013_roman_to_integer.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `roman_to_int` [INFO] [stdout] --> src/solution/s0013_roman_to_integer.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | 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/solution/s0014_longest_common_prefix.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: `longest_common_prefix` [INFO] [stdout] --> src/solution/s0014_longest_common_prefix.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn longest_common_prefix(strs: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_common_prefix_v2` [INFO] [stdout] --> src/solution/s0014_longest_common_prefix.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn longest_common_prefix_v2(strs: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_common_prefix_v3` [INFO] [stdout] --> src/solution/s0014_longest_common_prefix.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn longest_common_prefix_v3(strs: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0015_3sum.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `three_sum` [INFO] [stdout] --> src/solution/s0015_3sum.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn three_sum(nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0016_3sum_closest.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: `three_sum_closest` [INFO] [stdout] --> src/solution/s0016_3sum_closest.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn three_sum_closest(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0017_letter_combinations_of_a_phone_number.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIGIT_TO_CHAR` [INFO] [stdout] --> src/solution/s0017_letter_combinations_of_a_phone_number.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / const DIGIT_TO_CHAR: [&'static str; 10] = [ [INFO] [stdout] 39 | | "", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz", [INFO] [stdout] 40 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `letter_combinations` [INFO] [stdout] --> src/solution/s0017_letter_combinations_of_a_phone_number.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn letter_combinations(digits: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0018_4sum.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `four_sum` [INFO] [stdout] --> src/solution/s0018_4sum.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn four_sum(nums: Vec, target: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `four_sum_v2` [INFO] [stdout] --> src/solution/s0018_4sum.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn four_sum_v2(nums: Vec, target: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0019_remove_nth_node_from_end_of_list.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_nth_from_end` [INFO] [stdout] --> src/solution/s0019_remove_nth_node_from_end_of_list.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn remove_nth_from_end(head: Option>, n: i32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0020_valid_parentheses.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/solution/s0020_valid_parentheses.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn is_valid(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0021_merge_two_sorted_lists.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: `merge_two_lists` [INFO] [stdout] --> src/solution/s0021_merge_two_sorted_lists.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn merge_two_lists( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_two_lists_v2` [INFO] [stdout] --> src/solution/s0021_merge_two_sorted_lists.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn merge_two_lists_v2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_two_lists_recursive` [INFO] [stdout] --> src/solution/s0021_merge_two_sorted_lists.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn merge_two_lists_recursive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0022_generate_parentheses.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_parenthesis` [INFO] [stdout] --> src/solution/s0022_generate_parentheses.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn generate_parenthesis(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_parenthesis_recursive` [INFO] [stdout] --> src/solution/s0022_generate_parentheses.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn generate_parenthesis_recursive(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_parenthesis_v2` [INFO] [stdout] --> src/solution/s0022_generate_parentheses.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn generate_parenthesis_v2(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perm` [INFO] [stdout] --> src/solution/s0022_generate_parentheses.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | fn perm(positions: &mut Vec, p: usize, iteration: usize) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0023_merge_k_sorted_lists.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: `merge_k_lists` [INFO] [stdout] --> src/solution/s0023_merge_k_sorted_lists.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0024_swap_nodes_in_pairs.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: `swap_pairs` [INFO] [stdout] --> src/solution/s0024_swap_nodes_in_pairs.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn swap_pairs(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `swap_pairs_recursive` [INFO] [stdout] --> src/solution/s0024_swap_nodes_in_pairs.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn swap_pairs_recursive(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `swap_pairs_v2` [INFO] [stdout] --> src/solution/s0024_swap_nodes_in_pairs.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn swap_pairs_v2(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0025_reverse_nodes_in_k_group.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: `reverse_k_group` [INFO] [stdout] --> src/solution/s0025_reverse_nodes_in_k_group.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn reverse_k_group(head: Option>, k: i32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/solution/s0025_reverse_nodes_in_k_group.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn reverse(head: Option>, tail: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0026_remove_duplicates_from_sorted_array.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_duplicates` [INFO] [stdout] --> src/solution/s0026_remove_duplicates_from_sorted_array.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn remove_duplicates(nums: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0027_remove_element.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: `remove_element` [INFO] [stdout] --> src/solution/s0027_remove_element.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn remove_element(nums: &mut Vec, val: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_element_v2` [INFO] [stdout] --> src/solution/s0027_remove_element.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove_element_v2(nums: &mut Vec, val: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0028_implement_strstr.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: `str_str` [INFO] [stdout] --> src/solution/s0028_implement_strstr.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn str_str(haystack: String, needle: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0029_divide_two_integers.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: `divide` [INFO] [stdout] --> src/solution/s0029_divide_two_integers.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn divide(dividend: i32, divisor: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0030_substring_with_concatenation_of_all_words.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: `find_substring` [INFO] [stdout] --> src/solution/s0030_substring_with_concatenation_of_all_words.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn find_substring(s: String, words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_permutation` [INFO] [stdout] --> src/solution/s0030_substring_with_concatenation_of_all_words.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn is_permutation(slice: &str, map: &HashMap<&str, i32>, words: &[String]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0031_next_permutation.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: `next_permutation` [INFO] [stdout] --> src/solution/s0031_next_permutation.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn next_permutation(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_permutation_v2` [INFO] [stdout] --> src/solution/s0031_next_permutation.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn next_permutation_v2(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0032_longest_valid_parentheses.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: `longest_valid_parentheses` [INFO] [stdout] --> src/solution/s0032_longest_valid_parentheses.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn longest_valid_parentheses(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0033_search_in_rotated_sorted_array.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: `search` [INFO] [stdout] --> src/solution/s0033_search_in_rotated_sorted_array.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn search(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0034_find_first_and_last_position_of_element_in_sorted_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: `search_range` [INFO] [stdout] --> src/solution/s0034_find_first_and_last_position_of_element_in_sorted_array.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn search_range(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0035_search_insert_position.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: `search_insert` [INFO] [stdout] --> src/solution/s0035_search_insert_position.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn search_insert(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0036_valid_sudoku.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: `is_valid_sudoku` [INFO] [stdout] --> src/solution/s0036_valid_sudoku.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn is_valid_sudoku(board: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0037_sudoku_solver.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: `solve_sudoku` [INFO] [stdout] --> src/solution/s0037_sudoku_solver.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn solve_sudoku(board: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve_backtrack` [INFO] [stdout] --> src/solution/s0037_sudoku_solver.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn solve_backtrack(grid: &mut [&mut [char]], cell: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_grid_valid` [INFO] [stdout] --> src/solution/s0037_sudoku_solver.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn is_grid_valid(grid: &mut [&mut [char]], y: usize, x: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uniq` [INFO] [stdout] --> src/solution/s0037_sudoku_solver.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn uniq(chs: impl Iterator, ch: char) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0038_count_and_say.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: `count_and_say` [INFO] [stdout] --> src/solution/s0038_count_and_say.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn count_and_say(n: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0039_combination_sum.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: `combination_sum` [INFO] [stdout] --> src/solution/s0039_combination_sum.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn combination_sum(candidates: Vec, target: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs` [INFO] [stdout] --> src/solution/s0039_combination_sum.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn dfs( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0040_combination_sum_ii.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: `combination_sum2` [INFO] [stdout] --> src/solution/s0040_combination_sum_ii.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn combination_sum2(candidates: Vec, target: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs` [INFO] [stdout] --> src/solution/s0040_combination_sum_ii.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn dfs( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0041_first_missing_positive.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_missing_positive` [INFO] [stdout] --> src/solution/s0041_first_missing_positive.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn first_missing_positive(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_missing_positive_v2` [INFO] [stdout] --> src/solution/s0041_first_missing_positive.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn first_missing_positive_v2(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0042_trapping_rain_water.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trap` [INFO] [stdout] --> src/solution/s0042_trapping_rain_water.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn trap(height: Vec) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0043_multiply_strings.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/solution/s0043_multiply_strings.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn multiply(num1: String, num2: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0044_wildcard_matching.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_match` [INFO] [stdout] --> src/solution/s0044_wildcard_matching.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn is_match(s: String, p: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0045_jump_game_ii.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: `jump` [INFO] [stdout] --> src/solution/s0045_jump_game_ii.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn jump(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0046_permutations.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `permute` [INFO] [stdout] --> src/solution/s0046_permutations.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn permute(nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0047_permutations_ii.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: `permute_unique` [INFO] [stdout] --> src/solution/s0047_permutations_ii.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn permute_unique(nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0048_rotate_image.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: `rotate` [INFO] [stdout] --> src/solution/s0048_rotate_image.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn rotate(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0049_group_anagrams.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `group_anagrams` [INFO] [stdout] --> src/solution/s0049_group_anagrams.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn group_anagrams(strs: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0050_powx_n.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: `my_pow` [INFO] [stdout] --> src/solution/s0050_powx_n.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn my_pow(x: f64, n: i32) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0051_n_queens.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve_n_queens` [INFO] [stdout] --> src/solution/s0051_n_queens.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn solve_n_queens(n: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `queen_helper` [INFO] [stdout] --> src/solution/s0051_n_queens.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | fn queen_helper( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_position` [INFO] [stdout] --> src/solution/s0051_n_queens.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | fn is_valid_position(row: usize, col: usize, candidate: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0052_n_queens_ii.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `QueenPositions` [INFO] [stdout] --> src/solution/s0052_n_queens_ii.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | type QueenPositions = Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `total_n_queens` [INFO] [stdout] --> src/solution/s0052_n_queens_ii.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn total_n_queens(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_queen_configs` [INFO] [stdout] --> src/solution/s0052_n_queens_ii.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn count_queen_configs(queens: &mut QueenPositions, row: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invalid_pos` [INFO] [stdout] --> src/solution/s0052_n_queens_ii.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn is_invalid_pos(queens: &QueenPositions, row: i16, col: i16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0053_maximum_subarray.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: `max_sub_array` [INFO] [stdout] --> src/solution/s0053_maximum_subarray.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn max_sub_array(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0054_spiral_matrix.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spiral_order` [INFO] [stdout] --> src/solution/s0054_spiral_matrix.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn spiral_order(matrix: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0055_jump_game.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_jump` [INFO] [stdout] --> src/solution/s0055_jump_game.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn can_jump(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0056_merge_intervals.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: `merge` [INFO] [stdout] --> src/solution/s0056_merge_intervals.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn merge(intervals: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0057_insert_interval.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/solution/s0057_insert_interval.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn insert(intervals: Vec>, new_interval: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0058_length_of_last_word.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: `length_of_last_word` [INFO] [stdout] --> src/solution/s0058_length_of_last_word.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn length_of_last_word(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0059_spiral_matrix_ii.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_matrix` [INFO] [stdout] --> src/solution/s0059_spiral_matrix_ii.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn generate_matrix(n: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0060_permutation_sequence.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_permutation` [INFO] [stdout] --> src/solution/s0060_permutation_sequence.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_permutation(n: i32, k: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FACTORIAL` [INFO] [stdout] --> src/solution/s0060_permutation_sequence.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | const FACTORIAL: [i32; 10] = [1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0061_rotate_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_right` [INFO] [stdout] --> src/solution/s0061_rotate_list.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn rotate_right(head: Option>, k: i32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0062_unique_paths.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: `unique_paths` [INFO] [stdout] --> src/solution/s0062_unique_paths.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn unique_paths(m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0063_unique_paths_ii.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_paths_with_obstacles` [INFO] [stdout] --> src/solution/s0063_unique_paths_ii.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn unique_paths_with_obstacles(obstacle_grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0064_minimum_path_sum.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: `min_path_sum` [INFO] [stdout] --> src/solution/s0064_minimum_path_sum.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn min_path_sum(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0065_valid_number.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: `is_number` [INFO] [stdout] --> src/solution/s0065_valid_number.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn is_number(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/solution/s0065_valid_number.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0066_plus_one.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus_one` [INFO] [stdout] --> src/solution/s0066_plus_one.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn plus_one(digits: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0067_add_binary.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: `add_binary` [INFO] [stdout] --> src/solution/s0067_add_binary.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn add_binary(a: String, b: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0068_text_justification.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full_justify` [INFO] [stdout] --> src/solution/s0068_text_justification.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn full_justify(words: Vec, max_width: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0069_sqrtx.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `my_sqrt` [INFO] [stdout] --> src/solution/s0069_sqrtx.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn my_sqrt(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0070_climbing_stairs.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: `climb_stairs` [INFO] [stdout] --> src/solution/s0070_climbing_stairs.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn climb_stairs(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0071_simplify_path.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: `simplify_path` [INFO] [stdout] --> src/solution/s0071_simplify_path.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn simplify_path(path: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0072_edit_distance.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_distance` [INFO] [stdout] --> src/solution/s0072_edit_distance.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn min_distance(word1: String, word2: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_distance_v2` [INFO] [stdout] --> src/solution/s0072_edit_distance.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn min_distance_v2(word1: String, word2: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0073_set_matrix_zeroes.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `M` [INFO] [stdout] --> src/solution/s0073_set_matrix_zeroes.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | const M: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `N` [INFO] [stdout] --> src/solution/s0073_set_matrix_zeroes.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | const N: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_zeroes` [INFO] [stdout] --> src/solution/s0073_set_matrix_zeroes.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn set_zeroes(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0074_search_a_2d_matrix.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: `search_matrix` [INFO] [stdout] --> src/solution/s0074_search_a_2d_matrix.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn search_matrix(matrix: Vec>, target: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0075_sort_colors.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `RED` [INFO] [stdout] --> src/solution/s0075_sort_colors.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | const RED: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `WHITE` [INFO] [stdout] --> src/solution/s0075_sort_colors.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | const WHITE: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `BLUE` [INFO] [stdout] --> src/solution/s0075_sort_colors.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | const BLUE: i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_colors` [INFO] [stdout] --> src/solution/s0075_sort_colors.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn sort_colors(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0076_minimum_window_substring.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_window` [INFO] [stdout] --> src/solution/s0076_minimum_window_substring.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn min_window(s: String, t: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0077_combinations.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `combine` [INFO] [stdout] --> src/solution/s0077_combinations.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn combine(n: i32, k: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0078_subsets.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subsets` [INFO] [stdout] --> src/solution/s0078_subsets.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn subsets(nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0079_word_search.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exist` [INFO] [stdout] --> src/solution/s0079_word_search.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn exist(board: Vec>, word: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0079_word_search.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn dfs_helper(board: &mut Vec>, word: &str, x: i64, y: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0080_remove_duplicates_from_sorted_array_ii.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: `remove_duplicates` [INFO] [stdout] --> src/solution/s0080_remove_duplicates_from_sorted_array_ii.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn remove_duplicates(nums: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0081_search_in_rotated_sorted_array_ii.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search` [INFO] [stdout] --> src/solution/s0081_search_in_rotated_sorted_array_ii.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn search(nums: Vec, target: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0082_remove_duplicates_from_sorted_list_ii.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_duplicates` [INFO] [stdout] --> src/solution/s0082_remove_duplicates_from_sorted_list_ii.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn delete_duplicates(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0083_remove_duplicates_from_sorted_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_duplicates` [INFO] [stdout] --> src/solution/s0083_remove_duplicates_from_sorted_list.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn delete_duplicates(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0084_largest_rectangle_in_histogram.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_rectangle_area` [INFO] [stdout] --> src/solution/s0084_largest_rectangle_in_histogram.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn largest_rectangle_area(heights: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0085_maximal_rectangle.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: `merge` [INFO] [stdout] --> src/solution/s0085_maximal_rectangle.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn merge(row1: &mut Vec, row2: &Vec, n: usize) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maximal_rectangle` [INFO] [stdout] --> src/solution/s0085_maximal_rectangle.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn maximal_rectangle(matrix: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0086_partition_list.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `partition` [INFO] [stdout] --> src/solution/s0086_partition_list.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn partition(head: Option>, x: i32) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0087_scramble_string.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_scramble` [INFO] [stdout] --> src/solution/s0087_scramble_string.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn is_scramble(s1: String, s2: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0087_scramble_string.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn helper<'a>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0088_merge_sorted_array.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge` [INFO] [stdout] --> src/solution/s0088_merge_sorted_array.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn merge(nums1: &mut Vec, m: i32, nums2: &mut Vec, n: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0089_gray_code.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: `gray_code` [INFO] [stdout] --> src/solution/s0089_gray_code.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn gray_code(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gray_code_v2` [INFO] [stdout] --> src/solution/s0089_gray_code.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn gray_code_v2(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0090_subsets_ii.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: `subsets_with_dup` [INFO] [stdout] --> src/solution/s0090_subsets_ii.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn subsets_with_dup(nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0091_decode_ways.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: `num_decodings` [INFO] [stdout] --> src/solution/s0091_decode_ways.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn num_decodings(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_decodings_v2` [INFO] [stdout] --> src/solution/s0091_decode_ways.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn num_decodings_v2(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0092_reverse_linked_list_ii.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: `reverse_between` [INFO] [stdout] --> src/solution/s0092_reverse_linked_list_ii.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn reverse_between( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/solution/s0092_reverse_linked_list_ii.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn reverse( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/solution/s0092_reverse_linked_list_ii.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn append( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0093_restore_ip_addresses.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: `restore_ip_addresses` [INFO] [stdout] --> src/solution/s0093_restore_ip_addresses.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn restore_ip_addresses(s: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/solution/s0093_restore_ip_addresses.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn helper(digits: &[u32], k: usize) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0094_binary_tree_inorder_traversal.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorder_traversal` [INFO] [stdout] --> src/solution/s0094_binary_tree_inorder_traversal.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn inorder_traversal(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorder_traversal_v2` [INFO] [stdout] --> src/solution/s0094_binary_tree_inorder_traversal.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn inorder_traversal_v2(mut root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/solution/s0094_binary_tree_inorder_traversal.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn helper(r: &mut Option>>, order: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0095_unique_binary_search_trees_ii.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_trees` [INFO] [stdout] --> src/solution/s0095_unique_binary_search_trees_ii.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn generate_trees(n: i32) -> Vec>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/solution/s0095_unique_binary_search_trees_ii.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn helper(l: i32, r: i32) -> Vec>>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0096_unique_binary_search_trees.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_trees` [INFO] [stdout] --> src/solution/s0096_unique_binary_search_trees.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn num_trees(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0097_interleaving_string.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: `is_interleave` [INFO] [stdout] --> src/solution/s0097_interleaving_string.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn is_interleave(s1: String, s2: String, s3: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0098_validate_binary_search_tree.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: `is_valid_bst` [INFO] [stdout] --> src/solution/s0098_validate_binary_search_tree.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn is_valid_bst(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_valid_helper` [INFO] [stdout] --> src/solution/s0098_validate_binary_search_tree.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_valid_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0099_recover_binary_search_tree.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: `recover_tree` [INFO] [stdout] --> src/solution/s0099_recover_binary_search_tree.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn recover_tree(root: &mut Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0099_recover_binary_search_tree.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | fn helper( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0100_same_tree.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: `is_same_tree` [INFO] [stdout] --> src/solution/s0100_same_tree.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn is_same_tree( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0101_symmetric_tree.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_symmetric` [INFO] [stdout] --> src/solution/s0101_symmetric_tree.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn is_symmetric(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0101_symmetric_tree.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | fn helper( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0102_binary_tree_level_order_traversal.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: `level_order` [INFO] [stdout] --> src/solution/s0102_binary_tree_level_order_traversal.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn level_order(root: Option>>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0103_binary_tree_zigzag_level_order_traversal.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: `zigzag_level_order` [INFO] [stdout] --> src/solution/s0103_binary_tree_zigzag_level_order_traversal.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn zigzag_level_order(root: Option>>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0104_maximum_depth_of_binary_tree.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: `max_depth` [INFO] [stdout] --> src/solution/s0104_maximum_depth_of_binary_tree.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn max_depth(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0105_construct_binary_tree_from_preorder_and_inorder_traversal.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: `build_tree` [INFO] [stdout] --> src/solution/s0105_construct_binary_tree_from_preorder_and_inorder_traversal.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn build_tree(preorder: Vec, inorder: Vec) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0105_construct_binary_tree_from_preorder_and_inorder_traversal.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn helper(preorder: &[i32], inorder: &[i32]) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0106_construct_binary_tree_from_inorder_and_postorder_traversal.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: `build_tree` [INFO] [stdout] --> src/solution/s0106_construct_binary_tree_from_inorder_and_postorder_traversal.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn build_tree(inorder: Vec, postorder: Vec) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0106_construct_binary_tree_from_inorder_and_postorder_traversal.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn helper(inorder: &[i32], postorder: &[i32]) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0107_binary_tree_level_order_traversal_ii.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: `level_order_bottom` [INFO] [stdout] --> src/solution/s0107_binary_tree_level_order_traversal_ii.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn level_order_bottom(root: Option>>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0108_convert_sorted_array_to_binary_search_tree.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: `sorted_array_to_bst` [INFO] [stdout] --> src/solution/s0108_convert_sorted_array_to_binary_search_tree.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn sorted_array_to_bst(nums: Vec) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0109_convert_sorted_list_to_binary_search_tree.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sorted_list_to_bst` [INFO] [stdout] --> src/solution/s0109_convert_sorted_list_to_binary_search_tree.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn sorted_list_to_bst(head: Option>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/solution/s0109_convert_sorted_list_to_binary_search_tree.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn helper(ptr: &mut &Option>, len: usize) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0110_balanced_binary_tree.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_balanced` [INFO] [stdout] --> src/solution/s0110_balanced_binary_tree.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn is_balanced(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0110_balanced_binary_tree.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn helper(root: Option>>) -> (bool, i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0111_minimum_depth_of_binary_tree.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_depth` [INFO] [stdout] --> src/solution/s0111_minimum_depth_of_binary_tree.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn min_depth(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0112_path_sum.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: `has_path_sum` [INFO] [stdout] --> src/solution/s0112_path_sum.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn has_path_sum(root: Option>>, target_sum: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0113_path_sum_ii.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: `path_sum` [INFO] [stdout] --> src/solution/s0113_path_sum_ii.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn path_sum(root: Option>>, target_sum: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0113_path_sum_ii.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | fn helper( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0114_flatten_binary_tree_to_linked_list.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: `flatten` [INFO] [stdout] --> src/solution/s0114_flatten_binary_tree_to_linked_list.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn flatten(root: &mut Option>>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0114_flatten_binary_tree_to_linked_list.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | fn helper(root: Rc>) -> Rc> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0115_distinct_subsequences.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: `num_distinct` [INFO] [stdout] --> src/solution/s0115_distinct_subsequences.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn num_distinct(s: String, t: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0115_distinct_subsequences.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | fn helper<'a>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_distinct_v2` [INFO] [stdout] --> src/solution/s0115_distinct_subsequences.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn num_distinct_v2(s: String, t: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0118_pascals_triangle.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` [INFO] [stdout] --> src/solution/s0118_pascals_triangle.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn generate(num_rows: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0119_pascals_triangle_ii.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: `get_row` [INFO] [stdout] --> src/solution/s0119_pascals_triangle_ii.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_row(row_index: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0120_triangle.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: `minimum_total` [INFO] [stdout] --> src/solution/s0120_triangle.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn minimum_total(triangle: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0121_best_time_to_buy_and_sell_stock.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: `max_profit` [INFO] [stdout] --> src/solution/s0121_best_time_to_buy_and_sell_stock.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0122_best_time_to_buy_and_sell_stock_ii.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_profit` [INFO] [stdout] --> src/solution/s0122_best_time_to_buy_and_sell_stock_ii.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0123_best_time_to_buy_and_sell_stock_iii.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_profit` [INFO] [stdout] --> src/solution/s0123_best_time_to_buy_and_sell_stock_iii.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0124_binary_tree_maximum_path_sum.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: `max_path_sum` [INFO] [stdout] --> src/solution/s0124_binary_tree_maximum_path_sum.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn max_path_sum(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0124_binary_tree_maximum_path_sum.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | fn helper(root: &Option>>, max_in_the_tree: &mut i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0125_valid_palindrome.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_palindrome` [INFO] [stdout] --> src/solution/s0125_valid_palindrome.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_palindrome(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0126_word_ladder_ii.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: `find_ladders` [INFO] [stdout] --> src/solution/s0126_word_ladder_ii.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_ladders( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recursive_result` [INFO] [stdout] --> src/solution/s0126_word_ladder_ii.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn recursive_result( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0127_word_ladder.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: `ladder_length` [INFO] [stdout] --> src/solution/s0127_word_ladder.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn ladder_length(begin_word: String, end_word: String, word_list: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0128_longest_consecutive_sequence.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: `longest_consecutive` [INFO] [stdout] --> src/solution/s0128_longest_consecutive_sequence.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn longest_consecutive(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0129_sum_root_to_leaf_numbers.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_numbers` [INFO] [stdout] --> src/solution/s0129_sum_root_to_leaf_numbers.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn sum_numbers(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0129_sum_root_to_leaf_numbers.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | fn helper(node: Option>>, sum: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0130_surrounded_regions.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: `solve` [INFO] [stdout] --> src/solution/s0130_surrounded_regions.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn solve(board: &mut Vec>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/solution/s0130_surrounded_regions.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn helper(board: &mut Vec>, i: usize, j: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0131_palindrome_partitioning.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: `partition` [INFO] [stdout] --> src/solution/s0131_palindrome_partitioning.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn partition(s: String) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/solution/s0131_palindrome_partitioning.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn helper(s: &Vec, cans: &mut Vec, res: &mut Vec>, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_palindrome` [INFO] [stdout] --> src/solution/s0131_palindrome_partitioning.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn is_palindrome(s: &Vec, start: usize, end: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0132_palindrome_partitioning_ii.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: `min_cut` [INFO] [stdout] --> src/solution/s0132_palindrome_partitioning_ii.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn min_cut(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0134_gas_station.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: `can_complete_circuit` [INFO] [stdout] --> src/solution/s0134_gas_station.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn can_complete_circuit(gas: Vec, cost: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0135_candy.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: `candy` [INFO] [stdout] --> src/solution/s0135_candy.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn candy(ratings: Vec) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `candy_v2` [INFO] [stdout] --> src/solution/s0135_candy.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn candy_v2(ratings: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0136_single_number.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_number` [INFO] [stdout] --> src/solution/s0136_single_number.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0137_single_number_ii.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_number` [INFO] [stdout] --> src/solution/s0137_single_number_ii.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_number_v2` [INFO] [stdout] --> src/solution/s0137_single_number_ii.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn single_number_v2(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0139_word_break.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: `word_break` [INFO] [stdout] --> src/solution/s0139_word_break.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn word_break(s: String, word_dict: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0140_word_break_ii.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: `word_break` [INFO] [stdout] --> src/solution/s0140_word_break_ii.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn word_break(s: String, word_dict: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0140_word_break_ii.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn helper(ss: &[u8], dict: &[String]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0143_reorder_list.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reorder_list` [INFO] [stdout] --> src/solution/s0143_reorder_list.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn reorder_list(head: &mut Option>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/solution/s0143_reorder_list.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn length(mut head: &Option>) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/solution/s0143_reorder_list.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn reverse( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge` [INFO] [stdout] --> src/solution/s0143_reorder_list.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn merge( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0144_binary_tree_preorder_traversal.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: `preorder_traversal` [INFO] [stdout] --> src/solution/s0144_binary_tree_preorder_traversal.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn preorder_traversal(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0145_binary_tree_postorder_traversal.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: `postorder_traversal` [INFO] [stdout] --> src/solution/s0145_binary_tree_postorder_traversal.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn postorder_traversal(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0146_lru_cache.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LRUCache` [INFO] [stdout] --> src/solution/s0146_lru_cache.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct LRUCache { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0146_lru_cache.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn new(capacity: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/solution/s0146_lru_cache.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | 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/solution/s0146_lru_cache.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | 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/solution/s0147_insertion_sort_list.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insertion_sort_list` [INFO] [stdout] --> src/solution/s0147_insertion_sort_list.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn insertion_sort_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0148_sort_list.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: `sort_list` [INFO] [stdout] --> src/solution/s0148_sort_list.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn sort_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0148_sort_list.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | fn helper( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0149_max_points_on_a_line.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_points` [INFO] [stdout] --> src/solution/s0149_max_points_on_a_line.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn max_points(points: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_points_on_a_line_containing_point_i` [INFO] [stdout] --> src/solution/s0149_max_points_on_a_line.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | fn max_points_on_a_line_containing_point_i( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gcd` [INFO] [stdout] --> src/solution/s0149_max_points_on_a_line.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn gcd(u: i32, v: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0150_evaluate_reverse_polish_notation.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: `eval_rpn` [INFO] [stdout] --> src/solution/s0150_evaluate_reverse_polish_notation.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn eval_rpn(tokens: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval_rpn_v2` [INFO] [stdout] --> src/solution/s0150_evaluate_reverse_polish_notation.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn eval_rpn_v2(tokens: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0151_reverse_words_in_a_string.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_words` [INFO] [stdout] --> src/solution/s0151_reverse_words_in_a_string.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn reverse_words(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0152_maximum_product_subarray.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: `max_product` [INFO] [stdout] --> src/solution/s0152_maximum_product_subarray.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn max_product(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0153_find_minimum_in_rotated_sorted_array.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: `find_min` [INFO] [stdout] --> src/solution/s0153_find_minimum_in_rotated_sorted_array.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_min(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0154_find_minimum_in_rotated_sorted_array_ii.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_min` [INFO] [stdout] --> src/solution/s0154_find_minimum_in_rotated_sorted_array_ii.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn find_min(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0155_min_stack.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MinStack` [INFO] [stdout] --> src/solution/s0155_min_stack.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct MinStack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0155_min_stack.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/solution/s0155_min_stack.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn push(&mut self, val: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/solution/s0155_min_stack.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top` [INFO] [stdout] --> src/solution/s0155_min_stack.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn top(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_min` [INFO] [stdout] --> src/solution/s0155_min_stack.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_min(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0162_find_peak_element.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: `find_peak_element` [INFO] [stdout] --> src/solution/s0162_find_peak_element.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn find_peak_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0164_maximum_gap.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: `maximum_gap` [INFO] [stdout] --> src/solution/s0164_maximum_gap.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn maximum_gap(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0165_compare_version_numbers.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: `compare_version` [INFO] [stdout] --> src/solution/s0165_compare_version_numbers.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn compare_version(version1: String, version2: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0166_fraction_to_recurring_decimal.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fraction_to_decimal` [INFO] [stdout] --> src/solution/s0166_fraction_to_recurring_decimal.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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/solution/s0167_two_sum_ii_input_array_is_sorted.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: `two_sum` [INFO] [stdout] --> src/solution/s0167_two_sum_ii_input_array_is_sorted.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn two_sum(numbers: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0168_excel_sheet_column_title.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_to_title` [INFO] [stdout] --> src/solution/s0168_excel_sheet_column_title.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn convert_to_title(column_number: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0169_majority_element.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `majority_element` [INFO] [stdout] --> src/solution/s0169_majority_element.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0171_excel_sheet_column_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: `title_to_number` [INFO] [stdout] --> src/solution/s0171_excel_sheet_column_number.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn title_to_number(column_title: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0172_factorial_trailing_zeroes.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: `trailing_zeroes` [INFO] [stdout] --> src/solution/s0172_factorial_trailing_zeroes.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn trailing_zeroes(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0173_binary_search_tree_iterator.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BSTIterator` [INFO] [stdout] --> src/solution/s0173_binary_search_tree_iterator.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct BSTIterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `go_left` [INFO] [stdout] --> src/solution/s0173_binary_search_tree_iterator.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn go_left(stack: &mut Vec>>, mut node: Option>>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0173_binary_search_tree_iterator.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn new(root: Option>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/solution/s0173_binary_search_tree_iterator.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn next(&mut self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_next` [INFO] [stdout] --> src/solution/s0173_binary_search_tree_iterator.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn has_next(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0174_dungeon_game.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_minimum_hp` [INFO] [stdout] --> src/solution/s0174_dungeon_game.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn calculate_minimum_hp(dungeon: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0179_largest_number.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: `largest_number` [INFO] [stdout] --> src/solution/s0179_largest_number.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn largest_number(nums: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0187_repeated_dna_sequences.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_repeated_dna_sequences` [INFO] [stdout] --> src/solution/s0187_repeated_dna_sequences.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn find_repeated_dna_sequences(s: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0188_best_time_to_buy_and_sell_stock_iv.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: `max_profit` [INFO] [stdout] --> src/solution/s0188_best_time_to_buy_and_sell_stock_iv.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn max_profit(k: i32, prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0189_rotate_array.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: `rotate` [INFO] [stdout] --> src/solution/s0189_rotate_array.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn rotate(nums: &mut Vec, k: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0190_reverse_bits.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_bits` [INFO] [stdout] --> src/solution/s0190_reverse_bits.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn reverse_bits(x: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0191_number_of_1_bits.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: `hamming_weight` [INFO] [stdout] --> src/solution/s0191_number_of_1_bits.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn hamming_weight(n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0198_house_robber.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: `rob` [INFO] [stdout] --> src/solution/s0198_house_robber.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn rob(nums: Vec) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0199_binary_tree_right_side_view.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: `right_side_view` [INFO] [stdout] --> src/solution/s0199_binary_tree_right_side_view.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn right_side_view(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0200_number_of_islands.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: `num_islands` [INFO] [stdout] --> src/solution/s0200_number_of_islands.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn num_islands(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0200_number_of_islands.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn helper(grid: &mut Vec>, i: usize, j: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0201_bitwise_and_of_numbers_range.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: `range_bitwise_and` [INFO] [stdout] --> src/solution/s0201_bitwise_and_of_numbers_range.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn range_bitwise_and(left: i32, right: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0202_happy_number.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: `is_happy` [INFO] [stdout] --> src/solution/s0202_happy_number.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_happy(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0203_remove_linked_list_elements.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: `remove_elements` [INFO] [stdout] --> src/solution/s0203_remove_linked_list_elements.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn remove_elements(head: Option>, val: i32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0204_count_primes.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: `count_primes` [INFO] [stdout] --> src/solution/s0204_count_primes.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn count_primes(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0205_isomorphic_strings.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_isomorphic` [INFO] [stdout] --> src/solution/s0205_isomorphic_strings.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_isomorphic(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0206_reverse_linked_list.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_list` [INFO] [stdout] --> src/solution/s0206_reverse_linked_list.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn reverse_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0207_course_schedule.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: `can_finish` [INFO] [stdout] --> src/solution/s0207_course_schedule.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn can_finish(num_courses: i32, prerequisites: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0208_implement_trie_prefix_tree.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_word` [INFO] [stdout] --> src/solution/s0208_implement_trie_prefix_tree.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | is_word: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/solution/s0208_implement_trie_prefix_tree.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | children: [Option>; 26], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0208_implement_trie_prefix_tree.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/solution/s0208_implement_trie_prefix_tree.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn insert(&mut self, word: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search` [INFO] [stdout] --> src/solution/s0208_implement_trie_prefix_tree.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn search(&self, word: String) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `starts_with` [INFO] [stdout] --> src/solution/s0208_implement_trie_prefix_tree.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn starts_with(&self, prefix: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0209_minimum_size_subarray_sum.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_sub_array_len` [INFO] [stdout] --> src/solution/s0209_minimum_size_subarray_sum.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn min_sub_array_len(target: i32, nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0210_course_schedule_ii.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_order` [INFO] [stdout] --> src/solution/s0210_course_schedule_ii.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_order(num_courses: i32, prerequisites: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0211_design_add_and_search_words_data_structure.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/solution/s0211_design_add_and_search_words_data_structure.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | children: [Option>; 26], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/solution/s0211_design_add_and_search_words_data_structure.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | end: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trie` [INFO] [stdout] --> src/solution/s0211_design_add_and_search_words_data_structure.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | trie: Trie, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0211_design_add_and_search_words_data_structure.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_word` [INFO] [stdout] --> src/solution/s0211_design_add_and_search_words_data_structure.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn add_word(&mut self, word: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search` [INFO] [stdout] --> src/solution/s0211_design_add_and_search_words_data_structure.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn search(&self, word: String) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_trie` [INFO] [stdout] --> src/solution/s0211_design_add_and_search_words_data_structure.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn search_trie(trie: &Trie, word: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0212_word_search_ii.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/solution/s0212_word_search_ii.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | children: [Option>; 26], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `word` [INFO] [stdout] --> src/solution/s0212_word_search_ii.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | word: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_words` [INFO] [stdout] --> src/solution/s0212_word_search_ii.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn find_words(board: Vec>, words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0212_word_search_ii.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn dfs_helper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0213_house_robber_ii.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rob` [INFO] [stdout] --> src/solution/s0213_house_robber_ii.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn rob(nums: Vec) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/solution/s0213_house_robber_ii.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn helper(nums: &Vec, l: usize, r: usize) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0214_shortest_palindrome.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: `shortest_palindrome` [INFO] [stdout] --> src/solution/s0214_shortest_palindrome.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn shortest_palindrome(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0215_kth_largest_element_in_an_array.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: `find_kth_largest` [INFO] [stdout] --> src/solution/s0215_kth_largest_element_in_an_array.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn find_kth_largest(nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0216_combination_sum_iii.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: `combination_sum3` [INFO] [stdout] --> src/solution/s0216_combination_sum_iii.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn combination_sum3(k: i32, n: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0216_combination_sum_iii.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn dfs_helper(k: i32, n: i32, start: i32, comb: &mut Vec, res: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0217_contains_duplicate.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_duplicate` [INFO] [stdout] --> src/solution/s0217_contains_duplicate.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0218_the_skyline_problem.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: `get_skyline` [INFO] [stdout] --> src/solution/s0218_the_skyline_problem.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_skyline(buildings: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0219_contains_duplicate_ii.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: `contains_nearby_duplicate` [INFO] [stdout] --> src/solution/s0219_contains_duplicate_ii.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn contains_nearby_duplicate(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0220_contains_duplicate_iii.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_nearby_almost_duplicate` [INFO] [stdout] --> src/solution/s0220_contains_duplicate_iii.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn contains_nearby_almost_duplicate(nums: Vec, k: i32, t: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0221_maximal_square.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: `maximal_square` [INFO] [stdout] --> src/solution/s0221_maximal_square.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn maximal_square(matrix: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0222_count_complete_tree_nodes.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_nodes` [INFO] [stdout] --> src/solution/s0222_count_complete_tree_nodes.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn count_nodes(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0222_count_complete_tree_nodes.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | fn helper(n: Option>>, c: &mut i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0223_rectangle_area.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compute_area` [INFO] [stdout] --> src/solution/s0223_rectangle_area.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn compute_area( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0224_basic_calculator.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: `calculate` [INFO] [stdout] --> src/solution/s0224_basic_calculator.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn calculate(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0225_implement_stack_using_queues.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyStack` [INFO] [stdout] --> src/solution/s0225_implement_stack_using_queues.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct MyStack { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0225_implement_stack_using_queues.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/solution/s0225_implement_stack_using_queues.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn push(&mut self, x: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/solution/s0225_implement_stack_using_queues.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn pop(&mut self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top` [INFO] [stdout] --> src/solution/s0225_implement_stack_using_queues.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn top(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/solution/s0225_implement_stack_using_queues.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0226_invert_binary_tree.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: `invert_tree` [INFO] [stdout] --> src/solution/s0226_invert_binary_tree.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn invert_tree(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0227_basic_calculator_ii.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: `calculate` [INFO] [stdout] --> src/solution/s0227_basic_calculator_ii.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn calculate(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0228_summary_ranges.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: `summary_ranges` [INFO] [stdout] --> src/solution/s0228_summary_ranges.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn summary_ranges(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0229_majority_element_ii.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: `majority_element` [INFO] [stdout] --> src/solution/s0229_majority_element_ii.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn majority_element(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0230_kth_smallest_element_in_a_bst.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: `kth_smallest` [INFO] [stdout] --> src/solution/s0230_kth_smallest_element_in_a_bst.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn kth_smallest(root: Option>>, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0230_kth_smallest_element_in_a_bst.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | fn dfs_helper(node: &Option>>, nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0231_power_of_two.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: `is_power_of_two` [INFO] [stdout] --> src/solution/s0231_power_of_two.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn is_power_of_two(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0232_implement_queue_using_stacks.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyQueue` [INFO] [stdout] --> src/solution/s0232_implement_queue_using_stacks.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct MyQueue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0232_implement_queue_using_stacks.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/solution/s0232_implement_queue_using_stacks.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn push(&mut self, x: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/solution/s0232_implement_queue_using_stacks.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn pop(&mut self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/solution/s0232_implement_queue_using_stacks.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn peek(&mut self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/solution/s0232_implement_queue_using_stacks.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0233_number_of_digit_one.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_digit_one` [INFO] [stdout] --> src/solution/s0233_number_of_digit_one.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn count_digit_one(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0234_palindrome_linked_list.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_palindrome` [INFO] [stdout] --> src/solution/s0234_palindrome_linked_list.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn is_palindrome(head: Option>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0235_lowest_common_ancestor_of_a_binary_search_tree.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: `lowest_common_ancestor` [INFO] [stdout] --> src/solution/s0235_lowest_common_ancestor_of_a_binary_search_tree.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lowest_common_ancestor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0236_lowest_common_ancestor_of_a_binary_tree.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: `lowest_common_ancestor` [INFO] [stdout] --> src/solution/s0236_lowest_common_ancestor_of_a_binary_tree.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn lowest_common_ancestor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `helper` [INFO] [stdout] --> src/solution/s0236_lowest_common_ancestor_of_a_binary_tree.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn helper(root: Rc>, v1: i32, v2: i32) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0238_product_of_array_except_self.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `product_except_self` [INFO] [stdout] --> src/solution/s0238_product_of_array_except_self.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn product_except_self(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0239_sliding_window_maximum.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_sliding_window` [INFO] [stdout] --> src/solution/s0239_sliding_window_maximum.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn max_sliding_window(nums: Vec, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0240_search_a_2d_matrix_ii.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_matrix` [INFO] [stdout] --> src/solution/s0240_search_a_2d_matrix_ii.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn search_matrix(matrix: Vec>, target: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0241_different_ways_to_add_parentheses.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `diff_ways_to_compute` [INFO] [stdout] --> src/solution/s0241_different_ways_to_add_parentheses.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn diff_ways_to_compute(expression: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0242_valid_anagram.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_anagram` [INFO] [stdout] --> src/solution/s0242_valid_anagram.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn is_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0257_binary_tree_paths.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `binary_tree_paths` [INFO] [stdout] --> src/solution/s0257_binary_tree_paths.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn binary_tree_paths(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0257_binary_tree_paths.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn helper(root: Option>>, path: &str, paths: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0258_add_digits.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: `add_digits` [INFO] [stdout] --> src/solution/s0258_add_digits.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add_digits(num: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0260_single_number_iii.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_number` [INFO] [stdout] --> src/solution/s0260_single_number_iii.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn single_number(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0263_ugly_number.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: `is_ugly` [INFO] [stdout] --> src/solution/s0263_ugly_number.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn is_ugly(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0264_ugly_number_ii.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nth_ugly_number` [INFO] [stdout] --> src/solution/s0264_ugly_number_ii.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | 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/solution/s0268_missing_number.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: `missing_number` [INFO] [stdout] --> src/solution/s0268_missing_number.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn missing_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0273_integer_to_english_words.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_to_words` [INFO] [stdout] --> src/solution/s0273_integer_to_english_words.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn number_to_words(num: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/solution/s0273_integer_to_english_words.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn magnitude(name: &str, number: i32, magnitude: i32) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0274_h_index.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: `h_index` [INFO] [stdout] --> src/solution/s0274_h_index.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn h_index(citations: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0275_h_index_ii.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: `h_index` [INFO] [stdout] --> src/solution/s0275_h_index_ii.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn h_index(citations: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0278_first_bad_version.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: `first_bad_version` [INFO] [stdout] --> src/solution/s0278_first_bad_version.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn first_bad_version(&self, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0279_perfect_squares.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_squares` [INFO] [stdout] --> src/solution/s0279_perfect_squares.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn num_squares(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0282_expression_add_operators.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: `add_operators` [INFO] [stdout] --> src/solution/s0282_expression_add_operators.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add_operators(num: String, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `helper` [INFO] [stdout] --> src/solution/s0282_expression_add_operators.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | fn helper( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0283_move_zeroes.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_zeroes` [INFO] [stdout] --> src/solution/s0283_move_zeroes.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn move_zeroes(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0287_find_the_duplicate_number.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_duplicate` [INFO] [stdout] --> src/solution/s0287_find_the_duplicate_number.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn find_duplicate(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0289_game_of_life.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `game_of_life` [INFO] [stdout] --> src/solution/s0289_game_of_life.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn game_of_life(board: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0290_word_pattern.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: `word_pattern` [INFO] [stdout] --> src/solution/s0290_word_pattern.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn word_pattern(pattern: String, s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0292_nim_game.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_win_nim` [INFO] [stdout] --> src/solution/s0292_nim_game.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn can_win_nim(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0295_find_median_from_data_stream.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `small` [INFO] [stdout] --> src/solution/s0295_find_median_from_data_stream.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | small: std::collections::BinaryHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `large` [INFO] [stdout] --> src/solution/s0295_find_median_from_data_stream.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | large: std::collections::BinaryHeap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `odd` [INFO] [stdout] --> src/solution/s0295_find_median_from_data_stream.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | odd: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0295_find_median_from_data_stream.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_num` [INFO] [stdout] --> src/solution/s0295_find_median_from_data_stream.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_num(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_median` [INFO] [stdout] --> src/solution/s0295_find_median_from_data_stream.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn find_median(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0297_serialize_and_deserialize_binary_tree.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Codec` [INFO] [stdout] --> src/solution/s0297_serialize_and_deserialize_binary_tree.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Codec {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0297_serialize_and_deserialize_binary_tree.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serialize` [INFO] [stdout] --> src/solution/s0297_serialize_and_deserialize_binary_tree.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn serialize(&self, root: Option>>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `preorder_dfs` [INFO] [stdout] --> src/solution/s0297_serialize_and_deserialize_binary_tree.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn preorder_dfs(node: Option>>, res: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize` [INFO] [stdout] --> src/solution/s0297_serialize_and_deserialize_binary_tree.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn deserialize(&self, data: String) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_tree` [INFO] [stdout] --> src/solution/s0297_serialize_and_deserialize_binary_tree.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn build_tree(src: &[Option], cur: &mut usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0299_bulls_and_cows.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hint` [INFO] [stdout] --> src/solution/s0299_bulls_and_cows.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | 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/solution/s0300_longest_increasing_subsequence.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: `length_of_lis` [INFO] [stdout] --> src/solution/s0300_longest_increasing_subsequence.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn length_of_lis(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0301_remove_invalid_parentheses.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: `remove_invalid_parentheses` [INFO] [stdout] --> src/solution/s0301_remove_invalid_parentheses.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn remove_invalid_parentheses(s: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove` [INFO] [stdout] --> src/solution/s0301_remove_invalid_parentheses.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn remove(s: &[char], ans: &mut Vec, last_i: i32, last_j: i32, par: &[char]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0303_range_sum_query_immutable.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NumArray` [INFO] [stdout] --> src/solution/s0303_range_sum_query_immutable.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct NumArray(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0303_range_sum_query_immutable.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn new(nums: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_range` [INFO] [stdout] --> src/solution/s0303_range_sum_query_immutable.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn sum_range(&self, left: i32, right: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0304_range_sum_query_2d_immutable.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NumMatrix` [INFO] [stdout] --> src/solution/s0304_range_sum_query_2d_immutable.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct NumMatrix(Vec>); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0304_range_sum_query_2d_immutable.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn new(matrix: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_region` [INFO] [stdout] --> src/solution/s0304_range_sum_query_2d_immutable.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn sum_region(&self, row1: i32, col1: i32, row2: i32, col2: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0306_additive_number.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: `is_additive_number` [INFO] [stdout] --> src/solution/s0306_additive_number.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn is_additive_number(num: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0307_range_sum_query_mutable.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NumArray` [INFO] [stdout] --> src/solution/s0307_range_sum_query_mutable.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct NumArray(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0307_range_sum_query_mutable.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn new(nums: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/solution/s0307_range_sum_query_mutable.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn update(&mut self, index: i32, val: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_range` [INFO] [stdout] --> src/solution/s0307_range_sum_query_mutable.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn sum_range(&self, left: i32, right: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0309_best_time_to_buy_and_sell_stock_with_cooldown.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: `max_profit` [INFO] [stdout] --> src/solution/s0309_best_time_to_buy_and_sell_stock_with_cooldown.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0310_minimum_height_trees.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: `find_min_height_trees` [INFO] [stdout] --> src/solution/s0310_minimum_height_trees.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_min_height_trees(n: i32, edges: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0312_burst_balloons.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: `max_coins` [INFO] [stdout] --> src/solution/s0312_burst_balloons.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn max_coins(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0313_super_ugly_number.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: `nth_super_ugly_number` [INFO] [stdout] --> src/solution/s0313_super_ugly_number.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn nth_super_ugly_number(n: i32, primes: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0315_count_of_smaller_numbers_after_self.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: `count_smaller` [INFO] [stdout] --> src/solution/s0315_count_of_smaller_numbers_after_self.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn count_smaller(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0316_remove_duplicate_letters.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: `remove_duplicate_letters` [INFO] [stdout] --> src/solution/s0316_remove_duplicate_letters.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn remove_duplicate_letters(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_duplicate_letters_v2` [INFO] [stdout] --> src/solution/s0316_remove_duplicate_letters.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn remove_duplicate_letters_v2(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0318_maximum_product_of_word_lengths.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_product` [INFO] [stdout] --> src/solution/s0318_maximum_product_of_word_lengths.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn max_product(words: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0319_bulb_switcher.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: `bulb_switch` [INFO] [stdout] --> src/solution/s0319_bulb_switcher.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn bulb_switch(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0321_create_maximum_number.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: `max_number` [INFO] [stdout] --> src/solution/s0321_create_maximum_number.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn max_number(nums1: Vec, nums2: Vec, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_one` [INFO] [stdout] --> src/solution/s0321_create_maximum_number.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn max_one(nums: &[i32], k: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_merge` [INFO] [stdout] --> src/solution/s0321_create_maximum_number.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn max_merge(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `greater` [INFO] [stdout] --> src/solution/s0321_create_maximum_number.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn greater(nums1: &[i32], nums2: &[i32], mut i: usize, mut j: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0322_coin_change.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: `coin_change` [INFO] [stdout] --> src/solution/s0322_coin_change.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn coin_change(coins: Vec, amount: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0324_wiggle_sort_ii.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: `wiggle_sort` [INFO] [stdout] --> src/solution/s0324_wiggle_sort_ii.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn wiggle_sort(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_middle` [INFO] [stdout] --> src/solution/s0324_wiggle_sort_ii.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_middle(v: &mut [i32], l: usize, r: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `kth_smallest` [INFO] [stdout] --> src/solution/s0324_wiggle_sort_ii.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | fn kth_smallest(nums: &mut Vec, mut k: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0326_power_of_three.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: `is_power_of_three` [INFO] [stdout] --> src/solution/s0326_power_of_three.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_power_of_three(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0327_count_of_range_sum.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: `count_range_sum` [INFO] [stdout] --> src/solution/s0327_count_of_range_sum.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn count_range_sum(nums: Vec, lower: i32, upper: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_sub_range_sum` [INFO] [stdout] --> src/solution/s0327_count_of_range_sum.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn count_sub_range_sum( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0328_odd_even_linked_list.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: `odd_even_list` [INFO] [stdout] --> src/solution/s0328_odd_even_linked_list.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn odd_even_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0329_longest_increasing_path_in_a_matrix.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: `longest_increasing_path` [INFO] [stdout] --> src/solution/s0329_longest_increasing_path_in_a_matrix.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn longest_increasing_path(matrix: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0329_longest_increasing_path_in_a_matrix.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn dfs_helper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0330_patching_array.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: `min_patches` [INFO] [stdout] --> src/solution/s0330_patching_array.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn min_patches(nums: Vec, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0331_verify_preorder_serialization_of_a_binary_tree.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_serialization` [INFO] [stdout] --> src/solution/s0331_verify_preorder_serialization_of_a_binary_tree.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn is_valid_serialization(preorder: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0331_verify_preorder_serialization_of_a_binary_tree.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn dfs_helper(iter: &mut impl std::iter::Iterator) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0332_reconstruct_itinerary.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: `find_itinerary` [INFO] [stdout] --> src/solution/s0332_reconstruct_itinerary.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn find_itinerary(tickets: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0334_increasing_triplet_subsequence.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: `increasing_triplet` [INFO] [stdout] --> src/solution/s0334_increasing_triplet_subsequence.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn increasing_triplet(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0335_self_crossing.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: `is_self_crossing` [INFO] [stdout] --> src/solution/s0335_self_crossing.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn is_self_crossing(distance: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0336_palindrome_pairs.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `palindrome_pairs` [INFO] [stdout] --> src/solution/s0336_palindrome_pairs.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn palindrome_pairs(words: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0337_house_robber_iii.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: `rob` [INFO] [stdout] --> src/solution/s0337_house_robber_iii.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn rob(root: Option>>) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0337_house_robber_iii.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn dfs_helper(root: &Option>>) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0338_counting_bits.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_bits` [INFO] [stdout] --> src/solution/s0338_counting_bits.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn count_bits(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Int(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NestedInteger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `List` [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | List(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NestedInteger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NestedIterator` [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct NestedIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn new(mut nested_list: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn next(&mut self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_next` [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn has_next(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unnest` [INFO] [stdout] --> src/solution/s0341_flatten_nested_list_iterator.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn unnest(mut nested_list: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0342_power_of_four.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_power_of_four` [INFO] [stdout] --> src/solution/s0342_power_of_four.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn is_power_of_four(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0343_integer_break.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `integer_break` [INFO] [stdout] --> src/solution/s0343_integer_break.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn integer_break(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0344_reverse_string.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_string` [INFO] [stdout] --> src/solution/s0344_reverse_string.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn reverse_string(s: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0345_reverse_vowels_of_a_string.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: `reverse_vowels` [INFO] [stdout] --> src/solution/s0345_reverse_vowels_of_a_string.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn reverse_vowels(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_vowel` [INFO] [stdout] --> src/solution/s0345_reverse_vowels_of_a_string.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_vowel(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0347_top_k_frequent_elements.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_k_frequent` [INFO] [stdout] --> src/solution/s0347_top_k_frequent_elements.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn top_k_frequent(nums: Vec, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0349_intersection_of_two_arrays.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersection` [INFO] [stdout] --> src/solution/s0349_intersection_of_two_arrays.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn intersection(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0350_intersection_of_two_arrays_ii.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersect` [INFO] [stdout] --> src/solution/s0350_intersection_of_two_arrays_ii.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn intersect(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0352_data_stream_as_disjoint_intervals.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SummaryRanges` [INFO] [stdout] --> src/solution/s0352_data_stream_as_disjoint_intervals.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct SummaryRanges { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0352_data_stream_as_disjoint_intervals.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/solution/s0352_data_stream_as_disjoint_intervals.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn remove(&mut self, l: i32, r: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/solution/s0352_data_stream_as_disjoint_intervals.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn insert(&mut self, l: i32, r: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_num` [INFO] [stdout] --> src/solution/s0352_data_stream_as_disjoint_intervals.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn add_num(&mut self, val: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_intervals` [INFO] [stdout] --> src/solution/s0352_data_stream_as_disjoint_intervals.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn get_intervals(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0354_russian_doll_envelopes.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: `max_envelopes` [INFO] [stdout] --> src/solution/s0354_russian_doll_envelopes.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn max_envelopes(envelopes: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tweets` [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | tweets: Vec<(Tweet, User)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Twitter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `follows` [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | follows: std::collections::HashSet<(User, User)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Twitter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `post_tweet` [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn post_tweet(&mut self, user_id: User, tweet_id: Tweet) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_news_feed` [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_news_feed(&self, user_id: User) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `follow` [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn follow(&mut self, follower_id: User, followee_id: User) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unfollow` [INFO] [stdout] --> src/solution/s0355_design_twitter.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn unfollow(&mut self, follower_id: User, followee_id: User) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0357_count_numbers_with_unique_digits.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_numbers_with_unique_digits` [INFO] [stdout] --> src/solution/s0357_count_numbers_with_unique_digits.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn count_numbers_with_unique_digits(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0363_max_sum_of_rectangle_no_larger_than_k.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_sum_submatrix` [INFO] [stdout] --> src/solution/s0363_max_sum_of_rectangle_no_larger_than_k.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn max_sum_submatrix(matrix: Vec>, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0365_water_and_jug_problem.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_measure_water` [INFO] [stdout] --> src/solution/s0365_water_and_jug_problem.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn can_measure_water(jug1_capacity: i32, jug2_capacity: i32, target_capacity: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd` [INFO] [stdout] --> src/solution/s0365_water_and_jug_problem.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn gcd(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0367_valid_perfect_square.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_perfect_square` [INFO] [stdout] --> src/solution/s0367_valid_perfect_square.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_perfect_square(num: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0368_largest_divisible_subset.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: `largest_divisible_subset` [INFO] [stdout] --> src/solution/s0368_largest_divisible_subset.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn largest_divisible_subset(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0371_sum_of_two_integers.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sum` [INFO] [stdout] --> src/solution/s0371_sum_of_two_integers.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_sum(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum_helper` [INFO] [stdout] --> src/solution/s0371_sum_of_two_integers.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | fn sum_helper(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0372_super_pow.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: `super_pow` [INFO] [stdout] --> src/solution/s0372_super_pow.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn super_pow(a: i32, b: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0373_find_k_pairs_with_smallest_sums.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `k_smallest_pairs` [INFO] [stdout] --> src/solution/s0373_find_k_pairs_with_smallest_sums.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn k_smallest_pairs(nums1: Vec, nums2: Vec, k: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0374_guess_number_higher_or_lower.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `PICK` [INFO] [stdout] --> src/solution/s0374_guess_number_higher_or_lower.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | static mut PICK: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guess` [INFO] [stdout] --> src/solution/s0374_guess_number_higher_or_lower.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe fn guess(num: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `guess_number` [INFO] [stdout] --> src/solution/s0374_guess_number_higher_or_lower.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe fn guess_number(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0375_guess_number_higher_or_lower_ii.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_money_amount` [INFO] [stdout] --> src/solution/s0375_guess_number_higher_or_lower_ii.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_money_amount(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0375_guess_number_higher_or_lower_ii.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn dfs_helper(start: usize, end: usize, dp: &mut Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0376_wiggle_subsequence.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: `wiggle_max_length` [INFO] [stdout] --> src/solution/s0376_wiggle_subsequence.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn wiggle_max_length(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0377_combination_sum_iv.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `combination_sum4` [INFO] [stdout] --> src/solution/s0377_combination_sum_iv.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn combination_sum4(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0378_kth_smallest_element_in_a_sorted_matrix.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: `kth_smallest` [INFO] [stdout] --> src/solution/s0378_kth_smallest_element_in_a_sorted_matrix.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn kth_smallest(matrix: Vec>, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0380_insert_delete_getrandom_o1.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RandomizedSet` [INFO] [stdout] --> src/solution/s0380_insert_delete_getrandom_o1.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct RandomizedSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0380_insert_delete_getrandom_o1.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/solution/s0380_insert_delete_getrandom_o1.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn insert(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/solution/s0380_insert_delete_getrandom_o1.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn remove(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random` [INFO] [stdout] --> src/solution/s0380_insert_delete_getrandom_o1.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_random(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0381_insert_delete_getrandom_o1_duplicates_allowed.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RandomizedCollection` [INFO] [stdout] --> src/solution/s0381_insert_delete_getrandom_o1_duplicates_allowed.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct RandomizedCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0381_insert_delete_getrandom_o1_duplicates_allowed.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/solution/s0381_insert_delete_getrandom_o1_duplicates_allowed.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn insert(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/solution/s0381_insert_delete_getrandom_o1_duplicates_allowed.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn remove(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random` [INFO] [stdout] --> src/solution/s0381_insert_delete_getrandom_o1_duplicates_allowed.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_random(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0382_linked_list_random_node.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0382_linked_list_random_node.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn new(head: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random` [INFO] [stdout] --> src/solution/s0382_linked_list_random_node.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_random(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0383_ransom_note.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_construct` [INFO] [stdout] --> src/solution/s0383_ransom_note.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_letter_occurences` [INFO] [stdout] --> src/solution/s0383_ransom_note.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn find_letter_occurences(s: &str) -> [i32; 26] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0384_shuffle_an_array.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0384_shuffle_an_array.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn new(nums: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/solution/s0384_shuffle_an_array.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn reset(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle` [INFO] [stdout] --> src/solution/s0384_shuffle_an_array.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn shuffle(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0385_mini_parser.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/solution/s0385_mini_parser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Int(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NestedInteger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/solution/s0385_mini_parser.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `List` [INFO] [stdout] --> src/solution/s0385_mini_parser.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | List(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NestedInteger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/solution/s0385_mini_parser.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize` [INFO] [stdout] --> src/solution/s0385_mini_parser.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn deserialize(s: String) -> NestedInteger { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0386_lexicographical_numbers.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lexical_order` [INFO] [stdout] --> src/solution/s0386_lexicographical_numbers.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn lexical_order(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0387_first_unique_character_in_a_string.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_uniq_char` [INFO] [stdout] --> src/solution/s0387_first_unique_character_in_a_string.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn first_uniq_char(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0388_longest_absolute_file_path.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: `length_longest_path` [INFO] [stdout] --> src/solution/s0388_longest_absolute_file_path.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn length_longest_path(input: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0389_find_the_difference.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: `find_the_difference` [INFO] [stdout] --> src/solution/s0389_find_the_difference.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn find_the_difference(s: String, t: String) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0390_elimination_game.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: `last_remaining` [INFO] [stdout] --> src/solution/s0390_elimination_game.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn last_remaining(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0391_perfect_rectangle.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_rectangle_cover` [INFO] [stdout] --> src/solution/s0391_perfect_rectangle.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn is_rectangle_cover(rectangles: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0392_is_subsequence.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_subsequence` [INFO] [stdout] --> src/solution/s0392_is_subsequence.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn is_subsequence(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0393_utf_8_validation.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: `valid_utf8` [INFO] [stdout] --> src/solution/s0393_utf_8_validation.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn valid_utf8(data: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0394_decode_string.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: `decode_string` [INFO] [stdout] --> src/solution/s0394_decode_string.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn decode_string(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0395_longest_substring_with_at_least_k_repeating_characters.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: `longest_substring` [INFO] [stdout] --> src/solution/s0395_longest_substring_with_at_least_k_repeating_characters.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn longest_substring(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0396_rotate_function.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: `max_rotate_function` [INFO] [stdout] --> src/solution/s0396_rotate_function.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn max_rotate_function(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0397_integer_replacement.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `integer_replacement` [INFO] [stdout] --> src/solution/s0397_integer_replacement.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn integer_replacement(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rng` [INFO] [stdout] --> src/solution/s0398_random_pick_index.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | rng: ThreadRng, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Solution` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/solution/s0398_random_pick_index.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nums` [INFO] [stdout] --> src/solution/s0398_random_pick_index.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | nums: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Solution` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/solution/s0398_random_pick_index.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0398_random_pick_index.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn new(nums: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pick` [INFO] [stdout] --> src/solution/s0398_random_pick_index.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn pick(&mut self, target: i32) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0399_evaluate_division.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: `calc_equation` [INFO] [stdout] --> src/solution/s0399_evaluate_division.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn calc_equation( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0400_nth_digit.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_nth_digit` [INFO] [stdout] --> src/solution/s0400_nth_digit.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn find_nth_digit(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0401_binary_watch.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_binary_watch` [INFO] [stdout] --> src/solution/s0401_binary_watch.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn read_binary_watch(turned_on: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0402_remove_k_digits.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_kdigits` [INFO] [stdout] --> src/solution/s0402_remove_k_digits.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn remove_kdigits(num: String, k: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0403_frog_jump.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: `can_cross` [INFO] [stdout] --> src/solution/s0403_frog_jump.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn can_cross(stones: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0403_frog_jump.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn dfs_helper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0404_sum_of_left_leaves.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_of_left_leaves` [INFO] [stdout] --> src/solution/s0404_sum_of_left_leaves.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn sum_of_left_leaves(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0405_convert_a_number_to_hexadecimal.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: `to_hex` [INFO] [stdout] --> src/solution/s0405_convert_a_number_to_hexadecimal.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn to_hex(num: i32) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0406_queue_reconstruction_by_height.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: `reconstruct_queue` [INFO] [stdout] --> src/solution/s0406_queue_reconstruction_by_height.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn reconstruct_queue(people: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0407_trapping_rain_water_ii.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: `trap_rain_water` [INFO] [stdout] --> src/solution/s0407_trapping_rain_water_ii.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn trap_rain_water(height_map: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DIRS` [INFO] [stdout] --> src/solution/s0407_trapping_rain_water_ii.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | const DIRS: [i32; 5] = [0, -1, 0, 1, 0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0409_longest_palindrome.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_palindrome` [INFO] [stdout] --> src/solution/s0409_longest_palindrome.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0410_split_array_largest_sum.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: `split_array` [INFO] [stdout] --> src/solution/s0410_split_array_largest_sum.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn split_array(nums: Vec, m: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0412_fizz_buzz.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: `fizz_buzz` [INFO] [stdout] --> src/solution/s0412_fizz_buzz.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn fizz_buzz(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0413_arithmetic_slices.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: `number_of_arithmetic_slices` [INFO] [stdout] --> src/solution/s0413_arithmetic_slices.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn number_of_arithmetic_slices(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0414_third_maximum_number.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: `third_max` [INFO] [stdout] --> src/solution/s0414_third_maximum_number.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn third_max(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0415_add_strings.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: `add_strings` [INFO] [stdout] --> src/solution/s0415_add_strings.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | 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/solution/s0416_partition_equal_subset_sum.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_partition` [INFO] [stdout] --> src/solution/s0416_partition_equal_subset_sum.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn can_partition(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0417_pacific_atlantic_water_flow.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: `pacific_atlantic` [INFO] [stdout] --> src/solution/s0417_pacific_atlantic_water_flow.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn pacific_atlantic(heights: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0417_pacific_atlantic_water_flow.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn dfs_helper(reachable: &mut Vec>, heights: &[Vec], (i, j): (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0419_battleships_in_a_board.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: `count_battleships` [INFO] [stdout] --> src/solution/s0419_battleships_in_a_board.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn count_battleships(board: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0420_strong_password_checker.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: `strong_password_checker` [INFO] [stdout] --> src/solution/s0420_strong_password_checker.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn strong_password_checker(password: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repeat_count` [INFO] [stdout] --> src/solution/s0420_strong_password_checker.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn repeat_count(password: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_count` [INFO] [stdout] --> src/solution/s0420_strong_password_checker.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn replace_count( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compu_type_count` [INFO] [stdout] --> src/solution/s0420_strong_password_checker.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn compu_type_count(password: &String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0421_maximum_xor_of_two_numbers_in_an_array.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: `find_maximum_xor` [INFO] [stdout] --> src/solution/s0421_maximum_xor_of_two_numbers_in_an_array.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn find_maximum_xor(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0423_reconstruct_original_digits_from_english.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: `original_digits` [INFO] [stdout] --> src/solution/s0423_reconstruct_original_digits_from_english.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn original_digits(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0424_longest_repeating_character_replacement.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Helper` [INFO] [stdout] --> src/solution/s0424_longest_repeating_character_replacement.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct Helper { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0424_longest_repeating_character_replacement.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> src/solution/s0424_longest_repeating_character_replacement.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn inc(&mut self, key: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_max` [INFO] [stdout] --> src/solution/s0424_longest_repeating_character_replacement.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn find_max(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec` [INFO] [stdout] --> src/solution/s0424_longest_repeating_character_replacement.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn dec(&mut self, key: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate` [INFO] [stdout] --> src/solution/s0424_longest_repeating_character_replacement.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn validate(&self, k: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `character_replacement` [INFO] [stdout] --> src/solution/s0424_longest_repeating_character_replacement.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn character_replacement(s: String, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0432_all_oone_data_structure.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AllOne` [INFO] [stdout] --> src/solution/s0432_all_oone_data_structure.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct AllOne { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0432_all_oone_data_structure.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> src/solution/s0432_all_oone_data_structure.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn inc(&mut self, key: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec` [INFO] [stdout] --> src/solution/s0432_all_oone_data_structure.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn dec(&mut self, key: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_key` [INFO] [stdout] --> src/solution/s0432_all_oone_data_structure.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_max_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_min_key` [INFO] [stdout] --> src/solution/s0432_all_oone_data_structure.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn get_min_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0433_minimum_genetic_mutation.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: `min_mutation` [INFO] [stdout] --> src/solution/s0433_minimum_genetic_mutation.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn min_mutation(start: String, end: String, bank: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_mutation` [INFO] [stdout] --> src/solution/s0433_minimum_genetic_mutation.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn is_mutation(a: &str, b: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0434_number_of_segments_in_a_string.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: `count_segments` [INFO] [stdout] --> src/solution/s0434_number_of_segments_in_a_string.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn count_segments(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0435_non_overlapping_intervals.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_overlap_intervals` [INFO] [stdout] --> src/solution/s0435_non_overlapping_intervals.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn erase_overlap_intervals(intervals: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0436_find_right_interval.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: `find_right_interval` [INFO] [stdout] --> src/solution/s0436_find_right_interval.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn find_right_interval(intervals: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0437_path_sum_iii.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: `path_sum` [INFO] [stdout] --> src/solution/s0437_path_sum_iii.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn path_sum(root: Option>>, target_sum: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_root_path_sum` [INFO] [stdout] --> src/solution/s0437_path_sum_iii.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn with_root_path_sum(root: Option>>, target_sum: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0438_find_all_anagrams_in_a_string.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_anagrams` [INFO] [stdout] --> src/solution/s0438_find_all_anagrams_in_a_string.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn find_anagrams(s: String, p: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0440_k_th_smallest_in_lexicographical_order.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_kth_number` [INFO] [stdout] --> src/solution/s0440_k_th_smallest_in_lexicographical_order.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn find_kth_number(n: i32, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0441_arranging_coins.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arrange_coins` [INFO] [stdout] --> src/solution/s0441_arranging_coins.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn arrange_coins(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0442_find_all_duplicates_in_an_array.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_duplicates` [INFO] [stdout] --> src/solution/s0442_find_all_duplicates_in_an_array.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_duplicates(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0443_string_compression.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: `compress` [INFO] [stdout] --> src/solution/s0443_string_compression.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn compress(chars: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0445_add_two_numbers_ii.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: `add_two_numbers` [INFO] [stdout] --> src/solution/s0445_add_two_numbers_ii.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn add_two_numbers( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0446_arithmetic_slices_ii_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: `number_of_arithmetic_slices` [INFO] [stdout] --> src/solution/s0446_arithmetic_slices_ii_subsequence.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn number_of_arithmetic_slices(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0447_number_of_boomerangs.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: `number_of_boomerangs` [INFO] [stdout] --> src/solution/s0447_number_of_boomerangs.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn number_of_boomerangs(points: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0448_find_all_numbers_disappeared_in_an_array.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_disappeared_numbers` [INFO] [stdout] --> src/solution/s0448_find_all_numbers_disappeared_in_an_array.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn find_disappeared_numbers(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_rc` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_rc(root: &Option>>) -> Option>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `val_of` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn val_of(root: &Option>>) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `left_of` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn left_of(root: &Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `right_of` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn right_of(root: &Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `append_to_left` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn append_to_left(root: &Option>>, val: i32) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `append_to_right` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn append_to_right( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Codec` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | struct Codec {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serialize` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn serialize(&self, root: Option>>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize` [INFO] [stdout] --> src/solution/s0449_serialize_and_deserialize_bst.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn deserialize(&self, data: String) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0450_delete_node_in_a_bst.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: `delete_node` [INFO] [stdout] --> src/solution/s0450_delete_node_in_a_bst.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn delete_node( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_node_helper` [INFO] [stdout] --> src/solution/s0450_delete_node_in_a_bst.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn delete_node_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_next` [INFO] [stdout] --> src/solution/s0450_delete_node_in_a_bst.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn search_next(node: &Option>>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0451_sort_characters_by_frequency.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `frequency_sort` [INFO] [stdout] --> src/solution/s0451_sort_characters_by_frequency.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn frequency_sort(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0452_minimum_number_of_arrows_to_burst_balloons.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: `find_min_arrow_shots` [INFO] [stdout] --> src/solution/s0452_minimum_number_of_arrows_to_burst_balloons.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn find_min_arrow_shots(points: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0453_minimum_moves_to_equal_array_elements.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: `min_moves` [INFO] [stdout] --> src/solution/s0453_minimum_moves_to_equal_array_elements.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn min_moves(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0454_4sum_ii.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `four_sum_count` [INFO] [stdout] --> src/solution/s0454_4sum_ii.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn four_sum_count( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0455_assign_cookies.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_content_children` [INFO] [stdout] --> src/solution/s0455_assign_cookies.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn find_content_children(g: Vec, s: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0456_132_pattern.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: `find132pattern` [INFO] [stdout] --> src/solution/s0456_132_pattern.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn find132pattern(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0457_circular_array_loop.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: `circular_array_loop` [INFO] [stdout] --> src/solution/s0457_circular_array_loop.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn circular_array_loop(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/solution/s0457_circular_array_loop.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn next(nums: &[i32], index: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0458_poor_pigs.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poor_pigs` [INFO] [stdout] --> src/solution/s0458_poor_pigs.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn poor_pigs(buckets: i32, minutes_to_die: i32, minutes_to_test: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0459_repeated_substring_pattern.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: `repeated_substring_pattern` [INFO] [stdout] --> src/solution/s0459_repeated_substring_pattern.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn repeated_substring_pattern(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ListNode` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | struct ListNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn new(key: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pluck` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn pluck(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FrequencyBin` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct FrequencyBin { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_key` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn remove_key(&mut self, key: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_back` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn push_back(&mut self, key: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_front` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn pop_front(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CacheItem` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | struct CacheItem { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LFUCache` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | struct LFUCache { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn new(capacity: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evict` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn evict(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/solution/s0460_lfu_cache.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | 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/solution/s0460_lfu_cache.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | 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/solution/s0461_hamming_distance.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: `hamming_distance` [INFO] [stdout] --> src/solution/s0461_hamming_distance.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn hamming_distance(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0462_minimum_moves_to_equal_array_elements_ii.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: `min_moves2` [INFO] [stdout] --> src/solution/s0462_minimum_moves_to_equal_array_elements_ii.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn min_moves2(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0463_island_perimeter.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: `island_perimeter` [INFO] [stdout] --> src/solution/s0463_island_perimeter.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn island_perimeter(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0464_can_i_win.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: `can_i_win` [INFO] [stdout] --> src/solution/s0464_can_i_win.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn can_i_win(max_choosable_integer: i32, desired_total: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `go` [INFO] [stdout] --> src/solution/s0464_can_i_win.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn go(m: i32, key: i32, total: i32, cache: &mut std::collections::HashMap) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0466_count_the_repetitions.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: `get_max_repetitions` [INFO] [stdout] --> src/solution/s0466_count_the_repetitions.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_max_repetitions(s1: String, n1: i32, s2: String, n2: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0467_unique_substrings_in_wraparound_string.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_substring_in_wrapround_string` [INFO] [stdout] --> src/solution/s0467_unique_substrings_in_wraparound_string.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn find_substring_in_wrapround_string(p: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0468_validate_ip_address.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `IPAddressType` [INFO] [stdout] --> src/solution/s0468_validate_ip_address.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | enum IPAddressType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid_ip_address` [INFO] [stdout] --> src/solution/s0468_validate_ip_address.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn valid_ip_address(query_ip: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0470_implement_rand10_using_rand7.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand7` [INFO] [stdout] --> src/solution/s0470_implement_rand10_using_rand7.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn rand7() -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `POSSIBILITIES` [INFO] [stdout] --> src/solution/s0470_implement_rand10_using_rand7.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / const POSSIBILITIES: [[i32; 7]; 7] = [ [INFO] [stdout] 46 | | [1, 1, 1, 1, 2, 2, 2], [INFO] [stdout] 47 | | [2, 3, 3, 3, 3, 4, 4], [INFO] [stdout] 48 | | [4, 4, 5, 5, 5, 5, 6], [INFO] [stdout] ... | [INFO] [stdout] 52 | | [0, 0, 0, 0, 0, 0, 0], [INFO] [stdout] 53 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rand10` [INFO] [stdout] --> src/solution/s0470_implement_rand10_using_rand7.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn rand10() -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0472_concatenated_words.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: `find_all_concatenated_words_in_a_dict` [INFO] [stdout] --> src/solution/s0472_concatenated_words.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn find_all_concatenated_words_in_a_dict(words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs` [INFO] [stdout] --> src/solution/s0472_concatenated_words.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn dfs( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0473_matchsticks_to_square.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: `makesquare` [INFO] [stdout] --> src/solution/s0473_matchsticks_to_square.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn makesquare(matchsticks: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve` [INFO] [stdout] --> src/solution/s0473_matchsticks_to_square.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn solve(sticks: &mut [i32], l: usize, len: i32, side: u8, max: i32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0474_ones_and_zeroes.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_max_form` [INFO] [stdout] --> src/solution/s0474_ones_and_zeroes.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn find_max_form(strs: Vec, m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0475_heaters.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: `find_radius` [INFO] [stdout] --> src/solution/s0475_heaters.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn find_radius(houses: Vec, heaters: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0476_number_complement.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_complement` [INFO] [stdout] --> src/solution/s0476_number_complement.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn find_complement(num: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0477_total_hamming_distance.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: `total_hamming_distance` [INFO] [stdout] --> src/solution/s0477_total_hamming_distance.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn total_hamming_distance(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/solution/s0478_generate_random_point_in_a_circle.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | radius: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x_center` [INFO] [stdout] --> src/solution/s0478_generate_random_point_in_a_circle.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | x_center: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y_center` [INFO] [stdout] --> src/solution/s0478_generate_random_point_in_a_circle.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | y_center: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rng` [INFO] [stdout] --> src/solution/s0478_generate_random_point_in_a_circle.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | rng: ThreadRng, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0478_generate_random_point_in_a_circle.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn new(radius: f64, x_center: f64, y_center: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rand_point` [INFO] [stdout] --> src/solution/s0478_generate_random_point_in_a_circle.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn rand_point(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0479_largest_palindrome_product.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_palindrome` [INFO] [stdout] --> src/solution/s0479_largest_palindrome_product.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn largest_palindrome(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_palindrome` [INFO] [stdout] --> src/solution/s0479_largest_palindrome_product.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn build_palindrome(n: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0480_sliding_window_median.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: `median_sliding_window` [INFO] [stdout] --> src/solution/s0480_sliding_window_median.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn median_sliding_window(nums: Vec, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0481_magical_string.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: `magical_string` [INFO] [stdout] --> src/solution/s0481_magical_string.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn magical_string(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0482_license_key_formatting.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: `license_key_formatting` [INFO] [stdout] --> src/solution/s0482_license_key_formatting.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn license_key_formatting(s: String, k: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0483_smallest_good_base.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smallest_good_base` [INFO] [stdout] --> src/solution/s0483_smallest_good_base.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn smallest_good_base(n: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/solution/s0483_smallest_good_base.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn check(n: i64, k: i64, m: u32) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0485_max_consecutive_ones.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_max_consecutive_ones` [INFO] [stdout] --> src/solution/s0485_max_consecutive_ones.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn find_max_consecutive_ones(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0486_predict_the_winner.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `predict_the_winner` [INFO] [stdout] --> src/solution/s0486_predict_the_winner.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn predict_the_winner(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0488_zuma_game.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_min_step` [INFO] [stdout] --> src/solution/s0488_zuma_game.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn find_min_step(board: String, hand: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs` [INFO] [stdout] --> src/solution/s0488_zuma_game.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn dfs(start: usize, state: u32, board: Vec, res: &mut i32, hand: &[char], n: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_next_state` [INFO] [stdout] --> src/solution/s0488_zuma_game.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn find_next_state(c: char, state: u32, hand: &[char], n: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dropable` [INFO] [stdout] --> src/solution/s0488_zuma_game.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn dropable(board: &[char]) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0491_increasing_subsequences.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_subsequences` [INFO] [stdout] --> src/solution/s0491_increasing_subsequences.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn find_subsequences(nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0491_increasing_subsequences.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn dfs_helper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_subsequences_v2` [INFO] [stdout] --> src/solution/s0491_increasing_subsequences.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn find_subsequences_v2(nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0492_construct_the_rectangle.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_rectangle` [INFO] [stdout] --> src/solution/s0492_construct_the_rectangle.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn construct_rectangle(area: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0493_reverse_pairs.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinaryIndexTree` [INFO] [stdout] --> src/solution/s0493_reverse_pairs.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct BinaryIndexTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0493_reverse_pairs.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(length: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/solution/s0493_reverse_pairs.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn update(&mut self, mut index: usize, delta: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query` [INFO] [stdout] --> src/solution/s0493_reverse_pairs.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn query(&self, mut index: usize) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_pairs` [INFO] [stdout] --> src/solution/s0493_reverse_pairs.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn reverse_pairs(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0494_target_sum.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: `find_target_sum_ways` [INFO] [stdout] --> src/solution/s0494_target_sum.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn find_target_sum_ways(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0494_target_sum.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn dfs_helper(nums: &Vec, sum: i32, i: usize, target: i32, result: &mut i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0495_teemo_attacking.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: `find_poisoned_duration` [INFO] [stdout] --> src/solution/s0495_teemo_attacking.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn find_poisoned_duration(time_series: Vec, duration: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0496_next_greater_element_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: `next_greater_element` [INFO] [stdout] --> src/solution/s0496_next_greater_element_i.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn next_greater_element(nums1: Vec, nums2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0497_random_point_in_non_overlapping_rectangles.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0497_random_point_in_non_overlapping_rectangles.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn new(rects: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pick` [INFO] [stdout] --> src/solution/s0497_random_point_in_non_overlapping_rectangles.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn pick(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0498_diagonal_traverse.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_diagonal_order` [INFO] [stdout] --> src/solution/s0498_diagonal_traverse.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn find_diagonal_order(mat: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0500_keyboard_row.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `KEYBOARD_ROWS` [INFO] [stdout] --> src/solution/s0500_keyboard_row.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | const KEYBOARD_ROWS: [&'static str; 3] = ["qwertyuiop", "asdfghjkl", "zxcvbnm"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_words` [INFO] [stdout] --> src/solution/s0500_keyboard_row.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn find_words(words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0501_find_mode_in_binary_search_tree.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_mode` [INFO] [stdout] --> src/solution/s0501_find_mode_in_binary_search_tree.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn find_mode(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0501_find_mode_in_binary_search_tree.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn dfs_helper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0502_ipo.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: `find_maximized_capital` [INFO] [stdout] --> src/solution/s0502_ipo.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn find_maximized_capital(k: i32, w: i32, profits: Vec, capital: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0503_next_greater_element_ii.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: `next_greater_elements` [INFO] [stdout] --> src/solution/s0503_next_greater_element_ii.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn next_greater_elements(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0504_base_7.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_to_base7` [INFO] [stdout] --> src/solution/s0504_base_7.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn convert_to_base7(num: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0506_relative_ranks.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: `find_relative_ranks` [INFO] [stdout] --> src/solution/s0506_relative_ranks.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn find_relative_ranks(score: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0507_perfect_number.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_perfect_number` [INFO] [stdout] --> src/solution/s0507_perfect_number.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn check_perfect_number(num: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0508_most_frequent_subtree_sum.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_frequent_tree_sum` [INFO] [stdout] --> src/solution/s0508_most_frequent_subtree_sum.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn find_frequent_tree_sum(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0508_most_frequent_subtree_sum.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn dfs_helper<'a>(sums: &'a mut Vec, root: &Rc>) -> &'a mut Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0509_fibonacci_number.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fib` [INFO] [stdout] --> src/solution/s0509_fibonacci_number.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn fib(n: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0513_find_bottom_left_tree_value.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_bottom_left_value` [INFO] [stdout] --> src/solution/s0513_find_bottom_left_tree_value.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_bottom_left_value(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0513_find_bottom_left_tree_value.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn dfs_helper(root: Option>>, height: i32, max: &mut i32, res: &mut i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0514_freedom_trail.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: `find_rotate_steps` [INFO] [stdout] --> src/solution/s0514_freedom_trail.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn find_rotate_steps(ring: String, key: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0515_find_largest_value_in_each_tree_row.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_values` [INFO] [stdout] --> src/solution/s0515_find_largest_value_in_each_tree_row.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn largest_values(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0516_longest_palindromic_subsequence.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: `longest_palindrome_subseq` [INFO] [stdout] --> src/solution/s0516_longest_palindromic_subsequence.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn longest_palindrome_subseq(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0517_super_washing_machines.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: `find_min_moves` [INFO] [stdout] --> src/solution/s0517_super_washing_machines.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find_min_moves(machines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0518_coin_change_2.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change` [INFO] [stdout] --> src/solution/s0518_coin_change_2.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn change(amount: i32, coins: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0519_random_flip_matrix.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0519_random_flip_matrix.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn new(m: i32, n: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flip` [INFO] [stdout] --> src/solution/s0519_random_flip_matrix.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn flip(&mut self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/solution/s0519_random_flip_matrix.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0520_detect_capital.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `detect_capital_use` [INFO] [stdout] --> src/solution/s0520_detect_capital.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn detect_capital_use(word: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0521_longest_uncommon_subsequence_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: `find_lu_slength` [INFO] [stdout] --> src/solution/s0521_longest_uncommon_subsequence_i.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn find_lu_slength(a: String, b: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0522_longest_uncommon_subsequence_ii.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_lu_slength` [INFO] [stdout] --> src/solution/s0522_longest_uncommon_subsequence_ii.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn find_lu_slength(strs: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_subsequence` [INFO] [stdout] --> src/solution/s0522_longest_uncommon_subsequence_ii.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn is_subsequence(a: &str, b: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0523_continuous_subarray_sum.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: `check_subarray_sum` [INFO] [stdout] --> src/solution/s0523_continuous_subarray_sum.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn check_subarray_sum(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0524_longest_word_in_dictionary_through_deleting.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_longest_word` [INFO] [stdout] --> src/solution/s0524_longest_word_in_dictionary_through_deleting.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_longest_word(s: String, dictionary: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0525_contiguous_array.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_max_length` [INFO] [stdout] --> src/solution/s0525_contiguous_array.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn find_max_length(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0526_beautiful_arrangement.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: `count_arrangement` [INFO] [stdout] --> src/solution/s0526_beautiful_arrangement.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn count_arrangement(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtrack` [INFO] [stdout] --> src/solution/s0526_beautiful_arrangement.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn backtrack(v: &mut Vec, i: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0528_random_pick_with_weight.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0528_random_pick_with_weight.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn new(w: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pick_index` [INFO] [stdout] --> src/solution/s0528_random_pick_with_weight.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn pick_index(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0529_minesweeper.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: `update_board` [INFO] [stdout] --> src/solution/s0529_minesweeper.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn update_board(board: Vec>, click: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0529_minesweeper.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn dfs_helper(board: &mut Vec>, row: usize, col: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_mine` [INFO] [stdout] --> src/solution/s0529_minesweeper.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn count_mine(board: &Vec>, row: usize, col: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0530_minimum_absolute_difference_in_bst.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: `get_minimum_difference` [INFO] [stdout] --> src/solution/s0530_minimum_absolute_difference_in_bst.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_minimum_difference(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0530_minimum_absolute_difference_in_bst.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn dfs_helper(root: &Option>>, last: i32, res: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0532_k_diff_pairs_in_an_array.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: `find_pairs` [INFO] [stdout] --> src/solution/s0532_k_diff_pairs_in_an_array.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find_pairs(nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0535_encode_and_decode_tinyurl.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dict` [INFO] [stdout] --> src/solution/s0535_encode_and_decode_tinyurl.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | dict: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0535_encode_and_decode_tinyurl.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encode` [INFO] [stdout] --> src/solution/s0535_encode_and_decode_tinyurl.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn encode(&mut self, long_url: String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/solution/s0535_encode_and_decode_tinyurl.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn decode(&self, short_url: String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0537_complex_number_multiplication.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: `complex_number_multiply` [INFO] [stdout] --> src/solution/s0537_complex_number_multiplication.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn complex_number_multiply(num1: String, num2: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0538_convert_bst_to_greater_tree.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: `convert_bst` [INFO] [stdout] --> src/solution/s0538_convert_bst_to_greater_tree.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn convert_bst(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0538_convert_bst_to_greater_tree.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn dfs_helper(r: &mut Option>>, sum: &mut i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0539_minimum_time_difference.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_min_difference` [INFO] [stdout] --> src/solution/s0539_minimum_time_difference.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn find_min_difference(time_points: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0540_single_element_in_a_sorted_array.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_non_duplicate` [INFO] [stdout] --> src/solution/s0540_single_element_in_a_sorted_array.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn single_non_duplicate(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0541_reverse_string_ii.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_str` [INFO] [stdout] --> src/solution/s0541_reverse_string_ii.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn reverse_str(s: String, k: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0542_01_matrix.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: `update_matrix` [INFO] [stdout] --> src/solution/s0542_01_matrix.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn update_matrix(mat: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0543_diameter_of_binary_tree.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: `diameter_of_binary_tree` [INFO] [stdout] --> src/solution/s0543_diameter_of_binary_tree.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn diameter_of_binary_tree(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0543_diameter_of_binary_tree.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn dfs_helper(root: &Option>>, current_max: &mut i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0546_remove_boxes.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: `remove_boxes` [INFO] [stdout] --> src/solution/s0546_remove_boxes.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn remove_boxes(boxes: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dp_helper` [INFO] [stdout] --> src/solution/s0546_remove_boxes.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn dp_helper( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0547_number_of_provinces.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: `find_circle_num` [INFO] [stdout] --> src/solution/s0547_number_of_provinces.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn find_circle_num(is_connected: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0547_number_of_provinces.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn dfs_helper(is_connected: &Vec>, visited: &mut Vec, i: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0551_student_attendance_record_i.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: `check_record` [INFO] [stdout] --> src/solution/s0551_student_attendance_record_i.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn check_record(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0552_student_attendance_record_ii.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> src/solution/s0552_student_attendance_record_ii.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | const MOD: i64 = 1_000_000_007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_record` [INFO] [stdout] --> src/solution/s0552_student_attendance_record_ii.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn check_record(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0553_optimal_division.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `optimal_division` [INFO] [stdout] --> src/solution/s0553_optimal_division.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn optimal_division(nums: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0554_brick_wall.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: `least_bricks` [INFO] [stdout] --> src/solution/s0554_brick_wall.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn least_bricks(wall: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0556_next_greater_element_iii.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_greater_element` [INFO] [stdout] --> src/solution/s0556_next_greater_element_iii.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn next_greater_element(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_permutation` [INFO] [stdout] --> src/solution/s0556_next_greater_element_iii.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn next_permutation(sequence: &mut [u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0557_reverse_words_in_a_string_iii.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_words` [INFO] [stdout] --> src/solution/s0557_reverse_words_in_a_string_iii.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn reverse_words(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0560_subarray_sum_equals_k.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: `subarray_sum` [INFO] [stdout] --> src/solution/s0560_subarray_sum_equals_k.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn subarray_sum(nums: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0561_array_partition_i.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: `array_pair_sum` [INFO] [stdout] --> src/solution/s0561_array_partition_i.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn array_pair_sum(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0563_binary_tree_tilt.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_tilt` [INFO] [stdout] --> src/solution/s0563_binary_tree_tilt.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn find_tilt(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0563_binary_tree_tilt.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn dfs_helper(node: &Option>>, sum: &mut i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0564_find_the_closest_palindrome.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: `nearest_palindromic` [INFO] [stdout] --> src/solution/s0564_find_the_closest_palindrome.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn nearest_palindromic(n: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `combine` [INFO] [stdout] --> src/solution/s0564_find_the_closest_palindrome.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn combine(left: i64, odd: bool) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0565_array_nesting.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `array_nesting` [INFO] [stdout] --> src/solution/s0565_array_nesting.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn array_nesting(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0566_reshape_the_matrix.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: `matrix_reshape` [INFO] [stdout] --> src/solution/s0566_reshape_the_matrix.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn matrix_reshape(mat: Vec>, r: i32, c: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0567_permutation_in_string.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_inclusion` [INFO] [stdout] --> src/solution/s0567_permutation_in_string.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn check_inclusion(s1: String, s2: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0572_subtree_of_another_tree.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: `is_subtree` [INFO] [stdout] --> src/solution/s0572_subtree_of_another_tree.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn is_subtree( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0575_distribute_candies.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distribute_candies` [INFO] [stdout] --> src/solution/s0575_distribute_candies.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn distribute_candies(candy_type: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0576_out_of_boundary_paths.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> src/solution/s0576_out_of_boundary_paths.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const MOD: i32 = 1_000_000_007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_paths` [INFO] [stdout] --> src/solution/s0576_out_of_boundary_paths.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn find_paths(m: i32, n: i32, max_move: i32, start_row: i32, start_column: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0581_shortest_unsorted_continuous_subarray.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_unsorted_subarray` [INFO] [stdout] --> src/solution/s0581_shortest_unsorted_continuous_subarray.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn find_unsorted_subarray(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0583_delete_operation_for_two_strings.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min_distance` [INFO] [stdout] --> src/solution/s0583_delete_operation_for_two_strings.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn min_distance(word1: String, word2: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0587_erect_the_fence.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: `outer_trees` [INFO] [stdout] --> src/solution/s0587_erect_the_fence.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn outer_trees(trees: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `orientation` [INFO] [stdout] --> src/solution/s0587_erect_the_fence.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn orientation(p: &[i32], q: &[i32], r: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0591_tag_validator.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: `parse_tag_name` [INFO] [stdout] --> src/solution/s0591_tag_validator.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_tag_name(input: &str) -> Option<(&str, &str)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_cdata` [INFO] [stdout] --> src/solution/s0591_tag_validator.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_cdata(input: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_text` [INFO] [stdout] --> src/solution/s0591_tag_validator.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn parse_text(input: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_content` [INFO] [stdout] --> src/solution/s0591_tag_validator.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn parse_content(mut input: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_tag` [INFO] [stdout] --> src/solution/s0591_tag_validator.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse_tag(input: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/solution/s0591_tag_validator.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn is_valid(code: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0592_fraction_addition_and_subtraction.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Tok` [INFO] [stdout] --> src/solution/s0592_fraction_addition_and_subtraction.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | enum Tok { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0592_fraction_addition_and_subtraction.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(sign: i32, numerator: i32, denominator: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/solution/s0592_fraction_addition_and_subtraction.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn add(self, other: Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reduce` [INFO] [stdout] --> src/solution/s0592_fraction_addition_and_subtraction.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn reduce(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd` [INFO] [stdout] --> src/solution/s0592_fraction_addition_and_subtraction.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn gcd(mut m: i32, mut n: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fraction_addition` [INFO] [stdout] --> src/solution/s0592_fraction_addition_and_subtraction.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn fraction_addition(expression: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0593_valid_square.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: `valid_square` [INFO] [stdout] --> src/solution/s0593_valid_square.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn valid_square(p1: Vec, p2: Vec, p3: Vec, p4: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0594_longest_harmonious_subsequence.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: `find_lhs` [INFO] [stdout] --> src/solution/s0594_longest_harmonious_subsequence.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn find_lhs(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0598_range_addition_ii.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: `max_count` [INFO] [stdout] --> src/solution/s0598_range_addition_ii.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn max_count(m: i32, n: i32, ops: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0599_minimum_index_sum_of_two_lists.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_restaurant` [INFO] [stdout] --> src/solution/s0599_minimum_index_sum_of_two_lists.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn find_restaurant(list1: Vec, list2: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0600_non_negative_integers_without_consecutive_ones.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: `find_integers` [INFO] [stdout] --> src/solution/s0600_non_negative_integers_without_consecutive_ones.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn find_integers(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FB` [INFO] [stdout] --> src/solution/s0600_non_negative_integers_without_consecutive_ones.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / const FB: [i32; 31] = [ [INFO] [stdout] 47 | | 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, [INFO] [stdout] 48 | | 17711, 28657, 46368, 75025, 121393, 196418, 317811, 514229, 832040, 1346269, 2178309, [INFO] [stdout] 49 | | 3524578, [INFO] [stdout] 50 | | ]; [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0605_can_place_flowers.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_place_flowers` [INFO] [stdout] --> src/solution/s0605_can_place_flowers.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn can_place_flowers(flowerbed: Vec, n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0606_construct_string_from_binary_tree.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: `tree2str` [INFO] [stdout] --> src/solution/s0606_construct_string_from_binary_tree.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn tree2str(root: Option>>) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0606_construct_string_from_binary_tree.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn dfs_helper(root: &Option>>) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0609_find_duplicate_file_in_system.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_duplicate` [INFO] [stdout] --> src/solution/s0609_find_duplicate_file_in_system.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn find_duplicate(paths: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0611_valid_triangle_number.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: `triangle_number` [INFO] [stdout] --> src/solution/s0611_valid_triangle_number.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn triangle_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0617_merge_two_binary_trees.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: `merge_trees` [INFO] [stdout] --> src/solution/s0617_merge_two_binary_trees.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn merge_trees( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0621_task_scheduler.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `least_interval` [INFO] [stdout] --> src/solution/s0621_task_scheduler.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn least_interval(tasks: Vec, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0622_design_circular_queue.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyCircularQueue` [INFO] [stdout] --> src/solution/s0622_design_circular_queue.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct MyCircularQueue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0622_design_circular_queue.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn new(k: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `en_queue` [INFO] [stdout] --> src/solution/s0622_design_circular_queue.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn en_queue(&mut self, value: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `de_queue` [INFO] [stdout] --> src/solution/s0622_design_circular_queue.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn de_queue(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `front` [INFO] [stdout] --> src/solution/s0622_design_circular_queue.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn front(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rear` [INFO] [stdout] --> src/solution/s0622_design_circular_queue.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn rear(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/solution/s0622_design_circular_queue.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_full` [INFO] [stdout] --> src/solution/s0622_design_circular_queue.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0623_add_one_row_to_tree.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: `add_one_row` [INFO] [stdout] --> src/solution/s0623_add_one_row_to_tree.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn add_one_row( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0623_add_one_row_to_tree.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn dfs_helper(node: &Option>>, val: i32, depth: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0628_maximum_product_of_three_numbers.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maximum_product` [INFO] [stdout] --> src/solution/s0628_maximum_product_of_three_numbers.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn maximum_product(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0629_k_inverse_pairs_array.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> src/solution/s0629_k_inverse_pairs_array.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const MOD: i32 = 1_000_000_007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `k_inverse_pairs` [INFO] [stdout] --> src/solution/s0629_k_inverse_pairs_array.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn k_inverse_pairs(n: i32, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0630_course_schedule_iii.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: `schedule_course` [INFO] [stdout] --> src/solution/s0630_course_schedule_iii.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn schedule_course(courses: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0632_smallest_range_covering_elements_from_k_lists.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `smallest_range` [INFO] [stdout] --> src/solution/s0632_smallest_range_covering_elements_from_k_lists.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn smallest_range(nums: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0633_sum_of_square_numbers.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `judge_square_sum` [INFO] [stdout] --> src/solution/s0633_sum_of_square_numbers.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn judge_square_sum(c: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0636_exclusive_time_of_functions.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: `exclusive_time` [INFO] [stdout] --> src/solution/s0636_exclusive_time_of_functions.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn exclusive_time(n: i32, logs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0637_average_of_levels_in_binary_tree.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `average_of_levels` [INFO] [stdout] --> src/solution/s0637_average_of_levels_in_binary_tree.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn average_of_levels(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0638_shopping_offers.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: `shopping_offers` [INFO] [stdout] --> src/solution/s0638_shopping_offers.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn shopping_offers(price: Vec, special: Vec>, needs: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs_helper` [INFO] [stdout] --> src/solution/s0638_shopping_offers.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn dfs_helper( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0639_decode_ways_ii.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> src/solution/s0639_decode_ways_ii.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | const MOD: i64 = 1_000_000_007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_decodings` [INFO] [stdout] --> src/solution/s0639_decode_ways_ii.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn num_decodings(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0640_solve_the_equation.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: `new` [INFO] [stdout] --> src/solution/s0640_solve_the_equation.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn new(s: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve` [INFO] [stdout] --> src/solution/s0640_solve_the_equation.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn solve(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve_equation` [INFO] [stdout] --> src/solution/s0640_solve_the_equation.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn solve_equation(equation: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyCircularDeque` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct MyCircularDeque { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn new(k: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_front` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn insert_front(&mut self, value: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_last` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn insert_last(&mut self, value: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_front` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn delete_front(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_last` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn delete_last(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_front` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_front(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rear` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn get_rear(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_full` [INFO] [stdout] --> src/solution/s0641_design_circular_deque.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/solution/s0368_largest_divisible_subset.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | &nums.sort_unstable(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = &nums.sort_unstable(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1365 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/main.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs; [INFO] [stdout] | ------- the item `fs` is already imported here [INFO] [stdout] ... [INFO] [stdout] 152 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `is_random` is assigned to, but never used [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut is_random = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_is_random` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `is_solving` is assigned to, but never used [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut is_solving = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_is_solving` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/main.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let mut id: u32 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_random` is never read [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | is_random = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_solving` is never read [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | is_solving = true; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut mod_file_addon = Arc::new(Mutex::new(vec![])); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | writeln!(lib_file, "{}", mod_file_addon.lock().unwrap().join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | fs::write(mod_file, lines.join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [WARN] too many lines in the log, truncating it