[INFO] cloning repository https://github.com/123dou/learnRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/123dou/learnRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F123dou%2FlearnRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F123dou%2FlearnRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3ef9c42a2fc2718d83bb99ecca7d4d7d872900b [INFO] checking 123dou/learnRust against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F123dou%2FlearnRust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/123dou/learnRust on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/123dou/learnRust [INFO] finished tweaking git repo https://github.com/123dou/learnRust [INFO] tweaked toml for git repo https://github.com/123dou/learnRust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", 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] 1699f9f68f6ba3390754298c3b8e28468a8719ff65e5b0e7f9a48cccf9f9e4e9 [INFO] running `Command { std: "docker" "start" "-a" "1699f9f68f6ba3390754298c3b8e28468a8719ff65e5b0e7f9a48cccf9f9e4e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1699f9f68f6ba3390754298c3b8e28468a8719ff65e5b0e7f9a48cccf9f9e4e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1699f9f68f6ba3390754298c3b8e28468a8719ff65e5b0e7f9a48cccf9f9e4e9", kill_on_drop: false }` [INFO] [stdout] 1699f9f68f6ba3390754298c3b8e28468a8719ff65e5b0e7f9a48cccf9f9e4e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3802a2c8165040b1d8a034eb9188ca29963dff41593e8a5ef5f14eca787c8ab [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" "a3802a2c8165040b1d8a034eb9188ca29963dff41593e8a5ef5f14eca787c8ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking learn_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Config` in this scope [INFO] [stdout] --> src/learn_open_source/toml_demo.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | configs: Vec, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::learn_open_source::config::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_struct::link::Link` [INFO] [stdout] --> src/data_struct/link_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::data_struct::link::Link; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml::de::Error` [INFO] [stdout] --> src/learn_open_source/toml_demo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use toml::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/learn_open_source/toml_demo/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/sort/sort_test.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sort::sort` [INFO] [stdout] --> src/sort/sort_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::sort::sort; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/test_std/test_string.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/test_std/test_thread/test_thread.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel`, `sync_channel` [INFO] [stdout] --> src/test_std/test_thread/test_channel.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::{channel, sync_channel}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/test_std/test_thread/test_channel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/test_std/test_thread/proof_of_work_demo.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::mpsc::{channel, Sender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/test_std/test_trait/test_map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::SliceRandom` [INFO] [stdout] --> src/test_std/test_trait/test_partition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/test_std/test_trait/test_partition.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/symmetric_tree.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/validate_binary_search_tree.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learn_rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/symmetric_tree.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/validate_binary_search_tree.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `head_2` is never read [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/palindrome_linked_list.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut head_2 = None; [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 `res` is never read [INFO] [stdout] --> src/leetcode/editor/cn/medium/other/evaluate_reverse_polish_notation.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut res = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min` is never read [INFO] [stdout] --> src/sort/sort.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut min = i32::min_value(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotFound` [INFO] [stdout] --> src/learn_open_source/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadFilePath` [INFO] [stdout] --> src/learn_open_source/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | BadFilePath(PathBuf, &'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadEntry` [INFO] [stdout] --> src/learn_open_source/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | BadEntry(String, PathBuf), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadType` [INFO] [stdout] --> src/learn_open_source/error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | BadType(String, &'static str, &'static str, Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/learn_open_source/toml_demo.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/delete_node_in_a_linked_list.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/linked_list_cycle.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/merge_two_sorted_lists.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_two_lists` [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/merge_two_sorted_lists.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn merge_two_lists( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/remove_nth_node_from_end_of_list.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_nth_from_end1` [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/remove_nth_node_from_end_of_list.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn remove_nth_from_end1(mut head: Option>, n: i32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_nth_from_end` [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/remove_nth_node_from_end_of_list.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn remove_nth_from_end(mut head: Option>, n: i32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/reverse_linked_list.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_list` [INFO] [stdout] --> src/leetcode/editor/cn/easy/List/reverse_linked_list.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn reverse_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/remove_duplicates_from_sorted_array.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_duplicates` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/remove_duplicates_from_sorted_array.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn remove_duplicates(nums: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_duplicates2` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/remove_duplicates_from_sorted_array.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn remove_duplicates2(nums: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/reverse_string.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse_string` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/reverse_string.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn reverse_string(s: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `swap` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/reverse_string.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn swap(s: &mut Vec, i: usize, j: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/rotate_image.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/rotate_image.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn rotate(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_pos` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/rotate_image.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn next_pos(pos: (usize, usize), n: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/string_to_integer_atoi.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `my_atoi2` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/string_to_integer_atoi.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn my_atoi2(str: String) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `my_atoi` [INFO] [stdout] --> src/leetcode/editor/cn/easy/array/string_to_integer_atoi.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn my_atoi(str: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/min_stack.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MinStack` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/min_stack.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct MinStack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/min_stack.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: `push` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/min_stack.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn push(&mut self, x: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/min_stack.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/min_stack.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn top(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_min` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/min_stack.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_min(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/shuffle_an_array.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/shuffle_an_array.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn new(nums: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/shuffle_an_array.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn reset(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle` [INFO] [stdout] --> src/leetcode/editor/cn/easy/design/shuffle_an_array.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn shuffle(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/dy/best_time_to_buy_and_sell_stock.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_profit` [INFO] [stdout] --> src/leetcode/editor/cn/easy/dy/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/leetcode/editor/cn/easy/dy/maximum_subarray.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_sub_array` [INFO] [stdout] --> src/leetcode/editor/cn/easy/dy/maximum_subarray.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | 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/leetcode/editor/cn/easy/math/fizz_buzz.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fizz_buzz` [INFO] [stdout] --> src/leetcode/editor/cn/easy/math/fizz_buzz.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn fizz_buzz(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/math/power_of_three.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_power_of_three` [INFO] [stdout] --> src/leetcode/editor/cn/easy/math/power_of_three.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | 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/leetcode/editor/cn/easy/math/roman_to_integer.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `roman_to_int` [INFO] [stdout] --> src/leetcode/editor/cn/easy/math/roman_to_integer.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn roman_to_int(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/other/hamming_distance.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hamming_distance` [INFO] [stdout] --> src/leetcode/editor/cn/easy/other/hamming_distance.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn hamming_distance(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_one_of_num` [INFO] [stdout] --> src/leetcode/editor/cn/easy/other/hamming_distance.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn count_one_of_num(num: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/other/missing_number.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `missing_number` [INFO] [stdout] --> src/leetcode/editor/cn/easy/other/missing_number.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn missing_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/other/pascals_triangle.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate` [INFO] [stdout] --> src/leetcode/editor/cn/easy/other/pascals_triangle.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn generate(num_rows: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/search_and_sort/first_bad_version.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/binary_tree_level_order_traversal.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level_order` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/binary_tree_level_order_traversal.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn level_order(root: Option>>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/maximum_depth_of_binary_tree.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_depth` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/maximum_depth_of_binary_tree.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn max_depth(root: Option>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/symmetric_tree.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_symmetric` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/symmetric_tree.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn is_symmetric(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_symmetric2` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/symmetric_tree.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn is_symmetric2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_symmetric3` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/symmetric_tree.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn is_symmetric3(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Tree` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/symmetric_tree.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | type Tree = Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_sym` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/symmetric_tree.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | fn is_sym(p: Tree, q: Tree) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/validate_binary_search_tree.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_bst` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/validate_binary_search_tree.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn is_valid_bst(root: Option>>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_bst3` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/validate_binary_search_tree.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn is_valid_bst3( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_bst2` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/validate_binary_search_tree.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn is_valid_bst2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_bst4` [INFO] [stdout] --> src/leetcode/editor/cn/easy/tree/validate_binary_search_tree.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn is_valid_bst4( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/array_and_string/group_anagrams.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `group_anagrams` [INFO] [stdout] --> src/leetcode/editor/cn/medium/array_and_string/group_anagrams.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn group_anagrams(strs: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/array_and_string/longest_substring_without_repeating_characters.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length_of_longest_substring` [INFO] [stdout] --> src/leetcode/editor/cn/medium/array_and_string/longest_substring_without_repeating_characters.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | 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/leetcode/editor/cn/medium/array_and_string/set_matrix_zeroes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_zeroes` [INFO] [stdout] --> src/leetcode/editor/cn/medium/array_and_string/set_matrix_zeroes.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn set_zeroes(matrix: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_zero_of_row` [INFO] [stdout] --> src/leetcode/editor/cn/medium/array_and_string/set_matrix_zeroes.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn set_zero_of_row(arr: &mut Vec>, row: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_zero_of_col` [INFO] [stdout] --> src/leetcode/editor/cn/medium/array_and_string/set_matrix_zeroes.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn set_zero_of_col(arr: &mut Vec>, col: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `letter_combinations1` [INFO] [stdout] --> src/leetcode/editor/cn/medium/back_tracking/letter_combinations_of_a_phone_number.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn letter_combinations1(digits: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back_tracing` [INFO] [stdout] --> src/leetcode/editor/cn/medium/back_tracking/letter_combinations_of_a_phone_number.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn back_tracing(digits: &[u8], map: &HashMap>, s: &str, res: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/back_tracking/word_search.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exist` [INFO] [stdout] --> src/leetcode/editor/cn/medium/back_tracking/word_search.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn exist(mut board: Vec>, word: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/insert_delete_getrandom_o1.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RandomizedSet` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/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/leetcode/editor/cn/medium/design_problem/insert_delete_getrandom_o1.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/leetcode/editor/cn/medium/design_problem/insert_delete_getrandom_o1.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn insert(&self, _val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/insert_delete_getrandom_o1.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn remove(&self, _val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/insert_delete_getrandom_o1.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_random(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Codec2` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct Codec2 {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serialize` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn serialize(&self, root: Option>>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn deserialize(&self, data: String) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Codec3` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | struct Codec3 {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serialize` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn serialize(&self, root: Option>>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serialize_tree` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | fn serialize_tree(root: Option>>, res: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | fn deserialize(&self, data: String) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize_tree` [INFO] [stdout] --> src/leetcode/editor/cn/medium/design_problem/serialize_and_deserialize_binary_tree.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | fn deserialize_tree(tree: &mut Vec<&str>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/dp/jump_game.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_jump` [INFO] [stdout] --> src/leetcode/editor/cn/medium/dp/jump_game.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn can_jump(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/dp/unique_paths.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_paths` [INFO] [stdout] --> src/leetcode/editor/cn/medium/dp/unique_paths.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | 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/leetcode/editor/cn/medium/list/odd_even_linked_list.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Node` [INFO] [stdout] --> src/leetcode/editor/cn/medium/list/odd_even_linked_list.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | type Node = Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `odd_even_list` [INFO] [stdout] --> src/leetcode/editor/cn/medium/list/odd_even_linked_list.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn odd_even_list(mut head: Node) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/math/excel_sheet_column_number.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `title_to_number` [INFO] [stdout] --> src/leetcode/editor/cn/medium/math/excel_sheet_column_number.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn title_to_number(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/math/factorial_trailing_zeroes.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trailing_zeroes` [INFO] [stdout] --> src/leetcode/editor/cn/medium/math/factorial_trailing_zeroes.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn trailing_zeroes(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/math/happy_number.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_happy` [INFO] [stdout] --> src/leetcode/editor/cn/medium/math/happy_number.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn is_happy(n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_happy_2` [INFO] [stdout] --> src/leetcode/editor/cn/medium/math/happy_number.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn is_happy_2(mut n: i32, set: &mut HashSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/math/sqrtx.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `my_sqrt` [INFO] [stdout] --> src/leetcode/editor/cn/medium/math/sqrtx.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn my_sqrt(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `majority_element` [INFO] [stdout] --> src/leetcode/editor/cn/medium/other/majority_element.rs:1772:12 [INFO] [stdout] | [INFO] [stdout] 1772 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/other/task_scheduler.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `least_interval` [INFO] [stdout] --> src/leetcode/editor/cn/medium/other/task_scheduler.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | 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/leetcode/editor/cn/medium/search_and_sort/kth_largest_element_in_an_array.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_kth_largest2` [INFO] [stdout] --> src/leetcode/editor/cn/medium/search_and_sort/kth_largest_element_in_an_array.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn find_kth_largest2(mut arr: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_kth_largest` [INFO] [stdout] --> src/leetcode/editor/cn/medium/search_and_sort/kth_largest_element_in_an_array.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn find_kth_largest(mut min_heap: Vec, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/search_and_sort/merge_intervals.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge` [INFO] [stdout] --> src/leetcode/editor/cn/medium/search_and_sort/merge_intervals.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn merge(mut arr: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/search_and_sort/search_a_2d_matrix_ii.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_matrix` [INFO] [stdout] --> src/leetcode/editor/cn/medium/search_and_sort/search_a_2d_matrix_ii.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | 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/leetcode/editor/cn/medium/search_and_sort/sort_colors.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_colors` [INFO] [stdout] --> src/leetcode/editor/cn/medium/search_and_sort/sort_colors.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn sort_colors(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/binary_tree_inorder_traversal.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorder_traversal` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/binary_tree_inorder_traversal.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn inorder_traversal(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorder_traversal2` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/binary_tree_inorder_traversal.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn inorder_traversal2(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inorder` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/binary_tree_inorder_traversal.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn inorder(root: &Option>>, vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/kth_smallest_element_in_a_bst.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Node` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/kth_smallest_element_in_a_bst.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | type Node = Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kth_smallest` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/kth_smallest_element_in_a_bst.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn kth_smallest(root: Node, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kth_smallest2` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/kth_smallest_element_in_a_bst.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn kth_smallest2(root: &Node, curr: &mut i32, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/number_of_islands.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_islands` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/number_of_islands.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn num_islands(mut grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dfs` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/number_of_islands.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn dfs(grid: &mut Vec>, pos: (usize, usize)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/leetcode/editor/cn/medium/tree_and_graph/populating_next_right_pointers_in_each_node.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/data_struct/link.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | std::mem::replace(self, Self::None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/learn_open_source/toml_demo.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | de_from_file(); [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: module `ListNode` should have a snake case name [INFO] [stdout] --> src/leetcode/editor/cn/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ListNode; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `list_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TreeNode` should have a snake case name [INFO] [stdout] --> src/leetcode/editor/cn/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod TreeNode; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tree_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `List` should have a snake case name [INFO] [stdout] --> src/leetcode/editor/cn/easy/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod List; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hammingWeight` should have a snake case name [INFO] [stdout] --> src/leetcode/editor/cn/easy/other/number_of_1_bits.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn hammingWeight(n: u32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `hamming_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/sort/sort.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | while pre >= 0 && arr[pre] < curr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test_std/test_thread/proof_of_work_demo.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | tx.send(solution); [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: 152 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a3802a2c8165040b1d8a034eb9188ca29963dff41593e8a5ef5f14eca787c8ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3802a2c8165040b1d8a034eb9188ca29963dff41593e8a5ef5f14eca787c8ab", kill_on_drop: false }` [INFO] [stdout] a3802a2c8165040b1d8a034eb9188ca29963dff41593e8a5ef5f14eca787c8ab