[INFO] cloning repository https://github.com/Marcus0086/DSA
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Marcus0086/DSA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcus0086%2FDSA", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcus0086%2FDSA'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1ebc5319407c1617532989fab9889172b4439093
[INFO] testing Marcus0086/DSA against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcus0086%2FDSA" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Marcus0086/DSA
[INFO] finished tweaking git repo https://github.com/Marcus0086/DSA
[INFO] tweaked toml for git repo https://github.com/Marcus0086/DSA written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Marcus0086/DSA on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Marcus0086/DSA already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dad81af5ac708ae6424bba57f1b39c8a20fdcc1d439c2ec348160777ce32e784
[INFO] running `Command { std: "docker" "start" "-a" "dad81af5ac708ae6424bba57f1b39c8a20fdcc1d439c2ec348160777ce32e784", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dad81af5ac708ae6424bba57f1b39c8a20fdcc1d439c2ec348160777ce32e784", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dad81af5ac708ae6424bba57f1b39c8a20fdcc1d439c2ec348160777ce32e784", kill_on_drop: false }`
[INFO] [stdout] dad81af5ac708ae6424bba57f1b39c8a20fdcc1d439c2ec348160777ce32e784
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 540eac39603cd38b1d8eae3f09d390aea335179e0355f27836cd48509887faa7
[INFO] running `Command { std: "docker" "start" "-a" "540eac39603cd38b1d8eae3f09d390aea335179e0355f27836cd48509887faa7", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/array_str.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if (s.len() == 0 || s.len() == 1) {
[INFO] [stdout]    |            ^                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -         if (s.len() == 0 || s.len() == 1) {
[INFO] [stdout] 75 +         if s.len() == 0 || s.len() == 1  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/recursion.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let mut result: Vec<i32> = Vec::new();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/recursion.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let mut result: Vec<i32> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/test_all.rs:207:14
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let (mut graph, mut email_to_name) = accounts.into_iter().fold(
[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/test_all.rs:207:25
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let (mut graph, mut email_to_name) = accounts.into_iter().fold(
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array_str.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/array_str.rs:6:12
[INFO] [stdout]     |
[INFO] [stdout]   5 | impl Solution {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout]   6 |     pub fn profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  21 |     pub fn is_valid_pallindrome(s: &String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn contains_duplicate(nums: Vec<i32>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  54 |     pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn longest_pallindrome(s: String) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn majority_element(nums: Vec<i32>) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn three_sum(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn find_median_sorted_arrays(nums1: Vec<i32>, nums2: Vec<i32>) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn can_construct(ransom_note: String, magazine: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/dp.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]   --> src/dp.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn without_dp_fib(n: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn with_dp_fib_loop(n: u128) -> u128 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn with_rec_fib(n: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn dp_rec_fib_helper(n: u64, map: &mut HashMap<u64, u64>) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn dp_rec_fib(n: u64) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn climbing_stairs(n: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn max_subarray(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/graphs.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/graphs.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_neighbor`, `get_neighbors`, and `get_val` are never used
[INFO] [stdout]   --> src/graphs.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn add_neighbor(&mut self, neighbor: Rc<RefCell<Node>>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn get_neighbors(&self) -> Vec<Rc<RefCell<Node>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn get_val(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/graphs.rs:32:12
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl Solution {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout]  32 |     pub fn dfs_flood_fill(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn bfs_flood_fill(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn flood_fill_bfs(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn update_matrix(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn nearest_one(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn dfs_clone_graph(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub fn clone_graph(node: Option<Rc<RefCell<Node>>>) -> Option<Rc<RefCell<Node>>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn clone_graph_bfs(node: Option<Rc<RefCell<Node>>>) -> Option<Rc<RefCell<Node>>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn oranges_rotting(grid: Vec<Vec<i32>>) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |     pub fn num_islands_dfs(grid: &mut Vec<Vec<char>>, i: usize, j: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub fn num_islands(grid: Vec<Vec<char>>) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 336 |     pub fn exist_dfs(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 361 |     pub fn exist(board: Vec<Vec<char>>, word: String) -> bool {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 374 |     pub fn can_finish_dfs(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 406 |     pub fn can_finish(num_courses: i32, prerequisites: Vec<Vec<i32>>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 424 |     pub fn find_order(num_courses: i32, prerequisites: Vec<Vec<i32>>) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 457 |     pub fn ladder_length(begin_word: String, end_word: String, word_list: Vec<String>) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Graph` is never constructed
[INFO] [stdout]    --> src/graphs.rs:510:12
[INFO] [stdout]     |
[INFO] [stdout] 510 | pub struct Graph<VID, Edge = (), Vertices = ()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/graphs.rs:520:12
[INFO] [stdout]     |
[INFO] [stdout] 514 | / impl<
[INFO] [stdout] 515 | |         VID: std::cmp::Eq + std::hash::Hash + Copy + std::fmt::Debug,
[INFO] [stdout] 516 | |         Edge: std::fmt::Debug,
[INFO] [stdout] 517 | |         Vertices: std::fmt::Debug,
[INFO] [stdout] 518 | |     > Graph<VID, Edge, Vertices>
[INFO] [stdout]     | |________________________________- associated items in this implementation
[INFO] [stdout] 519 |   {
[INFO] [stdout] 520 |       pub fn new() -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 527 |       pub fn add_vertex(&mut self, id: VID, vertices: Vertices) {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 531 |       pub fn add_edge(&mut self, from: VID, to: VID, edge: Edge) {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 535 |       pub fn get_edges(&self) -> &HashMap<VID, Vec<(VID, Edge)>> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 539 |       pub fn bfs(&self, start: VID) -> Vec<VID> {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 562 |       pub fn dfs_helper(&self, vertex: VID, visited: &mut HashSet<VID>, result: &mut Vec<VID>) {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 574 |       pub fn dfs(&self, start: VID) -> Vec<VID> {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 581 |       pub fn topological_dfs(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 598 |       pub fn topological_sort(&self) -> Vec<VID> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/recursion.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/recursion.rs:7:12
[INFO] [stdout]     |
[INFO] [stdout]   5 | impl Solution {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout]   6 |
[INFO] [stdout]   7 |     pub fn print_desc(n: i32) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  18 |     pub fn print_asc(n: i32) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub fn exp(n: i32) -> i32 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  42 |     pub fn fact_helper(n: u128, acc: u128) -> u128 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub fn fact(n: u128) -> u128 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn fib_memo(n: u128, memo: &mut HashMap<u128, u128>) -> u128 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn fib(n: u128) -> u128 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn spell_loop(mut n: i32) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn spell_recur_helper(n: i32, spells: &HashMap<i32, String>, result: &mut String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn spell_recursion(n: i32) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn sorted_unsorted_check_helper(arr: &[i32], i: &usize) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn sorted_unsorted_check(arr: &[i32]) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn subset_helper(arr: &[i32], i: &usize, acc: &mut Vec<Vec<i32>>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn subset(arr: &[i32]) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/test_all.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/test_all.rs:8:12
[INFO] [stdout]     |
[INFO] [stdout]   7 | impl Solution {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout]   8 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     pub fn isValid(s: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  42 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn is_palindrome(s: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  78 |     pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn bfs_flood_fill(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn can_constrct(ransom: String, magazine: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn longest_pallindrome(s: String) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn can_finish(num_courses: i32, prerequisites: Vec<Vec<i32>>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn accounts_merge(accounts: Vec<Vec<String>>) -> Vec<Vec<String>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/two_sum.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `two_sum`, `two_sum_two_pass_hash`, `two_sum_one_pass_hash`, and `two_sum_two` are never used
[INFO] [stdout]   --> src/two_sum.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn two_sum_two_pass_hash(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn two_sum_one_pass_hash(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn two_sum_two(numbers: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/valid_paranthesis.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid` is never used
[INFO] [stdout]  --> src/valid_paranthesis.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn is_valid(s: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxP` should have a snake case name
[INFO] [stdout]  --> src/array_str.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let mut maxP = 0;
[INFO] [stdout]   |                 ^^^^ help: convert the identifier to snake case: `max_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isValid` should have a snake case name
[INFO] [stdout]   --> src/test_all.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn isValid(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to snake case: `is_valid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "540eac39603cd38b1d8eae3f09d390aea335179e0355f27836cd48509887faa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "540eac39603cd38b1d8eae3f09d390aea335179e0355f27836cd48509887faa7", kill_on_drop: false }`
[INFO] [stdout] 540eac39603cd38b1d8eae3f09d390aea335179e0355f27836cd48509887faa7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e35e1f65b142c036d27ec90565f2ffc775feb8a536020aac0133f96bef0ba648
[INFO] running `Command { std: "docker" "start" "-a" "e35e1f65b142c036d27ec90565f2ffc775feb8a536020aac0133f96bef0ba648", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/array_str.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if (s.len() == 0 || s.len() == 1) {
[INFO] [stdout]    |            ^                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -         if (s.len() == 0 || s.len() == 1) {
[INFO] [stdout] 75 +         if s.len() == 0 || s.len() == 1  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/recursion.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let mut result: Vec<i32> = Vec::new();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/recursion.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let mut result: Vec<i32> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/test_all.rs:207:14
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let (mut graph, mut email_to_name) = accounts.into_iter().fold(
[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/test_all.rs:207:25
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let (mut graph, mut email_to_name) = accounts.into_iter().fold(
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_anagram`, `find_median_sorted_arrays`, and `can_construct` are never used
[INFO] [stdout]    --> src/array_str.rs:54:12
[INFO] [stdout]     |
[INFO] [stdout]   5 | impl Solution {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  54 |     pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn find_median_sorted_arrays(nums1: Vec<i32>, nums2: Vec<i32>) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn can_construct(ransom_note: String, magazine: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `without_dp_fib`, `with_rec_fib`, `dp_rec_fib_helper`, and `dp_rec_fib` are never used
[INFO] [stdout]   --> src/dp.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  5 |     pub fn without_dp_fib(n: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn with_rec_fib(n: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn dp_rec_fib_helper(n: u64, map: &mut HashMap<u64, u64>) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn dp_rec_fib(n: u64) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_neighbors` is never used
[INFO] [stdout]   --> src/graphs.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Node {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn get_neighbors(&self) -> Vec<Rc<RefCell<Node>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/graphs.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl Solution {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn bfs_flood_fill(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn flood_fill_bfs(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn nearest_one(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 374 |     pub fn can_finish_dfs(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 406 |     pub fn can_finish(num_courses: i32, prerequisites: Vec<Vec<i32>>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 424 |     pub fn find_order(num_courses: i32, prerequisites: Vec<Vec<i32>>) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 457 |     pub fn ladder_length(begin_word: String, end_word: String, word_list: Vec<String>) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vertices` is never read
[INFO] [stdout]    --> src/graphs.rs:511:5
[INFO] [stdout]     |
[INFO] [stdout] 510 | pub struct Graph<VID, Edge = (), Vertices = ()> {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 511 |     vertices: HashMap<VID, Vertices>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_vertex` and `bfs` are never used
[INFO] [stdout]    --> src/graphs.rs:527:12
[INFO] [stdout]     |
[INFO] [stdout] 514 | / impl<
[INFO] [stdout] 515 | |         VID: std::cmp::Eq + std::hash::Hash + Copy + std::fmt::Debug,
[INFO] [stdout] 516 | |         Edge: std::fmt::Debug,
[INFO] [stdout] 517 | |         Vertices: std::fmt::Debug,
[INFO] [stdout] 518 | |     > Graph<VID, Edge, Vertices>
[INFO] [stdout]     | |________________________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 527 |       pub fn add_vertex(&mut self, id: VID, vertices: Vertices) {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 539 |       pub fn bfs(&self, start: VID) -> Vec<VID> {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `print_desc`, `print_asc`, and `spell_loop` are never used
[INFO] [stdout]   --> src/recursion.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  6 |
[INFO] [stdout]  7 |     pub fn print_desc(n: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn print_asc(n: i32) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn spell_loop(mut n: i32) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/test_all.rs:8:12
[INFO] [stdout]     |
[INFO] [stdout]   7 | impl Solution {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout]   8 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     pub fn isValid(s: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  42 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn is_palindrome(s: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn bfs_flood_fill(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn accounts_merge(accounts: Vec<Vec<String>>) -> Vec<Vec<String>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `two_sum_two_pass_hash` and `two_sum_two` are never used
[INFO] [stdout]   --> src/two_sum.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn two_sum_two_pass_hash(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn two_sum_two(numbers: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_two_sum_two_pass_hash` is never used
[INFO] [stdout]   --> src/main.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn test_two_sum_two_pass_hash() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `maxP` should have a snake case name
[INFO] [stdout]  --> src/array_str.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let mut maxP = 0;
[INFO] [stdout]   |                 ^^^^ help: convert the identifier to snake case: `max_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isValid` should have a snake case name
[INFO] [stdout]   --> src/test_all.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn isValid(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to snake case: `is_valid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s
[INFO] running `Command { std: "docker" "inspect" "e35e1f65b142c036d27ec90565f2ffc775feb8a536020aac0133f96bef0ba648", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e35e1f65b142c036d27ec90565f2ffc775feb8a536020aac0133f96bef0ba648", kill_on_drop: false }`
[INFO] [stdout] e35e1f65b142c036d27ec90565f2ffc775feb8a536020aac0133f96bef0ba648
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 28c598cc1613757c01f4fe1b02b160f5c26b9a9b8f3cd22de9fa0a27a7ba5ae9
[INFO] running `Command { std: "docker" "start" "-a" "28c598cc1613757c01f4fe1b02b160f5c26b9a9b8f3cd22de9fa0a27a7ba5ae9", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/array_str.rs:75:12
[INFO] [stderr]    |
[INFO] [stderr] 75 |         if (s.len() == 0 || s.len() == 1) {
[INFO] [stderr]    |            ^                            ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 75 -         if (s.len() == 0 || s.len() == 1) {
[INFO] [stderr] 75 +         if s.len() == 0 || s.len() == 1  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/recursion.rs:164:13
[INFO] [stderr]     |
[INFO] [stderr] 164 |         let mut result: Vec<i32> = Vec::new();
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]    --> src/recursion.rs:164:13
[INFO] [stderr]     |
[INFO] [stderr] 164 |         let mut result: Vec<i32> = Vec::new();
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/test_all.rs:207:14
[INFO] [stderr]     |
[INFO] [stderr] 207 |         let (mut graph, mut email_to_name) = accounts.into_iter().fold(
[INFO] [stderr]     |              ----^^^^^
[INFO] [stderr]     |              |
[INFO] [stderr]     |              help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/test_all.rs:207:25
[INFO] [stderr]     |
[INFO] [stderr] 207 |         let (mut graph, mut email_to_name) = accounts.into_iter().fold(
[INFO] [stderr]     |                         ----^^^^^^^^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_anagram`, `find_median_sorted_arrays`, and `can_construct` are never used
[INFO] [stderr]    --> src/array_str.rs:54:12
[INFO] [stderr]     |
[INFO] [stderr]   5 | impl Solution {
[INFO] [stderr]     | ------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  54 |     pub fn is_anagram(s: String, t: String) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 166 |     pub fn find_median_sorted_arrays(nums1: Vec<i32>, nums2: Vec<i32>) -> f64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 178 |     pub fn can_construct(ransom_note: String, magazine: String) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `without_dp_fib`, `with_rec_fib`, `dp_rec_fib_helper`, and `dp_rec_fib` are never used
[INFO] [stderr]   --> src/dp.rs:5:12
[INFO] [stderr]    |
[INFO] [stderr]  4 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  5 |     pub fn without_dp_fib(n: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub fn with_rec_fib(n: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn dp_rec_fib_helper(n: u64, map: &mut HashMap<u64, u64>) -> u64 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub fn dp_rec_fib(n: u64) -> u64 {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_neighbors` is never used
[INFO] [stderr]   --> src/graphs.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Node {
[INFO] [stderr]    | --------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub fn get_neighbors(&self) -> Vec<Rc<RefCell<Node>>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated functions are never used
[INFO] [stderr]    --> src/graphs.rs:63:12
[INFO] [stderr]     |
[INFO] [stderr]  31 | impl Solution {
[INFO] [stderr]     | ------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  63 |     pub fn bfs_flood_fill(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  94 |     pub fn flood_fill_bfs(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 139 |     pub fn nearest_one(mat: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 374 |     pub fn can_finish_dfs(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 406 |     pub fn can_finish(num_courses: i32, prerequisites: Vec<Vec<i32>>) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 424 |     pub fn find_order(num_courses: i32, prerequisites: Vec<Vec<i32>>) -> Vec<i32> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 457 |     pub fn ladder_length(begin_word: String, end_word: String, word_list: Vec<String>) -> i32 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `vertices` is never read
[INFO] [stderr]    --> src/graphs.rs:511:5
[INFO] [stderr]     |
[INFO] [stderr] 510 | pub struct Graph<VID, Edge = (), Vertices = ()> {
[INFO] [stderr]     |            ----- field in this struct
[INFO] [stderr] 511 |     vertices: HashMap<VID, Vertices>,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `add_vertex` and `bfs` are never used
[INFO] [stderr]    --> src/graphs.rs:527:12
[INFO] [stderr]     |
[INFO] [stderr] 514 | / impl<
[INFO] [stderr] 515 | |         VID: std::cmp::Eq + std::hash::Hash + Copy + std::fmt::Debug,
[INFO] [stderr] 516 | |         Edge: std::fmt::Debug,
[INFO] [stderr] 517 | |         Vertices: std::fmt::Debug,
[INFO] [stderr] 518 | |     > Graph<VID, Edge, Vertices>
[INFO] [stderr]     | |________________________________- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 527 |       pub fn add_vertex(&mut self, id: VID, vertices: Vertices) {
[INFO] [stderr]     |              ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 539 |       pub fn bfs(&self, start: VID) -> Vec<VID> {
[INFO] [stderr]     |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `print_desc`, `print_asc`, and `spell_loop` are never used
[INFO] [stderr]   --> src/recursion.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr]  6 |
[INFO] [stderr]  7 |     pub fn print_desc(n: i32) {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub fn print_asc(n: i32) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 77 |     pub fn spell_loop(mut n: i32) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated functions are never used
[INFO] [stderr]    --> src/test_all.rs:8:12
[INFO] [stderr]     |
[INFO] [stderr]   7 | impl Solution {
[INFO] [stderr]     | ------------- associated functions in this implementation
[INFO] [stderr]   8 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  20 |     pub fn isValid(s: String) -> bool {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  42 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  57 |     pub fn is_palindrome(s: String) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  99 |     pub fn bfs_flood_fill(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 123 |     pub fn flood_fill(image: Vec<Vec<i32>>, sr: i32, sc: i32, color: i32) -> Vec<Vec<i32>> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 206 |     pub fn accounts_merge(accounts: Vec<Vec<String>>) -> Vec<Vec<String>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `two_sum_two_pass_hash` and `two_sum_two` are never used
[INFO] [stderr]   --> src/two_sum.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn two_sum_two_pass_hash(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 51 |     pub fn two_sum_two(numbers: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_two_sum_two_pass_hash` is never used
[INFO] [stderr]   --> src/main.rs:47:8
[INFO] [stderr]    |
[INFO] [stderr] 47 |     fn test_two_sum_two_pass_hash() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `maxP` should have a snake case name
[INFO] [stderr]  --> src/array_str.rs:8:17
[INFO] [stderr]   |
[INFO] [stderr] 8 |         let mut maxP = 0;
[INFO] [stderr]   |                 ^^^^ help: convert the identifier to snake case: `max_p`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `isValid` should have a snake case name
[INFO] [stderr]   --> src/test_all.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn isValid(s: String) -> bool {
[INFO] [stderr]    |            ^^^^^^^ help: convert the identifier to snake case: `is_valid`
[INFO] [stderr] 
[INFO] [stderr] warning: `leetcode` (bin "leetcode" test) generated 17 warnings (run `cargo fix --bin "leetcode" -p leetcode --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/leetcode-3742491370f4470a)
[INFO] [stdout] 
[INFO] [stdout] running 37 tests
[INFO] [stdout] test test_all::test::test_can_finish ... ok
[INFO] [stdout] test test_all::test::test_can_construct ... ok
[INFO] [stdout] test test_all::test::test_longest_pallindrome ... ok
[INFO] [stdout] test tests::test_angram ... ok
[INFO] [stdout] test tests::test_clone_graph ... ok
[INFO] [stdout] test tests::test_climbing_stairs ... ok
[INFO] [stdout] test tests::test_contain_duplicate ... ok
[INFO] [stdout] test tests::test_clone_graph_bfs ... ok
[INFO] [stdout] test tests::test_exp ... ok
[INFO] [stdout] test tests::test_contain_duplicate_2 ... ok
[INFO] [stdout] test tests::test_factorial ... ok
[INFO] [stdout] test tests::test_fib ... ok
[INFO] [stdout] test tests::test_fibonacci ... ok
[INFO] [stdout] test tests::test_flood_fill ... ok
[INFO] [stdout] test tests::test_graph_bfs ... ok
[INFO] [stdout] test tests::test_longest_pallindrome ... ok
[INFO] [stdout] test tests::test_majority_element ... ok
[INFO] [stdout] test tests::test_max_subarray ... ok
[INFO] [stdout] test tests::test_oranges_rotting ... ok
[INFO] [stdout] test tests::test_profit ... ok
[INFO] [stdout] test tests::test_pallindrom ... ok
[INFO] [stdout] test tests::test_profit_2 ... ok
[INFO] [stdout] test tests::test_sorted_unsorted_arr_false ... ok
[INFO] [stdout] test tests::test_spell_recur ... ok
[INFO] [stdout] test tests::test_three_sum ... ok
[INFO] [stdout] test tests::test_sorted_unsorted_arr_true ... ok
[INFO] [stdout] test tests::test_subsets ... ok
[INFO] [stdout] test tests::test_topological_sort ... ok
[INFO] [stdout] test tests::test_two_sum ... ok
[INFO] [stdout] test tests::test_valid_paranthesis_3 ... ok
[INFO] [stdout] test tests::test_valid_paranthesis_2 ... ok
[INFO] [stdout] test tests::test_valid_paranthesis_4 ... ok
[INFO] [stdout] test tests::test_update_matrix ... ok
[INFO] [stdout] test tests::test_two_sum_one_pass_hash ... ok
[INFO] [stdout] test tests::test_valid_paranthesis ... ok
[INFO] [stdout] test tests::test_exist ... FAILED
[INFO] [stdout] test tests::test_num_islands ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_exist stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_exist' (34) panicked at src/graphs.rs:353:49:
[INFO] [stdout] attempt to subtract with overflow
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6314d5bb9a12 - std::backtrace_rs::backtrace::libunwind::trace::hff358a60abf734fc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6314d5bb9a12 - std::backtrace_rs::backtrace::trace_unsynchronized::h3b121f916dd95ec6
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6314d5bb9a12 - std::sys::backtrace::_print_fmt::hde0a62ded68798e9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x6314d5bb9a12 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h93773fc827e3113d
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x6314d5bca34a - core::fmt::rt::Argument::fmt::h01eff69902dad97f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x6314d5bca34a - core::fmt::write::hed7b5c73d82ecb7c
[INFO] [stdout]    6:     0x6314d5b88756 - std::io::default_write_fmt::h2f696ff5b8bbaa4b
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x6314d5b88756 - std::io::Write::write_fmt::h5e66814db8a9cfce
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x6314d5b98ef9 - std::sys::backtrace::BacktraceLock::print::h8b1d6fcc5a56d1a3
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6314d5b98ef9 - std::panicking::default_hook::{{closure}}::h2be84df4f189ae36
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6314d5b98d91 - std::panicking::default_hook::hf0ea8939246f43a9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6314d5b5d43e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h02d35e3888986252
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x6314d5b5d43e - test::test_main_with_exit_callback::{{closure}}::h939640a27d647173
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6314d5b99172 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hc9df09ff391af3e7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x6314d5b99172 - std::panicking::panic_with_hook::hb4bd9ac1123582a0
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x6314d5b98fea - std::panicking::panic_handler::{{closure}}::hde00dd15f5637fe2
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x6314d5b94549 - std::sys::backtrace::__rust_end_short_backtrace::hb72197fa777c1785
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x6314d5b7d58d - __rustc[4425a7e20b4c8619]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x6314d5bd1c8c - core::panicking::panic_fmt::ha59b517dd231f4da
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6314d5bd1969 - core::panicking::panic_const::panic_const_sub_overflow::h4fc8a8b45fa9fae9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:175:17
[INFO] [stdout]   20:     0x6314d5b27321 - leetcode::graphs::Solution::exist_dfs::h3b10d72d1ae1cdd6
[INFO] [stdout]                                at /opt/rustwide/workdir/src/graphs.rs:353:49
[INFO] [stdout]   21:     0x6314d5b27096 - leetcode::graphs::Solution::exist::h54ba62fbfaa4a341
[INFO] [stdout]                                at /opt/rustwide/workdir/src/graphs.rs:366:20
[INFO] [stdout]   22:     0x6314d5b3906d - leetcode::tests::test_exist::hd659ed1d8556bb9e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:360:20
[INFO] [stdout]   23:     0x6314d5b39137 - leetcode::tests::test_exist::{{closure}}::h8769fd1772141d40
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:354:20
[INFO] [stdout]   24:     0x6314d5b1c816 - core::ops::function::FnOnce::call_once::h9497cac841d817ae
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x6314d5b5d1fb - core::ops::function::FnOnce::call_once::hddb3cd395c36bfbb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x6314d5b5d1fb - test::__rust_begin_short_backtrace::h0b6a7601d9750bfa
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x6314d5b70c0a - test::run_test_in_process::{{closure}}::h444209903f00b347
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x6314d5b70c0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hfb3ba8f46e537649
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x6314d5b70c0a - std::panicking::catch_unwind::do_call::h1672a45911fcf9dc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x6314d5b70c0a - std::panicking::catch_unwind::h0fadaee22787a6dd
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x6314d5b70c0a - std::panic::catch_unwind::hc47ad190f2c8e188
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x6314d5b70c0a - test::run_test_in_process::hcd7faaf934f29999
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x6314d5b70c0a - test::run_test::{{closure}}::hddc4550da4871867
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x6314d5b4b064 - test::run_test::{{closure}}::h98ae26689f13ed94
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x6314d5b4b064 - std::sys::backtrace::__rust_begin_short_backtrace::h3ec4d1f21ad44588
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x6314d5b4ea02 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd8bf2c73d479939f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x6314d5b4ea02 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3b4248f358af2491
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x6314d5b4ea02 - std::panicking::catch_unwind::do_call::hda10a64f4b8daebe
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x6314d5b4ea02 - std::panicking::catch_unwind::h659e5ee8336ec8c7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x6314d5b4ea02 - std::panic::catch_unwind::h9d4d66a538912c18
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x6314d5b4ea02 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h7557906bb51d79f1
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x6314d5b4ea02 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9e460d1d7fc83d35
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x6314d5b8f7df - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h61282da819d64ea9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x6314d5b8f7df - std::sys::thread::unix::Thread::new::thread_start::h982f9ea829d1b5fb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/thread/unix.rs:127:17
[INFO] [stdout]   45:     0x7ba7ce355aa4 - <unknown>
[INFO] [stdout]   46:     0x7ba7ce3e2a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_num_islands stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_num_islands' (44) panicked at src/graphs.rs:313:41:
[INFO] [stdout] attempt to subtract with overflow
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6314d5bb9a12 - std::backtrace_rs::backtrace::libunwind::trace::hff358a60abf734fc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6314d5bb9a12 - std::backtrace_rs::backtrace::trace_unsynchronized::h3b121f916dd95ec6
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6314d5bb9a12 - std::sys::backtrace::_print_fmt::hde0a62ded68798e9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x6314d5bb9a12 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h93773fc827e3113d
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x6314d5bca34a - core::fmt::rt::Argument::fmt::h01eff69902dad97f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x6314d5bca34a - core::fmt::write::hed7b5c73d82ecb7c
[INFO] [stdout]    6:     0x6314d5b88756 - std::io::default_write_fmt::h2f696ff5b8bbaa4b
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x6314d5b88756 - std::io::Write::write_fmt::h5e66814db8a9cfce
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x6314d5b98ef9 - std::sys::backtrace::BacktraceLock::print::h8b1d6fcc5a56d1a3
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6314d5b98ef9 - std::panicking::default_hook::{{closure}}::h2be84df4f189ae36
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6314d5b98d91 - std::panicking::default_hook::hf0ea8939246f43a9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6314d5b5d43e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h02d35e3888986252
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x6314d5b5d43e - test::test_main_with_exit_callback::{{closure}}::h939640a27d647173
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6314d5b99172 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hc9df09ff391af3e7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x6314d5b99172 - std::panicking::panic_with_hook::hb4bd9ac1123582a0
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x6314d5b98fea - std::panicking::panic_handler::{{closure}}::hde00dd15f5637fe2
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x6314d5b94549 - std::sys::backtrace::__rust_end_short_backtrace::hb72197fa777c1785
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x6314d5b7d58d - __rustc[4425a7e20b4c8619]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x6314d5bd1c8c - core::panicking::panic_fmt::ha59b517dd231f4da
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6314d5bd1969 - core::panicking::panic_const::panic_const_sub_overflow::h4fc8a8b45fa9fae9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:175:17
[INFO] [stdout]   20:     0x6314d5b25de8 - leetcode::graphs::Solution::num_islands_dfs::hef07d75bd30c7036
[INFO] [stdout]                                at /opt/rustwide/workdir/src/graphs.rs:313:41
[INFO] [stdout]   21:     0x6314d5b25dc3 - leetcode::graphs::Solution::num_islands_dfs::hef07d75bd30c7036
[INFO] [stdout]                                at /opt/rustwide/workdir/src/graphs.rs:313:13
[INFO] [stdout]   22:     0x6314d5b25dc3 - leetcode::graphs::Solution::num_islands_dfs::hef07d75bd30c7036
[INFO] [stdout]                                at /opt/rustwide/workdir/src/graphs.rs:313:13
[INFO] [stdout]   23:     0x6314d5b25dfc - leetcode::graphs::Solution::num_islands_dfs::hef07d75bd30c7036
[INFO] [stdout]                                at /opt/rustwide/workdir/src/graphs.rs:314:13
[INFO] [stdout]   24:     0x6314d5b25d89 - leetcode::graphs::Solution::num_islands_dfs::hef07d75bd30c7036
[INFO] [stdout]                                at /opt/rustwide/workdir/src/graphs.rs:312:13
[INFO] [stdout]   25:     0x6314d5b25d89 - leetcode::graphs::Solution::num_islands_dfs::hef07d75bd30c7036
[INFO] [stdout]                                at /opt/rustwide/workdir/src/graphs.rs:312:13
[INFO] [stdout]   26:     0x6314d5b2370b - leetcode::graphs::Solution::num_islands::hf761d3cbb45fb3c1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/graphs.rs:328:21
[INFO] [stdout]   27:     0x6314d5b3bb14 - leetcode::tests::test_num_islands::hf886fb3650a99810
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:350:20
[INFO] [stdout]   28:     0x6314d5b3bbb7 - leetcode::tests::test_num_islands::{{closure}}::ha8c35996f6d04956
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:343:26
[INFO] [stdout]   29:     0x6314d5b1c776 - core::ops::function::FnOnce::call_once::h8de4fd43978d3d12
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   30:     0x6314d5b5d1fb - core::ops::function::FnOnce::call_once::hddb3cd395c36bfbb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   31:     0x6314d5b5d1fb - test::__rust_begin_short_backtrace::h0b6a7601d9750bfa
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:663:18
[INFO] [stdout]   32:     0x6314d5b70c0a - test::run_test_in_process::{{closure}}::h444209903f00b347
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:74
[INFO] [stdout]   33:     0x6314d5b70c0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hfb3ba8f46e537649
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   34:     0x6314d5b70c0a - std::panicking::catch_unwind::do_call::h1672a45911fcf9dc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   35:     0x6314d5b70c0a - std::panicking::catch_unwind::h0fadaee22787a6dd
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   36:     0x6314d5b70c0a - std::panic::catch_unwind::hc47ad190f2c8e188
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   37:     0x6314d5b70c0a - test::run_test_in_process::hcd7faaf934f29999
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:27
[INFO] [stdout]   38:     0x6314d5b70c0a - test::run_test::{{closure}}::hddc4550da4871867
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:607:43
[INFO] [stdout]   39:     0x6314d5b4b064 - test::run_test::{{closure}}::h98ae26689f13ed94
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:637:41
[INFO] [stdout]   40:     0x6314d5b4b064 - std::sys::backtrace::__rust_begin_short_backtrace::h3ec4d1f21ad44588
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   41:     0x6314d5b4ea02 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd8bf2c73d479939f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   42:     0x6314d5b4ea02 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3b4248f358af2491
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   43:     0x6314d5b4ea02 - std::panicking::catch_unwind::do_call::hda10a64f4b8daebe
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   44:     0x6314d5b4ea02 - std::panicking::catch_unwind::h659e5ee8336ec8c7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   45:     0x6314d5b4ea02 - std::panic::catch_unwind::h9d4d66a538912c18
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   46:     0x6314d5b4ea02 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h7557906bb51d79f1
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   47:     0x6314d5b4ea02 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9e460d1d7fc83d35
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   48:     0x6314d5b8f7df - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h61282da819d64ea9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   49:     0x6314d5b8f7df - std::sys::thread::unix::Thread::new::thread_start::h982f9ea829d1b5fb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/thread/unix.rs:127:17
[INFO] [stdout]   50:     0x7ba7ce355aa4 - <unknown>
[INFO] [stdout]   51:     0x7ba7ce3e2a64 - clone
[INFO] [stdout]   52:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_exist
[INFO] [stdout]     tests::test_num_islands
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 35 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin leetcode`
[INFO] running `Command { std: "docker" "inspect" "28c598cc1613757c01f4fe1b02b160f5c26b9a9b8f3cd22de9fa0a27a7ba5ae9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28c598cc1613757c01f4fe1b02b160f5c26b9a9b8f3cd22de9fa0a27a7ba5ae9", kill_on_drop: false }`
[INFO] [stdout] 28c598cc1613757c01f4fe1b02b160f5c26b9a9b8f3cd22de9fa0a27a7ba5ae9
