[INFO] cloning repository https://github.com/Kilerd/leetcode-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kilerd/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Fleetcode-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Fleetcode-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 187ad50d630af17e7fa02bc075d8f94e67710f15
[INFO] testing Kilerd/leetcode-rust against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Fleetcode-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Kilerd/leetcode-rust on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Kilerd/leetcode-rust
[INFO] finished tweaking git repo https://github.com/Kilerd/leetcode-rust
[INFO] tweaked toml for git repo https://github.com/Kilerd/leetcode-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Kilerd/leetcode-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 90ba470f47583e0bb587c8dcec60bcaae3503f11179554cbcdc73379fed04f4b
[INFO] running `Command { std: "docker" "start" "-a" "90ba470f47583e0bb587c8dcec60bcaae3503f11179554cbcdc73379fed04f4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90ba470f47583e0bb587c8dcec60bcaae3503f11179554cbcdc73379fed04f4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90ba470f47583e0bb587c8dcec60bcaae3503f11179554cbcdc73379fed04f4b", kill_on_drop: false }`
[INFO] [stdout] 90ba470f47583e0bb587c8dcec60bcaae3503f11179554cbcdc73379fed04f4b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08c3fe3442dc5bc9d43bfc32d760482b8767c66c1ae250d574f66c44d94f88b3
[INFO] running `Command { std: "docker" "start" "-a" "08c3fe3442dc5bc9d43bfc32d760482b8767c66c1ae250d574f66c44d94f88b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::cmp::max;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/apply_discount_every_n_orders.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ShlAssign`, `Shl`, `Shr`
[INFO] [stdout]  --> src/convert_a_number_to_hexadecimal.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Shl, ShlAssign, Shr};
[INFO] [stdout]   |                ^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked`
[INFO] [stdout]  --> src/convert_a_number_to_hexadecimal.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hint::unreachable_unchecked;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/container_with_most_water.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         /// two pointer solution
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |
[INFO] [stdout] 24 |         let mut start = 0usize;
[INFO] [stdout]    |         ----------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stdout]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 10...40 => ("X", 10),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 5...9 => ("V", 5),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 1...4 => ("I", 1),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/nim_game.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |             1...3 => true,
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::i32`
[INFO] [stdout]   --> src/reverse_integer.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         use std::i32;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]   --> src/three_sum_closest.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         use std::cmp::min;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/convert_a_number_to_hexadecimal.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         for i in 0..8 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                 ------- this range overlaps on `40_i32`...
[INFO] [stdout] 23 |                 10...40 => ("X", 10),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]    = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                 ------- this range overlaps on `50_i32`...
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                 -------- this range overlaps on `90_i32`...
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                 --------- this range overlaps on `100_i32`...
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                 ^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                 --------- this range overlaps on `400_i32`...
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                 --------- this range overlaps on `500_i32`...
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                 ---------- this range overlaps on `900_i32`...
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stdout]    |                 -------------------- this range overlaps on `1000_i32`...
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                 ^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/combination_sum.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     let mut vec1 = Solution::combination_sum(candidates.clone(), target - *x);
[INFO] [stdout]    |                         ----^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/binary_tree_level_order_traversal.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/binary_tree_level_order_traversal.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 43 |     #[inline]
[INFO] [stdout] 44 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `level_order` is never used
[INFO] [stdout]   --> src/binary_tree_level_order_traversal.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 59 |     pub fn level_order(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 42 |   #[inline]
[INFO] [stdout] 43 |   pub fn new(val: i32) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_depth` is never used
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 55 |     pub fn max_depth(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/invert_binary_tree.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/invert_binary_tree.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 47 |     #[inline]
[INFO] [stdout] 48 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `invert_tree` is never used
[INFO] [stdout]   --> src/invert_binary_tree.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 63 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/same_tree.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/same_tree.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 60 |   #[inline]
[INFO] [stdout] 61 |   pub fn new(val: i32) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_same_tree` is never used
[INFO] [stdout]   --> src/same_tree.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 75 |     pub fn is_same_tree(p: Option<Rc<RefCell<TreeNode>>>, q: Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cashier` is never constructed
[INFO] [stdout]   --> src/apply_discount_every_n_orders.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | struct Cashier {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_bill` are never used
[INFO] [stdout]    --> src/apply_discount_every_n_orders.rs:92:8
[INFO] [stdout]     |
[INFO] [stdout] 91  | impl Cashier {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 92  |     fn new(n: i32, discount: i32, products: Vec<i32>, prices: Vec<i32>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn get_bill(&mut self, product: Vec<i32>, amount: Vec<i32>) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/convert_a_number_to_hexadecimal.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_hex` is never used
[INFO] [stdout]   --> src/convert_a_number_to_hexadecimal.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 52 |     pub fn to_hex(num: i32) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/permutations.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `permute` is never used
[INFO] [stdout]   --> src/permutations.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn permute(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/add_two_number.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_two_numbers` is never used
[INFO] [stdout]   --> src/add_two_number.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn add_two_numbers(l1: Option<Box<ListNode>>, l2: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array_partition_i.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `array_pair_sum` is never used
[INFO] [stdout]  --> src/array_partition_i.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn array_pair_sum(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/big_countries.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/big_countries.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/container_with_most_water.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_area` is never used
[INFO] [stdout]   --> src/container_with_most_water.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn max_area(height: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/di_string_match.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `di_string_match` is never used
[INFO] [stdout]   --> src/di_string_match.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn di_string_match(s: String) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/divide_two_integers.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `divide` is never used
[INFO] [stdout]  --> src/divide_two_integers.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn divide(dividend: i32, divisor: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/flipping_an_image.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `flip_and_invert_image` is never used
[INFO] [stdout]  --> src/flipping_an_image.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn flip_and_invert_image(a: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/generate_parentheses.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `generate_parenthesis` is never used
[INFO] [stdout]  --> src/generate_parentheses.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn generate_parenthesis(n: i32) -> Vec<String> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hamming_distance.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `hamming_distance` is never used
[INFO] [stdout]   --> src/hamming_distance.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn hamming_distance(x: i32, y: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/implement_strstr.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `str_str` is never used
[INFO] [stdout]   --> src/implement_strstr.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn str_str(haystack: String, needle: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/integer_to_roman.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `int_to_roman` is never used
[INFO] [stdout]   --> src/integer_to_roman.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn int_to_roman(num: i32) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/jewels_and_stones.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `num_jewels_in_stones` is never used
[INFO] [stdout]  --> src/jewels_and_stones.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn num_jewels_in_stones(j: String, s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/letter_combinations_of_a_phone_number.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `letter_combinations` is never used
[INFO] [stdout]   --> src/letter_combinations_of_a_phone_number.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn letter_combinations(digits: String) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `build_from_vec` are never used
[INFO] [stdout]   --> src/list.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl ListNode {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 8  |     #[inline]
[INFO] [stdout] 9  |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn build_from_vec(vec: Vec<i32>)-> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/longest_substring_without_repeating_characters.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `length_of_longest_substring` is never used
[INFO] [stdout]   --> src/longest_substring_without_repeating_characters.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 16 |     #[inline]
[INFO] [stdout] 17 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `merge_trees` is never used
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 32 |     pub fn merge_trees(
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/nim_game.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `can_win_nim` is never used
[INFO] [stdout]  --> src/nim_game.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn can_win_nim(n: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecentCounter` is never constructed
[INFO] [stdout]  --> src/number_of_recent_calls.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct RecentCounter {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `ping` are never used
[INFO] [stdout]   --> src/number_of_recent_calls.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RecentCounter {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn ping(&mut self, t: i32) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/palindrome_number.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_palindrome` is never used
[INFO] [stdout]   --> src/palindrome_number.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn is_palindrome(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/peak_index_in_a_mountain_array.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `peak_index_in_mountain_array` is never used
[INFO] [stdout]   --> src/peak_index_in_a_mountain_array.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn peak_index_in_mountain_array(a: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/remove_duplicates_from_sorted_array.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_duplicates` is never used
[INFO] [stdout]   --> src/remove_duplicates_from_sorted_array.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/remove_element.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_element` is never used
[INFO] [stdout]   --> src/remove_element.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/reverse_integer.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reverse` is never used
[INFO] [stdout]   --> src/reverse_integer.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn reverse(x: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/robot_return_to_origin.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `judge_circle` is never used
[INFO] [stdout]  --> src/robot_return_to_origin.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn judge_circle(moves: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/search_in_rotated_sorted_array.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `rotated_index` and `search` are never used
[INFO] [stdout]   --> src/search_in_rotated_sorted_array.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 9  |     pub fn rotated_index(nums: &Vec<i32>, start: usize, end: usize) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn search(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/self_dividing_numbers.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `self_dividing_numbers` is never used
[INFO] [stdout]   --> src/self_dividing_numbers.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn self_dividing_numbers(left: i32, right: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/sort_array_by_parity.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `self_dividing_numbers` is never used
[INFO] [stdout]   --> src/sort_array_by_parity.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn self_dividing_numbers(left: i32, right: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/sort_array_by_parity_ii.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sort_array_by_parity_ii` is never used
[INFO] [stdout]   --> src/sort_array_by_parity_ii.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn sort_array_by_parity_ii(a: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/sort_colors.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sort_colors` is never used
[INFO] [stdout]   --> src/sort_colors.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string_to_integer_atoi.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `my_atoi` is never used
[INFO] [stdout]   --> src/string_to_integer_atoi.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn my_atoi(str_: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/sudoku_solver.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `solve_sudoku` and `invalid` are never used
[INFO] [stdout]   --> src/sudoku_solver.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 9  |     pub fn solve_sudoku(board: &mut Vec<Vec<char>>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn invalid(board: &Vec<Vec<char>>, x: usize, y: usize) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/three_sum.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum` is never used
[INFO] [stdout]   --> src/three_sum.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn three_sum(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/three_sum_closest.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum_closest` is never used
[INFO] [stdout]   --> src/three_sum_closest.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn three_sum_closest(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/to_lower_case.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_lower_case` is never used
[INFO] [stdout]   --> src/to_lower_case.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn to_lower_case(str: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/two_sum.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `two_sum` is never used
[INFO] [stdout]   --> src/two_sum.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/unique_email_addresses.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `num_unique_emails` is never used
[INFO] [stdout]   --> src/unique_email_addresses.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn num_unique_emails(emails: Vec<String>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/unique_morse_code_words.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unique_morse_representations` is never used
[INFO] [stdout]   --> src/unique_morse_code_words.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn unique_morse_representations(words: Vec<String>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/valid_parentheses.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid` is never used
[INFO] [stdout]   --> src/valid_parentheses.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn is_valid(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/valid_sudoku.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid_sudoku` is never used
[INFO] [stdout]  --> src/valid_sudoku.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn is_valid_sudoku(board: Vec<Vec<char>>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/zigzag_conversion.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `convert` is never used
[INFO] [stdout]   --> src/zigzag_conversion.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |
[INFO] [stdout] 11 |     pub fn convert(s: String, num_rows: i32) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/combination_sum.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `combination_sum` is never used
[INFO] [stdout]   --> src/combination_sum.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/letter_combinations_of_a_phone_number.rs:43:58
[INFO] [stdout]    |
[INFO] [stdout] 43 |                     ret.push(format!("{}{}", x.clone(), y.clone()));
[INFO] [stdout]    |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/sort_colors.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let value = if 0 <= i && i < counts[0] {
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 131 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "08c3fe3442dc5bc9d43bfc32d760482b8767c66c1ae250d574f66c44d94f88b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08c3fe3442dc5bc9d43bfc32d760482b8767c66c1ae250d574f66c44d94f88b3", kill_on_drop: false }`
[INFO] [stdout] 08c3fe3442dc5bc9d43bfc32d760482b8767c66c1ae250d574f66c44d94f88b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 375f58866a725607300516b1f555d0178ef370aae2b5a1995050e9c394a0cc11
[INFO] running `Command { std: "docker" "start" "-a" "375f58866a725607300516b1f555d0178ef370aae2b5a1995050e9c394a0cc11", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::cmp::max;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/apply_discount_every_n_orders.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ShlAssign`, `Shl`, `Shr`
[INFO] [stdout]  --> src/convert_a_number_to_hexadecimal.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Shl, ShlAssign, Shr};
[INFO] [stdout]   |                ^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked`
[INFO] [stdout]  --> src/convert_a_number_to_hexadecimal.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hint::unreachable_unchecked;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/container_with_most_water.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         /// two pointer solution
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |
[INFO] [stdout] 24 |         let mut start = 0usize;
[INFO] [stdout]    |         ----------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stdout]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 10...40 => ("X", 10),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 5...9 => ("V", 5),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 1...4 => ("I", 1),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/nim_game.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |             1...3 => true,
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::i32`
[INFO] [stdout]   --> src/reverse_integer.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         use std::i32;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]   --> src/three_sum_closest.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         use std::cmp::min;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/convert_a_number_to_hexadecimal.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         for i in 0..8 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                 ------- this range overlaps on `40_i32`...
[INFO] [stdout] 23 |                 10...40 => ("X", 10),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]    = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                 ------- this range overlaps on `50_i32`...
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                 -------- this range overlaps on `90_i32`...
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                 --------- this range overlaps on `100_i32`...
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                 ^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                 --------- this range overlaps on `400_i32`...
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                 --------- this range overlaps on `500_i32`...
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                 ---------- this range overlaps on `900_i32`...
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stdout]    |                 -------------------- this range overlaps on `1000_i32`...
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                 ^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sudoku_solver.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut expected_solution = vec![
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sudoku_solver.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut expected_solution = vec![
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/combination_sum.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     let mut vec1 = Solution::combination_sum(candidates.clone(), target - *x);
[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/invert_binary_tree.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/invert_binary_tree.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 47 |     #[inline]
[INFO] [stdout] 48 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `invert_tree` is never used
[INFO] [stdout]   --> src/invert_binary_tree.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 63 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/big_countries.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/big_countries.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/list.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl ListNode {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout] 9 |     fn new(val: i32) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 16 |     #[inline]
[INFO] [stdout] 17 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `merge_trees` is never used
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 32 |     pub fn merge_trees(
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecentCounter` is never constructed
[INFO] [stdout]  --> src/number_of_recent_calls.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct RecentCounter {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `ping` are never used
[INFO] [stdout]   --> src/number_of_recent_calls.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RecentCounter {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn ping(&mut self, t: i32) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/letter_combinations_of_a_phone_number.rs:43:58
[INFO] [stdout]    |
[INFO] [stdout] 43 |                     ret.push(format!("{}{}", x.clone(), y.clone()));
[INFO] [stdout]    |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/sort_colors.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let value = if 0 <= i && i < counts[0] {
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 44 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s
[INFO] running `Command { std: "docker" "inspect" "375f58866a725607300516b1f555d0178ef370aae2b5a1995050e9c394a0cc11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "375f58866a725607300516b1f555d0178ef370aae2b5a1995050e9c394a0cc11", kill_on_drop: false }`
[INFO] [stdout] 375f58866a725607300516b1f555d0178ef370aae2b5a1995050e9c394a0cc11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f7379a43086e9e6b5260f0f395687f0c4fa29c1ad8673e1b6c89b832fb577dcf
[INFO] running `Command { std: "docker" "start" "-a" "f7379a43086e9e6b5260f0f395687f0c4fa29c1ad8673e1b6c89b832fb577dcf", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::cmp::max`
[INFO] [stderr]   --> src/maximum_depth_of_binary_tree.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | use std::cmp::max;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/apply_discount_every_n_orders.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ShlAssign`, `Shl`, `Shr`
[INFO] [stderr]  --> src/convert_a_number_to_hexadecimal.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::{Shl, ShlAssign, Shr};
[INFO] [stderr]   |                ^^^  ^^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::hint::unreachable_unchecked`
[INFO] [stderr]  --> src/convert_a_number_to_hexadecimal.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::hint::unreachable_unchecked;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/container_with_most_water.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |         /// two pointer solution
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 23 |
[INFO] [stderr] 24 |         let mut start = 0usize;
[INFO] [stderr]    |         ----------------------- rustdoc does not generate documentation for statements
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:15:21
[INFO] [stderr]    |
[INFO] [stderr] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stderr]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:16:20
[INFO] [stderr]    |
[INFO] [stderr] 16 |                 900...1000 => ("CM", 900),
[INFO] [stderr]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:17:20
[INFO] [stderr]    |
[INFO] [stderr] 17 |                 500...900 => ("D", 500),
[INFO] [stderr]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:18:20
[INFO] [stderr]    |
[INFO] [stderr] 18 |                 400...500 => ("CD", 400),
[INFO] [stderr]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:19:20
[INFO] [stderr]    |
[INFO] [stderr] 19 |                 100...400 => ("C", 100),
[INFO] [stderr]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:20:19
[INFO] [stderr]    |
[INFO] [stderr] 20 |                 90...100 => ("XC", 90),
[INFO] [stderr]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:21:19
[INFO] [stderr]    |
[INFO] [stderr] 21 |                 50...90 => ("L", 50),
[INFO] [stderr]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:22:19
[INFO] [stderr]    |
[INFO] [stderr] 22 |                 40...50 => ("XL", 40),
[INFO] [stderr]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:23:19
[INFO] [stderr]    |
[INFO] [stderr] 23 |                 10...40 => ("X", 10),
[INFO] [stderr]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:25:18
[INFO] [stderr]    |
[INFO] [stderr] 25 |                 5...9 => ("V", 5),
[INFO] [stderr]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:27:18
[INFO] [stderr]    |
[INFO] [stderr] 27 |                 1...4 => ("I", 1),
[INFO] [stderr]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/nim_game.rs:11:14
[INFO] [stderr]    |
[INFO] [stderr] 11 |             1...3 => true,
[INFO] [stderr]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::i32`
[INFO] [stderr]   --> src/reverse_integer.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 |         use std::i32;
[INFO] [stderr]    |             ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::min`
[INFO] [stderr]   --> src/three_sum_closest.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 |         use std::cmp::min;
[INFO] [stderr]    |             ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/convert_a_number_to_hexadecimal.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |         for i in 0..8 {
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:23:17
[INFO] [stderr]    |
[INFO] [stderr] 22 |                 40...50 => ("XL", 40),
[INFO] [stderr]    |                 ------- this range overlaps on `40_i32`...
[INFO] [stderr] 23 |                 10...40 => ("X", 10),
[INFO] [stderr]    |                 ^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr]    = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:22:17
[INFO] [stderr]    |
[INFO] [stderr] 21 |                 50...90 => ("L", 50),
[INFO] [stderr]    |                 ------- this range overlaps on `50_i32`...
[INFO] [stderr] 22 |                 40...50 => ("XL", 40),
[INFO] [stderr]    |                 ^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:21:17
[INFO] [stderr]    |
[INFO] [stderr] 20 |                 90...100 => ("XC", 90),
[INFO] [stderr]    |                 -------- this range overlaps on `90_i32`...
[INFO] [stderr] 21 |                 50...90 => ("L", 50),
[INFO] [stderr]    |                 ^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:20:17
[INFO] [stderr]    |
[INFO] [stderr] 19 |                 100...400 => ("C", 100),
[INFO] [stderr]    |                 --------- this range overlaps on `100_i32`...
[INFO] [stderr] 20 |                 90...100 => ("XC", 90),
[INFO] [stderr]    |                 ^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:19:17
[INFO] [stderr]    |
[INFO] [stderr] 18 |                 400...500 => ("CD", 400),
[INFO] [stderr]    |                 --------- this range overlaps on `400_i32`...
[INFO] [stderr] 19 |                 100...400 => ("C", 100),
[INFO] [stderr]    |                 ^^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:18:17
[INFO] [stderr]    |
[INFO] [stderr] 17 |                 500...900 => ("D", 500),
[INFO] [stderr]    |                 --------- this range overlaps on `500_i32`...
[INFO] [stderr] 18 |                 400...500 => ("CD", 400),
[INFO] [stderr]    |                 ^^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:17:17
[INFO] [stderr]    |
[INFO] [stderr] 16 |                 900...1000 => ("CM", 900),
[INFO] [stderr]    |                 ---------- this range overlaps on `900_i32`...
[INFO] [stderr] 17 |                 500...900 => ("D", 500),
[INFO] [stderr]    |                 ^^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:16:17
[INFO] [stderr]    |
[INFO] [stderr] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stderr]    |                 -------------------- this range overlaps on `1000_i32`...
[INFO] [stderr] 16 |                 900...1000 => ("CM", 900),
[INFO] [stderr]    |                 ^^^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/sudoku_solver.rs:106:13
[INFO] [stderr]     |
[INFO] [stderr] 106 |         let mut expected_solution = vec![
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/sudoku_solver.rs:122:13
[INFO] [stderr]     |
[INFO] [stderr] 122 |         let mut expected_solution = vec![
[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/combination_sum.rs:16:25
[INFO] [stderr]    |
[INFO] [stderr] 16 |                     let mut vec1 = Solution::combination_sum(candidates.clone(), target - *x);
[INFO] [stderr]    |                         ----^^^^
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]   --> src/invert_binary_tree.rs:37:8
[INFO] [stderr]    |
[INFO] [stderr] 37 | struct Solution;
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/invert_binary_tree.rs:48:12
[INFO] [stderr]    |
[INFO] [stderr] 46 | impl TreeNode {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 47 |     #[inline]
[INFO] [stderr] 48 |     pub fn new(val: i32) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `invert_tree` is never used
[INFO] [stderr]   --> src/invert_binary_tree.rs:63:12
[INFO] [stderr]    |
[INFO] [stderr] 62 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 63 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/big_countries.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/big_countries.rs:10:4
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]  --> src/list.rs:9:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | impl ListNode {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 8 |     #[inline]
[INFO] [stderr] 9 |     fn new(val: i32) -> Self {
[INFO] [stderr]   |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/merge_two_binary_trees.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl TreeNode {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 16 |     #[inline]
[INFO] [stderr] 17 |     pub fn new(val: i32) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]   --> src/merge_two_binary_trees.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 | struct Solution;
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `merge_trees` is never used
[INFO] [stderr]   --> src/merge_two_binary_trees.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 32 |     pub fn merge_trees(
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RecentCounter` is never constructed
[INFO] [stderr]  --> src/number_of_recent_calls.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct RecentCounter {
[INFO] [stderr]   |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `ping` are never used
[INFO] [stderr]   --> src/number_of_recent_calls.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl RecentCounter {
[INFO] [stderr]    | ------------------ associated items in this implementation
[INFO] [stderr] 12 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 16 |     fn ping(&mut self, t: i32) -> i32 {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/letter_combinations_of_a_phone_number.rs:43:58
[INFO] [stderr]    |
[INFO] [stderr] 43 |                     ret.push(format!("{}{}", x.clone(), y.clone()));
[INFO] [stderr]    |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> src/sort_colors.rs:19:28
[INFO] [stderr]    |
[INFO] [stderr] 19 |             let value = if 0 <= i && i < counts[0] {
[INFO] [stderr]    |                            ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `leetcode` (bin "leetcode" test) generated 44 warnings (run `cargo fix --bin "leetcode" --tests` to apply 22 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-5b7128be0034ef03)
[INFO] [stdout] 
[INFO] [stdout] running 113 tests
[INFO] [stdout] test add_two_number::test::should_return_01 ... ok
[INFO] [stdout] test add_two_number::test::should_return_708 ... ok
[INFO] [stdout] test apply_discount_every_n_orders::test::test1 ... ok
[INFO] [stdout] test binary_tree_level_order_traversal::test::test2 ... ok
[INFO] [stdout] test convert_a_number_to_hexadecimal::test::test3 ... ok
[INFO] [stdout] test di_string_match::ddi ... ok
[INFO] [stdout] test di_string_match::idid ... ok
[INFO] [stdout] test array_partition_i::test1 ... ok
[INFO] [stdout] test divide_two_integers::test::test3 ... ok
[INFO] [stdout] test divide_two_integers::test::test4 ... ok
[INFO] [stdout] test divide_two_integers::test::test5 ... ok
[INFO] [stdout] test divide_two_integers::test::test2 ... ok
[INFO] [stdout] test generate_parentheses::test::test ... ok
[INFO] [stdout] test combination_sum::all_test ... ok
[INFO] [stdout] test generate_parentheses::test::test_n_equals_0 ... ok
[INFO] [stdout] test divide_two_integers::test::test8 ... ok
[INFO] [stdout] test hamming_distance::test ... ok
[INFO] [stdout] test implement_strstr::test::test1 ... ok
[INFO] [stdout] test di_string_match::iii ... ok
[INFO] [stdout] test implement_strstr::test::test2 ... ok
[INFO] [stdout] test divide_two_integers::test::test9 ... ok
[INFO] [stdout] test divide_two_integers::test::test1 ... ok
[INFO] [stdout] test flipping_an_image::test1 ... ok
[INFO] [stdout] test flipping_an_image::test2 ... ok
[INFO] [stdout] test divide_two_integers::test::test6 ... ok
[INFO] [stdout] test divide_two_integers::test::test7 ... ok
[INFO] [stdout] test convert_a_number_to_hexadecimal::test::test2 ... ok
[INFO] [stdout] test convert_a_number_to_hexadecimal::test::test1 ... ok
[INFO] [stdout] test implement_strstr::test::test5 ... ok
[INFO] [stdout] test implement_strstr::test::test7 ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_iv_given_4 ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_iii_given_3 ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_lviii_given_58 ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_ix_given_9 ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_mcmxciv_given_1994 ... ok
[INFO] [stdout] test jewels_and_stones::all_test ... ok
[INFO] [stdout] test implement_strstr::test::test6 ... ok
[INFO] [stdout] test letter_combinations_of_a_phone_number::test::should_work_with_one_letter ... ok
[INFO] [stdout] test container_with_most_water::test::test ... ok
[INFO] [stdout] test implement_strstr::test::test4 ... ok
[INFO] [stdout] test implement_strstr::test::test3 ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_0_given_empty ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_1_given_bbbbb ... ok
[INFO] [stdout] test maximum_depth_of_binary_tree::test::test2 ... ok
[INFO] [stdout] test maximum_depth_of_binary_tree::test::test ... ok
[INFO] [stdout] test palindrome_number::test::should_return_false_given_negative_number ... ok
[INFO] [stdout] test letter_combinations_of_a_phone_number::test::should_work_with_two_letter_with_invalid_letter ... ok
[INFO] [stdout] test nim_game::test ... ok
[INFO] [stdout] test palindrome_number::test::should_return_true_given_121 ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_3_given_pwwkew ... ok
[INFO] [stdout] test palindrome_number::test::should_return_false_given_10 ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_3_given_abcabcbb ... ok
[INFO] [stdout] test peak_index_in_a_mountain_array::test1 ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_0_given_empty_string ... ok
[INFO] [stdout] test palindrome_number::test::should_return_true_given_zero ... ok
[INFO] [stdout] test letter_combinations_of_a_phone_number::test::should_work_with_two_letter ... ok
[INFO] [stdout] test peak_index_in_a_mountain_array::test2 ... ok
[INFO] [stdout] test remove_duplicates_from_sorted_array::test::should_return_2_given_1_1_2 ... ok
[INFO] [stdout] test remove_duplicates_from_sorted_array::test::should_return_5_given_0_0_1_1_1_2_2_3_3_4 ... ok
[INFO] [stdout] test remove_element::test::test1 ... ok
[INFO] [stdout] test remove_element::test::test2 ... ok
[INFO] [stdout] test reverse_integer::test::should_return_0_given_1534236469 ... ok
[INFO] [stdout] test permutations::test::test ... ok
[INFO] [stdout] test reverse_integer::test::should_return_21_given_120 ... ok
[INFO] [stdout] test reverse_integer::test::should_return_321_given_123 ... ok
[INFO] [stdout] test reverse_integer::test::should_return_negative_321_given_negative_123 ... ok
[INFO] [stdout] test robot_return_to_origin::test ... ok
[INFO] [stdout] test same_tree::test::test ... ok
[INFO] [stdout] test same_tree::test::test2 ... ok
[INFO] [stdout] test same_tree::test::test3 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test2 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test3 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test5 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test4 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test6 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test_rotated ... ok
[INFO] [stdout] test self_dividing_numbers::test1 ... ok
[INFO] [stdout] test sort_array_by_parity_ii::test1 ... ok
[INFO] [stdout] test sort_colors::test::should_sort_given_non_sorted_vec ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_check_overflow ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_get_zero_with_internal_space ... ok
[INFO] [stdout] test sort_array_by_parity::test1 ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_get_zero_with_prefix_words ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_add_mark ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_both_add_minus_mark ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_minus_mark ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_normal_number ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_postfix_external_words ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_prefix_space ... ok
[INFO] [stdout] test string_to_integer_atoi::test::test ... ok
[INFO] [stdout] test three_sum::test::test2 ... ok
[INFO] [stdout] test two_sum::test2 ... ok
[INFO] [stdout] test three_sum::test::test ... ok
[INFO] [stdout] test two_sum::test3 ... ok
[INFO] [stdout] test unique_email_addresses::test ... ok
[INFO] [stdout] test sudoku_solver::test::test_invalid_method ... ok
[INFO] [stdout] test valid_parentheses::test::test1 ... ok
[INFO] [stdout] test to_lower_case::test ... ok
[INFO] [stdout] test valid_parentheses::test::test2 ... ok
[INFO] [stdout] test valid_parentheses::test::test3 ... ok
[INFO] [stdout] test binary_tree_level_order_traversal::test::test ... FAILED
[INFO] [stdout] test unique_morse_code_words::test1 ... ok
[INFO] [stdout] test two_sum::test1 ... ok
[INFO] [stdout] test valid_parentheses::test::test5 ... ok
[INFO] [stdout] test valid_parentheses::test::test4 ... ok
[INFO] [stdout] test three_sum_closest::test::test ... ok
[INFO] [stdout] test zigzag_conversion::test::should_it_works ... ok
[INFO] [stdout] test zigzag_conversion::test::should_it_works_too ... ok
[INFO] [stdout] test zigzag_conversion::test::show_return_itself_when_number_is_1 ... ok
[INFO] [stdout] test valid_sudoku::test::test ... ok
[INFO] [stdout] test valid_sudoku::test::test2 ... ok
[INFO] [stdout] test sudoku_solver::test::test ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- binary_tree_level_order_traversal::test::test stdout ----
[INFO] [stdout] thread 'binary_tree_level_order_traversal::test::test' panicked at src/binary_tree_level_order_traversal.rs:130:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: [[3], [9, 20], [15, 7]]
[INFO] [stdout]  right: [[3], [20, 9], [15, 7]]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55f1bcd57db5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55f1bcd57db5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55f1bcd57db5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55f1bcd57db5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55f1bcd7f20b - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55f1bcd7f20b - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55f1bcd555ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55f1bcd57b8e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55f1bcd57b8e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55f1bcd595b9 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55f1bcd5927e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55f1bcd2a4da - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55f1bcd2a4da - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55f1bcd59bbb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55f1bcd59bbb - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55f1bcd59934 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x55f1bcd58279 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55f1bcd59667 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x55f1bcc9e8a3 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55f1bcc9ec8e - core::panicking::assert_failed_inner::h01c8f7f0c1caba58
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:408:17
[INFO] [stdout]   20:     0x55f1bccf50fe - core::panicking::assert_failed::h17e0b795331bf871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:363:5
[INFO] [stdout]   21:     0x55f1bccc36ac - leetcode::binary_tree_level_order_traversal::test::test::hd295fc48534f051a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/binary_tree_level_order_traversal.rs:130:9
[INFO] [stdout]   22:     0x55f1bccc2e77 - leetcode::binary_tree_level_order_traversal::test::test::{{closure}}::h8cf00f6936a9fb17
[INFO] [stdout]                                at /opt/rustwide/workdir/src/binary_tree_level_order_traversal.rs:109:14
[INFO] [stdout]   23:     0x55f1bccf1066 - core::ops::function::FnOnce::call_once::h496e49f1ff9fadc5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55f1bcd2eebb - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55f1bcd2eebb - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x55f1bcd2e5c1 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x55f1bcd2e5c1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x55f1bcd2e5c1 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x55f1bcd2e5c1 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x55f1bcd2e5c1 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x55f1bcd2e5c1 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x55f1bcd2e5c1 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x55f1bccf6f84 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x55f1bccf6f84 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x55f1bccfb9b2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x55f1bccfb9b2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x55f1bccfb9b2 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x55f1bccfb9b2 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x55f1bccfb9b2 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x55f1bccfb9b2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x55f1bccfb9b2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55f1bcd5dd9b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x55f1bcd5dd9b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x55f1bcd5dd9b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f323eda2ac3 - <unknown>
[INFO] [stdout]   46:     0x7f323ee33a04 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     binary_tree_level_order_traversal::test::test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 112 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin leetcode`
[INFO] running `Command { std: "docker" "inspect" "f7379a43086e9e6b5260f0f395687f0c4fa29c1ad8673e1b6c89b832fb577dcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7379a43086e9e6b5260f0f395687f0c4fa29c1ad8673e1b6c89b832fb577dcf", kill_on_drop: false }`
[INFO] [stdout] f7379a43086e9e6b5260f0f395687f0c4fa29c1ad8673e1b6c89b832fb577dcf
[INFO] testing Kilerd/leetcode-rust against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Fleetcode-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Kilerd/leetcode-rust on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Kilerd/leetcode-rust
[INFO] finished tweaking git repo https://github.com/Kilerd/leetcode-rust
[INFO] tweaked toml for git repo https://github.com/Kilerd/leetcode-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Kilerd/leetcode-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e0b41f1f75b26e1f315171f5e443d22ec2bd92e872994c77fb6cada8dba14165
[INFO] running `Command { std: "docker" "start" "-a" "e0b41f1f75b26e1f315171f5e443d22ec2bd92e872994c77fb6cada8dba14165", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0b41f1f75b26e1f315171f5e443d22ec2bd92e872994c77fb6cada8dba14165", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0b41f1f75b26e1f315171f5e443d22ec2bd92e872994c77fb6cada8dba14165", kill_on_drop: false }`
[INFO] [stdout] e0b41f1f75b26e1f315171f5e443d22ec2bd92e872994c77fb6cada8dba14165
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3ae69a30ecbdc19ca2561b474847157031890709f5ab055065dfde5b9384d17d
[INFO] running `Command { std: "docker" "start" "-a" "3ae69a30ecbdc19ca2561b474847157031890709f5ab055065dfde5b9384d17d", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::cmp::max;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/apply_discount_every_n_orders.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ShlAssign`, `Shl`, `Shr`
[INFO] [stdout]  --> src/convert_a_number_to_hexadecimal.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Shl, ShlAssign, Shr};
[INFO] [stdout]   |                ^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked`
[INFO] [stdout]  --> src/convert_a_number_to_hexadecimal.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hint::unreachable_unchecked;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/container_with_most_water.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         /// two pointer solution
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |
[INFO] [stdout] 24 |         let mut start = 0usize;
[INFO] [stdout]    |         ----------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stdout]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 10...40 => ("X", 10),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 5...9 => ("V", 5),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 1...4 => ("I", 1),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/nim_game.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |             1...3 => true,
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::i32`
[INFO] [stdout]   --> src/reverse_integer.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         use std::i32;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]   --> src/three_sum_closest.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         use std::cmp::min;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/convert_a_number_to_hexadecimal.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         for i in 0..8 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                 ------- this range overlaps on `40_i32`...
[INFO] [stdout] 23 |                 10...40 => ("X", 10),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]    = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                 ------- this range overlaps on `50_i32`...
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                 -------- this range overlaps on `90_i32`...
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                 --------- this range overlaps on `100_i32`...
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                 ^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                 --------- this range overlaps on `400_i32`...
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                 --------- this range overlaps on `500_i32`...
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                 ---------- this range overlaps on `900_i32`...
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stdout]    |                 -------------------- this range overlaps on `1000_i32`...
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                 ^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/combination_sum.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     let mut vec1 = Solution::combination_sum(candidates.clone(), target - *x);
[INFO] [stdout]    |                         ----^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/binary_tree_level_order_traversal.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/binary_tree_level_order_traversal.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 43 |     #[inline]
[INFO] [stdout] 44 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `level_order` is never used
[INFO] [stdout]   --> src/binary_tree_level_order_traversal.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 59 |     pub fn level_order(root: Option<Rc<RefCell<TreeNode>>>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 42 |   #[inline]
[INFO] [stdout] 43 |   pub fn new(val: i32) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_depth` is never used
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 55 |     pub fn max_depth(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/invert_binary_tree.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/invert_binary_tree.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 47 |     #[inline]
[INFO] [stdout] 48 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `invert_tree` is never used
[INFO] [stdout]   --> src/invert_binary_tree.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 63 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/same_tree.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/same_tree.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 60 |   #[inline]
[INFO] [stdout] 61 |   pub fn new(val: i32) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_same_tree` is never used
[INFO] [stdout]   --> src/same_tree.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 75 |     pub fn is_same_tree(p: Option<Rc<RefCell<TreeNode>>>, q: Option<Rc<RefCell<TreeNode>>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cashier` is never constructed
[INFO] [stdout]   --> src/apply_discount_every_n_orders.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | struct Cashier {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_bill` are never used
[INFO] [stdout]    --> src/apply_discount_every_n_orders.rs:92:8
[INFO] [stdout]     |
[INFO] [stdout] 91  | impl Cashier {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 92  |     fn new(n: i32, discount: i32, products: Vec<i32>, prices: Vec<i32>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn get_bill(&mut self, product: Vec<i32>, amount: Vec<i32>) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/convert_a_number_to_hexadecimal.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_hex` is never used
[INFO] [stdout]   --> src/convert_a_number_to_hexadecimal.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 52 |     pub fn to_hex(num: i32) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/permutations.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `permute` is never used
[INFO] [stdout]   --> src/permutations.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn permute(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/add_two_number.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_two_numbers` is never used
[INFO] [stdout]   --> src/add_two_number.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn add_two_numbers(l1: Option<Box<ListNode>>, l2: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/array_partition_i.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `array_pair_sum` is never used
[INFO] [stdout]  --> src/array_partition_i.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn array_pair_sum(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/big_countries.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/big_countries.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/container_with_most_water.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_area` is never used
[INFO] [stdout]   --> src/container_with_most_water.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn max_area(height: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/di_string_match.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `di_string_match` is never used
[INFO] [stdout]   --> src/di_string_match.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn di_string_match(s: String) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/divide_two_integers.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `divide` is never used
[INFO] [stdout]  --> src/divide_two_integers.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn divide(dividend: i32, divisor: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/flipping_an_image.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `flip_and_invert_image` is never used
[INFO] [stdout]  --> src/flipping_an_image.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn flip_and_invert_image(a: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/generate_parentheses.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `generate_parenthesis` is never used
[INFO] [stdout]  --> src/generate_parentheses.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn generate_parenthesis(n: i32) -> Vec<String> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/hamming_distance.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `hamming_distance` is never used
[INFO] [stdout]   --> src/hamming_distance.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn hamming_distance(x: i32, y: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/implement_strstr.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `str_str` is never used
[INFO] [stdout]   --> src/implement_strstr.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn str_str(haystack: String, needle: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/integer_to_roman.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `int_to_roman` is never used
[INFO] [stdout]   --> src/integer_to_roman.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn int_to_roman(num: i32) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/jewels_and_stones.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `num_jewels_in_stones` is never used
[INFO] [stdout]  --> src/jewels_and_stones.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn num_jewels_in_stones(j: String, s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/letter_combinations_of_a_phone_number.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `letter_combinations` is never used
[INFO] [stdout]   --> src/letter_combinations_of_a_phone_number.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn letter_combinations(digits: String) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `build_from_vec` are never used
[INFO] [stdout]   --> src/list.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl ListNode {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 8  |     #[inline]
[INFO] [stdout] 9  |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn build_from_vec(vec: Vec<i32>)-> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/longest_substring_without_repeating_characters.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `length_of_longest_substring` is never used
[INFO] [stdout]   --> src/longest_substring_without_repeating_characters.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 16 |     #[inline]
[INFO] [stdout] 17 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `merge_trees` is never used
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 32 |     pub fn merge_trees(
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/nim_game.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `can_win_nim` is never used
[INFO] [stdout]  --> src/nim_game.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn can_win_nim(n: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecentCounter` is never constructed
[INFO] [stdout]  --> src/number_of_recent_calls.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct RecentCounter {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `ping` are never used
[INFO] [stdout]   --> src/number_of_recent_calls.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RecentCounter {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn ping(&mut self, t: i32) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/palindrome_number.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_palindrome` is never used
[INFO] [stdout]   --> src/palindrome_number.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn is_palindrome(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/peak_index_in_a_mountain_array.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `peak_index_in_mountain_array` is never used
[INFO] [stdout]   --> src/peak_index_in_a_mountain_array.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn peak_index_in_mountain_array(a: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/remove_duplicates_from_sorted_array.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_duplicates` is never used
[INFO] [stdout]   --> src/remove_duplicates_from_sorted_array.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/remove_element.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `remove_element` is never used
[INFO] [stdout]   --> src/remove_element.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn remove_element(nums: &mut Vec<i32>, val: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/reverse_integer.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reverse` is never used
[INFO] [stdout]   --> src/reverse_integer.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn reverse(x: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/robot_return_to_origin.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `judge_circle` is never used
[INFO] [stdout]  --> src/robot_return_to_origin.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn judge_circle(moves: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/search_in_rotated_sorted_array.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `rotated_index` and `search` are never used
[INFO] [stdout]   --> src/search_in_rotated_sorted_array.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 9  |     pub fn rotated_index(nums: &Vec<i32>, start: usize, end: usize) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn search(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/self_dividing_numbers.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `self_dividing_numbers` is never used
[INFO] [stdout]   --> src/self_dividing_numbers.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn self_dividing_numbers(left: i32, right: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/sort_array_by_parity.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `self_dividing_numbers` is never used
[INFO] [stdout]   --> src/sort_array_by_parity.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn self_dividing_numbers(left: i32, right: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/sort_array_by_parity_ii.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sort_array_by_parity_ii` is never used
[INFO] [stdout]   --> src/sort_array_by_parity_ii.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn sort_array_by_parity_ii(a: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/sort_colors.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sort_colors` is never used
[INFO] [stdout]   --> src/sort_colors.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/string_to_integer_atoi.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `my_atoi` is never used
[INFO] [stdout]   --> src/string_to_integer_atoi.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn my_atoi(str_: String) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/sudoku_solver.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `solve_sudoku` and `invalid` are never used
[INFO] [stdout]   --> src/sudoku_solver.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 9  |     pub fn solve_sudoku(board: &mut Vec<Vec<char>>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn invalid(board: &Vec<Vec<char>>, x: usize, y: usize) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/three_sum.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum` is never used
[INFO] [stdout]   --> src/three_sum.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn three_sum(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/three_sum_closest.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum_closest` is never used
[INFO] [stdout]   --> src/three_sum_closest.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn three_sum_closest(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/to_lower_case.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_lower_case` is never used
[INFO] [stdout]   --> src/to_lower_case.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn to_lower_case(str: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/two_sum.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `two_sum` is never used
[INFO] [stdout]   --> src/two_sum.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/unique_email_addresses.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `num_unique_emails` is never used
[INFO] [stdout]   --> src/unique_email_addresses.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn num_unique_emails(emails: Vec<String>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/unique_morse_code_words.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution();
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unique_morse_representations` is never used
[INFO] [stdout]   --> src/unique_morse_code_words.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn unique_morse_representations(words: Vec<String>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/valid_parentheses.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid` is never used
[INFO] [stdout]   --> src/valid_parentheses.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn is_valid(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/valid_sudoku.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid_sudoku` is never used
[INFO] [stdout]  --> src/valid_sudoku.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn is_valid_sudoku(board: Vec<Vec<char>>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/zigzag_conversion.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `convert` is never used
[INFO] [stdout]   --> src/zigzag_conversion.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 10 |
[INFO] [stdout] 11 |     pub fn convert(s: String, num_rows: i32) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/combination_sum.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `combination_sum` is never used
[INFO] [stdout]   --> src/combination_sum.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/letter_combinations_of_a_phone_number.rs:43:58
[INFO] [stdout]    |
[INFO] [stdout] 43 |                     ret.push(format!("{}{}", x.clone(), y.clone()));
[INFO] [stdout]    |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/sort_colors.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let value = if 0 <= i && i < counts[0] {
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 131 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "3ae69a30ecbdc19ca2561b474847157031890709f5ab055065dfde5b9384d17d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ae69a30ecbdc19ca2561b474847157031890709f5ab055065dfde5b9384d17d", kill_on_drop: false }`
[INFO] [stdout] 3ae69a30ecbdc19ca2561b474847157031890709f5ab055065dfde5b9384d17d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7374792ab429452d728604366e9e1c2b8c466e6d7fba7b97439a77771249eb0c
[INFO] running `Command { std: "docker" "start" "-a" "7374792ab429452d728604366e9e1c2b8c466e6d7fba7b97439a77771249eb0c", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]   --> src/maximum_depth_of_binary_tree.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::cmp::max;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/apply_discount_every_n_orders.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ShlAssign`, `Shl`, `Shr`
[INFO] [stdout]  --> src/convert_a_number_to_hexadecimal.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Shl, ShlAssign, Shr};
[INFO] [stdout]   |                ^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked`
[INFO] [stdout]  --> src/convert_a_number_to_hexadecimal.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hint::unreachable_unchecked;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/container_with_most_water.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         /// two pointer solution
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |
[INFO] [stdout] 24 |         let mut start = 0usize;
[INFO] [stdout]    |         ----------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stdout]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 10...40 => ("X", 10),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 5...9 => ("V", 5),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/integer_to_roman.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 1...4 => ("I", 1),
[INFO] [stdout]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/nim_game.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |             1...3 => true,
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::i32`
[INFO] [stdout]   --> src/reverse_integer.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         use std::i32;
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]   --> src/three_sum_closest.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         use std::cmp::min;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/convert_a_number_to_hexadecimal.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         for i in 0..8 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                 ------- this range overlaps on `40_i32`...
[INFO] [stdout] 23 |                 10...40 => ("X", 10),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]    = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                 ------- this range overlaps on `50_i32`...
[INFO] [stdout] 22 |                 40...50 => ("XL", 40),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                 -------- this range overlaps on `90_i32`...
[INFO] [stdout] 21 |                 50...90 => ("L", 50),
[INFO] [stdout]    |                 ^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                 --------- this range overlaps on `100_i32`...
[INFO] [stdout] 20 |                 90...100 => ("XC", 90),
[INFO] [stdout]    |                 ^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                 --------- this range overlaps on `400_i32`...
[INFO] [stdout] 19 |                 100...400 => ("C", 100),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                 --------- this range overlaps on `500_i32`...
[INFO] [stdout] 18 |                 400...500 => ("CD", 400),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                 ---------- this range overlaps on `900_i32`...
[INFO] [stdout] 17 |                 500...900 => ("D", 500),
[INFO] [stdout]    |                 ^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]   --> src/integer_to_roman.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stdout]    |                 -------------------- this range overlaps on `1000_i32`...
[INFO] [stdout] 16 |                 900...1000 => ("CM", 900),
[INFO] [stdout]    |                 ^^^^^^^^^^ ... with this range
[INFO] [stdout]    |
[INFO] [stdout]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sudoku_solver.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut expected_solution = vec![
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sudoku_solver.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut expected_solution = vec![
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/combination_sum.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     let mut vec1 = Solution::combination_sum(candidates.clone(), target - *x);
[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/invert_binary_tree.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/invert_binary_tree.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 47 |     #[inline]
[INFO] [stdout] 48 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `invert_tree` is never used
[INFO] [stdout]   --> src/invert_binary_tree.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 63 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/big_countries.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/big_countries.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/list.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl ListNode {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout] 9 |     fn new(val: i32) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TreeNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 16 |     #[inline]
[INFO] [stdout] 17 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `merge_trees` is never used
[INFO] [stdout]   --> src/merge_two_binary_trees.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 32 |     pub fn merge_trees(
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecentCounter` is never constructed
[INFO] [stdout]  --> src/number_of_recent_calls.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct RecentCounter {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `ping` are never used
[INFO] [stdout]   --> src/number_of_recent_calls.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RecentCounter {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn ping(&mut self, t: i32) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/letter_combinations_of_a_phone_number.rs:43:58
[INFO] [stdout]    |
[INFO] [stdout] 43 |                     ret.push(format!("{}{}", x.clone(), y.clone()));
[INFO] [stdout]    |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/sort_colors.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let value = if 0 <= i && i < counts[0] {
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 44 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "7374792ab429452d728604366e9e1c2b8c466e6d7fba7b97439a77771249eb0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7374792ab429452d728604366e9e1c2b8c466e6d7fba7b97439a77771249eb0c", kill_on_drop: false }`
[INFO] [stdout] 7374792ab429452d728604366e9e1c2b8c466e6d7fba7b97439a77771249eb0c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 535953d23bd063716295e097a5dd8108dc964e7f00fc9add9d8532675b69202c
[INFO] running `Command { std: "docker" "start" "-a" "535953d23bd063716295e097a5dd8108dc964e7f00fc9add9d8532675b69202c", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::cmp::max`
[INFO] [stderr]   --> src/maximum_depth_of_binary_tree.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | use std::cmp::max;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/apply_discount_every_n_orders.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ShlAssign`, `Shl`, `Shr`
[INFO] [stderr]  --> src/convert_a_number_to_hexadecimal.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::{Shl, ShlAssign, Shr};
[INFO] [stderr]   |                ^^^  ^^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::hint::unreachable_unchecked`
[INFO] [stderr]  --> src/convert_a_number_to_hexadecimal.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::hint::unreachable_unchecked;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/container_with_most_water.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |         /// two pointer solution
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 23 |
[INFO] [stderr] 24 |         let mut start = 0usize;
[INFO] [stderr]    |         ----------------------- rustdoc does not generate documentation for statements
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:15:21
[INFO] [stderr]    |
[INFO] [stderr] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stderr]    |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:16:20
[INFO] [stderr]    |
[INFO] [stderr] 16 |                 900...1000 => ("CM", 900),
[INFO] [stderr]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:17:20
[INFO] [stderr]    |
[INFO] [stderr] 17 |                 500...900 => ("D", 500),
[INFO] [stderr]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:18:20
[INFO] [stderr]    |
[INFO] [stderr] 18 |                 400...500 => ("CD", 400),
[INFO] [stderr]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:19:20
[INFO] [stderr]    |
[INFO] [stderr] 19 |                 100...400 => ("C", 100),
[INFO] [stderr]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:20:19
[INFO] [stderr]    |
[INFO] [stderr] 20 |                 90...100 => ("XC", 90),
[INFO] [stderr]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:21:19
[INFO] [stderr]    |
[INFO] [stderr] 21 |                 50...90 => ("L", 50),
[INFO] [stderr]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:22:19
[INFO] [stderr]    |
[INFO] [stderr] 22 |                 40...50 => ("XL", 40),
[INFO] [stderr]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:23:19
[INFO] [stderr]    |
[INFO] [stderr] 23 |                 10...40 => ("X", 10),
[INFO] [stderr]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:25:18
[INFO] [stderr]    |
[INFO] [stderr] 25 |                 5...9 => ("V", 5),
[INFO] [stderr]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/integer_to_roman.rs:27:18
[INFO] [stderr]    |
[INFO] [stderr] 27 |                 1...4 => ("I", 1),
[INFO] [stderr]    |                  ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/nim_game.rs:11:14
[INFO] [stderr]    |
[INFO] [stderr] 11 |             1...3 => true,
[INFO] [stderr]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::i32`
[INFO] [stderr]   --> src/reverse_integer.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 |         use std::i32;
[INFO] [stderr]    |             ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::min`
[INFO] [stderr]   --> src/three_sum_closest.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 |         use std::cmp::min;
[INFO] [stderr]    |             ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/convert_a_number_to_hexadecimal.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |         for i in 0..8 {
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:23:17
[INFO] [stderr]    |
[INFO] [stderr] 22 |                 40...50 => ("XL", 40),
[INFO] [stderr]    |                 ------- this range overlaps on `40_i32`...
[INFO] [stderr] 23 |                 10...40 => ("X", 10),
[INFO] [stderr]    |                 ^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr]    = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:22:17
[INFO] [stderr]    |
[INFO] [stderr] 21 |                 50...90 => ("L", 50),
[INFO] [stderr]    |                 ------- this range overlaps on `50_i32`...
[INFO] [stderr] 22 |                 40...50 => ("XL", 40),
[INFO] [stderr]    |                 ^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:21:17
[INFO] [stderr]    |
[INFO] [stderr] 20 |                 90...100 => ("XC", 90),
[INFO] [stderr]    |                 -------- this range overlaps on `90_i32`...
[INFO] [stderr] 21 |                 50...90 => ("L", 50),
[INFO] [stderr]    |                 ^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:20:17
[INFO] [stderr]    |
[INFO] [stderr] 19 |                 100...400 => ("C", 100),
[INFO] [stderr]    |                 --------- this range overlaps on `100_i32`...
[INFO] [stderr] 20 |                 90...100 => ("XC", 90),
[INFO] [stderr]    |                 ^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:19:17
[INFO] [stderr]    |
[INFO] [stderr] 18 |                 400...500 => ("CD", 400),
[INFO] [stderr]    |                 --------- this range overlaps on `400_i32`...
[INFO] [stderr] 19 |                 100...400 => ("C", 100),
[INFO] [stderr]    |                 ^^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:18:17
[INFO] [stderr]    |
[INFO] [stderr] 17 |                 500...900 => ("D", 500),
[INFO] [stderr]    |                 --------- this range overlaps on `500_i32`...
[INFO] [stderr] 18 |                 400...500 => ("CD", 400),
[INFO] [stderr]    |                 ^^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:17:17
[INFO] [stderr]    |
[INFO] [stderr] 16 |                 900...1000 => ("CM", 900),
[INFO] [stderr]    |                 ---------- this range overlaps on `900_i32`...
[INFO] [stderr] 17 |                 500...900 => ("D", 500),
[INFO] [stderr]    |                 ^^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: multiple patterns overlap on their endpoints
[INFO] [stderr]   --> src/integer_to_roman.rs:16:17
[INFO] [stderr]    |
[INFO] [stderr] 15 |                 1000...std::i32::MAX => ("M", 1000),
[INFO] [stderr]    |                 -------------------- this range overlaps on `1000_i32`...
[INFO] [stderr] 16 |                 900...1000 => ("CM", 900),
[INFO] [stderr]    |                 ^^^^^^^^^^ ... with this range
[INFO] [stderr]    |
[INFO] [stderr]    = note: you likely meant to write mutually exclusive ranges
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/sudoku_solver.rs:106:13
[INFO] [stderr]     |
[INFO] [stderr] 106 |         let mut expected_solution = vec![
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/sudoku_solver.rs:122:13
[INFO] [stderr]     |
[INFO] [stderr] 122 |         let mut expected_solution = vec![
[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/combination_sum.rs:16:25
[INFO] [stderr]    |
[INFO] [stderr] 16 |                     let mut vec1 = Solution::combination_sum(candidates.clone(), target - *x);
[INFO] [stderr]    |                         ----^^^^
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]   --> src/invert_binary_tree.rs:37:8
[INFO] [stderr]    |
[INFO] [stderr] 37 | struct Solution;
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/invert_binary_tree.rs:48:12
[INFO] [stderr]    |
[INFO] [stderr] 46 | impl TreeNode {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 47 |     #[inline]
[INFO] [stderr] 48 |     pub fn new(val: i32) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `invert_tree` is never used
[INFO] [stderr]   --> src/invert_binary_tree.rs:63:12
[INFO] [stderr]    |
[INFO] [stderr] 62 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 63 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]  --> src/big_countries.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Solution;
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/big_countries.rs:10:4
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]  --> src/list.rs:9:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | impl ListNode {
[INFO] [stderr]   | ------------- associated function in this implementation
[INFO] [stderr] 8 |     #[inline]
[INFO] [stderr] 9 |     fn new(val: i32) -> Self {
[INFO] [stderr]   |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/merge_two_binary_trees.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl TreeNode {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 16 |     #[inline]
[INFO] [stderr] 17 |     pub fn new(val: i32) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Solution` is never constructed
[INFO] [stderr]   --> src/merge_two_binary_trees.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 | struct Solution;
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `merge_trees` is never used
[INFO] [stderr]   --> src/merge_two_binary_trees.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | impl Solution {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 32 |     pub fn merge_trees(
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RecentCounter` is never constructed
[INFO] [stderr]  --> src/number_of_recent_calls.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct RecentCounter {
[INFO] [stderr]   |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `ping` are never used
[INFO] [stderr]   --> src/number_of_recent_calls.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl RecentCounter {
[INFO] [stderr]    | ------------------ associated items in this implementation
[INFO] [stderr] 12 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 16 |     fn ping(&mut self, t: i32) -> i32 {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/letter_combinations_of_a_phone_number.rs:43:58
[INFO] [stderr]    |
[INFO] [stderr] 43 |                     ret.push(format!("{}{}", x.clone(), y.clone()));
[INFO] [stderr]    |                                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> src/sort_colors.rs:19:28
[INFO] [stderr]    |
[INFO] [stderr] 19 |             let value = if 0 <= i && i < counts[0] {
[INFO] [stderr]    |                            ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `leetcode` (bin "leetcode" test) generated 44 warnings (run `cargo fix --bin "leetcode" --tests` to apply 22 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-5b7128be0034ef03)
[INFO] [stdout] 
[INFO] [stdout] running 113 tests
[INFO] [stdout] test add_two_number::test::should_return_01 ... ok
[INFO] [stdout] test array_partition_i::test1 ... ok
[INFO] [stdout] test add_two_number::test::should_return_708 ... ok
[INFO] [stdout] test apply_discount_every_n_orders::test::test1 ... ok
[INFO] [stdout] test combination_sum::all_test ... ok
[INFO] [stdout] test binary_tree_level_order_traversal::test::test2 ... ok
[INFO] [stdout] test container_with_most_water::test::test ... ok
[INFO] [stdout] test convert_a_number_to_hexadecimal::test::test1 ... ok
[INFO] [stdout] test convert_a_number_to_hexadecimal::test::test2 ... ok
[INFO] [stdout] test convert_a_number_to_hexadecimal::test::test3 ... ok
[INFO] [stdout] test di_string_match::ddi ... ok
[INFO] [stdout] test di_string_match::idid ... ok
[INFO] [stdout] test di_string_match::iii ... ok
[INFO] [stdout] test divide_two_integers::test::test1 ... ok
[INFO] [stdout] test divide_two_integers::test::test3 ... ok
[INFO] [stdout] test divide_two_integers::test::test2 ... ok
[INFO] [stdout] test divide_two_integers::test::test6 ... ok
[INFO] [stdout] test divide_two_integers::test::test8 ... ok
[INFO] [stdout] test divide_two_integers::test::test5 ... ok
[INFO] [stdout] test divide_two_integers::test::test4 ... ok
[INFO] [stdout] test flipping_an_image::test1 ... ok
[INFO] [stdout] test flipping_an_image::test2 ... ok
[INFO] [stdout] test divide_two_integers::test::test7 ... ok
[INFO] [stdout] test generate_parentheses::test::test_n_equals_0 ... ok
[INFO] [stdout] test hamming_distance::test ... ok
[INFO] [stdout] test generate_parentheses::test::test ... ok
[INFO] [stdout] test divide_two_integers::test::test9 ... ok
[INFO] [stdout] test implement_strstr::test::test1 ... ok
[INFO] [stdout] test implement_strstr::test::test2 ... ok
[INFO] [stdout] test implement_strstr::test::test3 ... ok
[INFO] [stdout] test implement_strstr::test::test4 ... ok
[INFO] [stdout] test implement_strstr::test::test6 ... ok
[INFO] [stdout] test implement_strstr::test::test5 ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_iv_given_4 ... ok
[INFO] [stdout] test implement_strstr::test::test7 ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_ix_given_9 ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_mcmxciv_given_1994 ... ok
[INFO] [stdout] test letter_combinations_of_a_phone_number::test::should_work_with_one_letter ... ok
[INFO] [stdout] test letter_combinations_of_a_phone_number::test::should_work_with_two_letter ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_iii_given_3 ... ok
[INFO] [stdout] test letter_combinations_of_a_phone_number::test::should_work_with_two_letter_with_invalid_letter ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_0_given_empty_string ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_0_given_empty ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_1_given_bbbbb ... ok
[INFO] [stdout] test integer_to_roman::test::should_return_lviii_given_58 ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_3_given_abcabcbb ... ok
[INFO] [stdout] test longest_substring_without_repeating_characters::test::should_return_3_given_pwwkew ... ok
[INFO] [stdout] test palindrome_number::test::should_return_false_given_10 ... ok
[INFO] [stdout] test palindrome_number::test::should_return_false_given_negative_number ... ok
[INFO] [stdout] test maximum_depth_of_binary_tree::test::test ... ok
[INFO] [stdout] test palindrome_number::test::should_return_true_given_zero ... ok
[INFO] [stdout] test palindrome_number::test::should_return_true_given_121 ... ok
[INFO] [stdout] test jewels_and_stones::all_test ... ok
[INFO] [stdout] test nim_game::test ... ok
[INFO] [stdout] test maximum_depth_of_binary_tree::test::test2 ... ok
[INFO] [stdout] test peak_index_in_a_mountain_array::test1 ... ok
[INFO] [stdout] test permutations::test::test ... ok
[INFO] [stdout] test peak_index_in_a_mountain_array::test2 ... ok
[INFO] [stdout] test remove_duplicates_from_sorted_array::test::should_return_5_given_0_0_1_1_1_2_2_3_3_4 ... ok
[INFO] [stdout] test remove_element::test::test1 ... ok
[INFO] [stdout] test remove_element::test::test2 ... ok
[INFO] [stdout] test reverse_integer::test::should_return_0_given_1534236469 ... ok
[INFO] [stdout] test reverse_integer::test::should_return_21_given_120 ... ok
[INFO] [stdout] test reverse_integer::test::should_return_321_given_123 ... ok
[INFO] [stdout] test reverse_integer::test::should_return_negative_321_given_negative_123 ... ok
[INFO] [stdout] test remove_duplicates_from_sorted_array::test::should_return_2_given_1_1_2 ... ok
[INFO] [stdout] test robot_return_to_origin::test ... ok
[INFO] [stdout] test same_tree::test::test3 ... ok
[INFO] [stdout] test same_tree::test::test ... ok
[INFO] [stdout] test same_tree::test::test2 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test2 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test6 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test3 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test_rotated ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test4 ... ok
[INFO] [stdout] test self_dividing_numbers::test1 ... ok
[INFO] [stdout] test search_in_rotated_sorted_array::test::test5 ... ok
[INFO] [stdout] test sort_array_by_parity_ii::test1 ... ok
[INFO] [stdout] test sort_colors::test::should_sort_given_non_sorted_vec ... ok
[INFO] [stdout] test sort_array_by_parity::test1 ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_minus_mark ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_check_overflow ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_normal_number ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_get_zero_with_prefix_words ... ok
[INFO] [stdout] test three_sum::test::test ... ok
[INFO] [stdout] test two_sum::test1 ... ok
[INFO] [stdout] test to_lower_case::test ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_add_mark ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_both_add_minus_mark ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_get_zero_with_internal_space ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_postfix_external_words ... ok
[INFO] [stdout] test three_sum::test::test2 ... ok
[INFO] [stdout] test two_sum::test2 ... ok
[INFO] [stdout] test three_sum_closest::test::test ... ok
[INFO] [stdout] test two_sum::test3 ... ok
[INFO] [stdout] test string_to_integer_atoi::test::should_work_with_prefix_space ... ok
[INFO] [stdout] test valid_parentheses::test::test1 ... ok
[INFO] [stdout] test unique_email_addresses::test ... ok
[INFO] [stdout] test valid_parentheses::test::test2 ... ok
[INFO] [stdout] test unique_morse_code_words::test1 ... ok
[INFO] [stdout] test valid_parentheses::test::test3 ... ok
[INFO] [stdout] test string_to_integer_atoi::test::test ... ok
[INFO] [stdout] test valid_parentheses::test::test5 ... ok
[INFO] [stdout] test valid_parentheses::test::test4 ... ok
[INFO] [stdout] test zigzag_conversion::test::should_it_works ... ok
[INFO] [stdout] test valid_sudoku::test::test ... ok
[INFO] [stdout] test valid_sudoku::test::test2 ... ok
[INFO] [stdout] test zigzag_conversion::test::show_return_itself_when_number_is_1 ... ok
[INFO] [stdout] test zigzag_conversion::test::should_it_works_too ... ok
[INFO] [stdout] test sudoku_solver::test::test_invalid_method ... ok
[INFO] [stdout] test binary_tree_level_order_traversal::test::test ... FAILED
[INFO] [stdout] test sudoku_solver::test::test ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- binary_tree_level_order_traversal::test::test stdout ----
[INFO] [stdout] thread 'binary_tree_level_order_traversal::test::test' panicked at src/binary_tree_level_order_traversal.rs:130:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: [[3], [9, 20], [15, 7]]
[INFO] [stdout]  right: [[3], [20, 9], [15, 7]]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5605296c5e55 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x5605296c5e55 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5605296c5e55 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x5605296c5e55 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5605296ed24b - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x5605296ed24b - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x5605296c373f - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x5605296c5c2e - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5605296c5c2e - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5605296c7599 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x5605296c72ec - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x5605296985af - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x5605296985af - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x5605296c7b9b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x5605296c7b9b - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x5605296c7914 - std::panicking::begin_panic_handler::{{closure}}::ha3a21e93c4cfd807
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x5605296c6319 - std::sys_common::backtrace::__rust_end_short_backtrace::h19508a8f8ae71dc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x5605296c7647 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x56052960c883 - core::panicking::panic_fmt::h2ba8af99174d83ea
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x56052960cc6e - core::panicking::assert_failed_inner::h5c44db15a6ee70ee
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:408:17
[INFO] [stdout]   20:     0x56052965b35e - core::panicking::assert_failed::hd60e561e33828c42
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:363:5
[INFO] [stdout]   21:     0x560529638f5c - leetcode::binary_tree_level_order_traversal::test::test::hbb065a9ffb6aa11f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/binary_tree_level_order_traversal.rs:130:9
[INFO] [stdout]   22:     0x560529638727 - leetcode::binary_tree_level_order_traversal::test::test::{{closure}}::h9ccb97fd7138e0eb
[INFO] [stdout]                                at /opt/rustwide/workdir/src/binary_tree_level_order_traversal.rs:109:14
[INFO] [stdout]   23:     0x560529650a46 - core::ops::function::FnOnce::call_once::hc8e48964e352d87b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x56052969cecb - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x56052969cecb - test::__rust_begin_short_backtrace::hdcf0edcfa9080086
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x56052969c591 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x56052969c591 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x56052969c591 - std::panicking::try::do_call::h5e158f1ad8a5f983
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x56052969c591 - std::panicking::try::hea3411d60321c4de
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x56052969c591 - std::panic::catch_unwind::hafb7bb18bc47bbc7
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x56052969c591 - test::run_test_in_process::h74dd138dc7762d99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x56052969c591 - test::run_test::{{closure}}::h6b390822e63606cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x560529664f64 - test::run_test::{{closure}}::h6e11dba8131d354b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x560529664f64 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x560529669a32 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x560529669a32 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x560529669a32 - std::panicking::try::do_call::hbf534c458cd858f0
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x560529669a32 - std::panicking::try::h65c18365a7b9ad90
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x560529669a32 - std::panic::catch_unwind::h21b25d4c69478c39
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x560529669a32 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x560529669a32 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5605296cbd6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x5605296cbd6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x5605296cbd6b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f7c03967ac3 - <unknown>
[INFO] [stdout]   46:     0x7f7c039f8a04 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     binary_tree_level_order_traversal::test::test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 112 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin leetcode`
[INFO] running `Command { std: "docker" "inspect" "535953d23bd063716295e097a5dd8108dc964e7f00fc9add9d8532675b69202c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "535953d23bd063716295e097a5dd8108dc964e7f00fc9add9d8532675b69202c", kill_on_drop: false }`
[INFO] [stdout] 535953d23bd063716295e097a5dd8108dc964e7f00fc9add9d8532675b69202c
