[INFO] cloning repository https://github.com/pearzl/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/pearzl/leetcode_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpearzl%2Fleetcode_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpearzl%2Fleetcode_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c1ec26df03271cf05b7c1bcb6a8742344ba782e
[INFO] testing pearzl/leetcode_rust against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpearzl%2Fleetcode_rust" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pearzl/leetcode_rust on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pearzl/leetcode_rust
[INFO] finished tweaking git repo https://github.com/pearzl/leetcode_rust
[INFO] tweaked toml for git repo https://github.com/pearzl/leetcode_rust written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/pearzl/leetcode_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2c809e40ff05062909e325cf7c201306621e47d2f9a822b67d442033383e3250
[INFO] running `Command { std: "docker" "start" "-a" "2c809e40ff05062909e325cf7c201306621e47d2f9a822b67d442033383e3250", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c809e40ff05062909e325cf7c201306621e47d2f9a822b67d442033383e3250", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c809e40ff05062909e325cf7c201306621e47d2f9a822b67d442033383e3250", kill_on_drop: false }`
[INFO] [stdout] 2c809e40ff05062909e325cf7c201306621e47d2f9a822b67d442033383e3250
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0931c980e13b1d52799ffe4d6532c823e04cd2f13fbf80780590e053e54af1c6
[INFO] running `Command { std: "docker" "start" "-a" "0931c980e13b1d52799ffe4d6532c823e04cd2f13fbf80780590e053e54af1c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/answer/q0204_count_primes.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/answer/q0212_word_search_ii.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/util.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |             panic!(format!("{} can not build to TreeNode", &s));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 67 -             panic!(format!("{} can not build to TreeNode", &s));
[INFO] [stdout] 67 +             panic!("{} can not build to TreeNode", &s);
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/answer/q0065_valid_number.rs:113:28
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     panic!(2);
[INFO] [stdout]     |                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     panic!("{}", 2);
[INFO] [stdout]     |                            +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     std::panic::panic_any(2);
[INFO] [stdout]     |                     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0153_find_minimum_in_rotated_sorted_array.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!(1234567890)
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!("{}", 1234567890)
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 27 |             std::panic::panic_any(1234567890)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0154_find_minimum_in_rotated_sorted_array_ii.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!(1234567890)
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!("{}", 1234567890)
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 27 |             std::panic::panic_any(1234567890)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0162_find_peak_element.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |             panic!(1234567890)
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 20 |             panic!("{}", 1234567890)
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 20 |             std::panic::panic_any(1234567890)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0169_majority_element.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |         panic!(1234567890);
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 29 |         panic!("{}", 1234567890);
[INFO] [stdout]    |                +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 29 |         std::panic::panic_any(1234567890);
[INFO] [stdout]    |         ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/answer/q0044_wildcard_matching.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |         std::mem::replace(from, r);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0102_binary_tree_level_order_traversal.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0103_binary_tree_zigzag_level_order_traversal.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0107_binary_tree_level_order_traversal_ii.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |                         std::mem::replace(&mut tree.left, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |                         std::mem::replace(&mut tree.right, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |                         std::mem::replace(&mut tree.left, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |                         std::mem::replace(&mut tree.right, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0199_binary_tree_right_side_view.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             std::mem::replace(&mut node_buf, next_level_nodes);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0212_word_search_ii.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |                     std::mem::replace(&mut paths, tmp);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.34s
[INFO] running `Command { std: "docker" "inspect" "0931c980e13b1d52799ffe4d6532c823e04cd2f13fbf80780590e053e54af1c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0931c980e13b1d52799ffe4d6532c823e04cd2f13fbf80780590e053e54af1c6", kill_on_drop: false }`
[INFO] [stdout] 0931c980e13b1d52799ffe4d6532c823e04cd2f13fbf80780590e053e54af1c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae139fbf750375f5409d28fb9fc29a706f658b4c7714cce2f33247fabe38bef5
[INFO] running `Command { std: "docker" "start" "-a" "ae139fbf750375f5409d28fb9fc29a706f658b4c7714cce2f33247fabe38bef5", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/answer/q0204_count_primes.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/answer/q0212_word_search_ii.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/util.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |             panic!(format!("{} can not build to TreeNode", &s));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 67 -             panic!(format!("{} can not build to TreeNode", &s));
[INFO] [stdout] 67 +             panic!("{} can not build to TreeNode", &s);
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/answer/q0065_valid_number.rs:113:28
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     panic!(2);
[INFO] [stdout]     |                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     panic!("{}", 2);
[INFO] [stdout]     |                            +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     std::panic::panic_any(2);
[INFO] [stdout]     |                     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0153_find_minimum_in_rotated_sorted_array.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!(1234567890)
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!("{}", 1234567890)
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 27 |             std::panic::panic_any(1234567890)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0154_find_minimum_in_rotated_sorted_array_ii.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!(1234567890)
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!("{}", 1234567890)
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 27 |             std::panic::panic_any(1234567890)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0162_find_peak_element.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |             panic!(1234567890)
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 20 |             panic!("{}", 1234567890)
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 20 |             std::panic::panic_any(1234567890)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0169_majority_element.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |         panic!(1234567890);
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 29 |         panic!("{}", 1234567890);
[INFO] [stdout]    |                +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 29 |         std::panic::panic_any(1234567890);
[INFO] [stdout]    |         ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/answer/q0044_wildcard_matching.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |         std::mem::replace(from, r);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0102_binary_tree_level_order_traversal.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0103_binary_tree_zigzag_level_order_traversal.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0107_binary_tree_level_order_traversal_ii.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |                         std::mem::replace(&mut tree.left, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |                         std::mem::replace(&mut tree.right, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |                         std::mem::replace(&mut tree.left, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |                         std::mem::replace(&mut tree.right, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0199_binary_tree_right_side_view.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             std::mem::replace(&mut node_buf, next_level_nodes);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0212_word_search_ii.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |                     std::mem::replace(&mut paths, tmp);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/answer/q0204_count_primes.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/answer/q0212_word_search_ii.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/util.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |             panic!(format!("{} can not build to TreeNode", &s));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 67 -             panic!(format!("{} can not build to TreeNode", &s));
[INFO] [stdout] 67 +             panic!("{} can not build to TreeNode", &s);
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/answer/q0065_valid_number.rs:113:28
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     panic!(2);
[INFO] [stdout]     |                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     panic!("{}", 2);
[INFO] [stdout]     |                            +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     std::panic::panic_any(2);
[INFO] [stdout]     |                     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stdout]    --> src/answer/q0068_text_justification.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 |         .into_iter()
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 129 |         .iter()
[INFO] [stdout]     |          ~~~~
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 109 ~         let input: Vec<String> = IntoIterator::into_iter([
[INFO] [stdout] 110 |             "Science",
[INFO] [stdout] 111 |             "is",
[INFO] [stdout] 112 |             "what",
[INFO] [stdout] 113 |             "we",
[INFO] [stdout] 114 |             "understand",
[INFO] [stdout]   ...
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stdout]    --> src/answer/q0068_text_justification.rs:140:10
[INFO] [stdout]     |
[INFO] [stdout] 140 |         .into_iter()
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 140 |         .iter()
[INFO] [stdout]     |          ~~~~
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 132 ~         let output: Vec<String> = IntoIterator::into_iter([
[INFO] [stdout] 133 |             "Science  is  what we",
[INFO] [stdout] 134 |             "understand      well",
[INFO] [stdout] 135 |             "enough to explain to",
[INFO] [stdout] 136 |             "a  computer.  Art is",
[INFO] [stdout] 137 |             "everything  else  we",
[INFO] [stdout]   ...
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stdout]    --> src/answer/q0068_text_justification.rs:171:14
[INFO] [stdout]     |
[INFO] [stdout] 171 |             .into_iter()
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 171 |             .iter()
[INFO] [stdout]     |              ~~~~
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let input: Vec<String> = IntoIterator::into_iter(["What", "must", "be", "acknowledgment", "shall", "be"])
[INFO] [stdout]     |                                  ++++++++++++++++++++++++                                                       ~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stdout]    --> src/answer/q0068_text_justification.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 |             .into_iter()
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 175 |             .iter()
[INFO] [stdout]     |              ~~~~
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let output: Vec<String> = IntoIterator::into_iter(["What   must   be", "acknowledgment  ", "shall be        "])
[INFO] [stdout]     |                                   ++++++++++++++++++++++++                                                            ~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stdout]   --> src/answer/q0070_runclimbing_stairs.rs:46:52
[INFO] [stdout]    |
[INFO] [stdout] 46 |         for (i, o) in (1..=20).into_iter().zip(ret.into_iter().cloned()) {
[INFO] [stdout]    |                                                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 46 |         for (i, o) in (1..=20).into_iter().zip(ret.iter().cloned()) {
[INFO] [stdout]    |                                                    ~~~~
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 46 |         for (i, o) in (1..=20).into_iter().zip(IntoIterator::into_iter(ret).cloned()) {
[INFO] [stdout]    |                                                ++++++++++++++++++++++++   ~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0153_find_minimum_in_rotated_sorted_array.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!(1234567890)
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!("{}", 1234567890)
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 27 |             std::panic::panic_any(1234567890)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0154_find_minimum_in_rotated_sorted_array_ii.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!(1234567890)
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 27 |             panic!("{}", 1234567890)
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 27 |             std::panic::panic_any(1234567890)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0155_min_stack.rs:82:24
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 panic!(1234567890)
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 panic!("{}", 1234567890)
[INFO] [stdout]    |                        +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 std::panic::panic_any(1234567890)
[INFO] [stdout]    |                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0162_find_peak_element.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |             panic!(1234567890)
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 20 |             panic!("{}", 1234567890)
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 20 |             std::panic::panic_any(1234567890)
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0169_majority_element.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |         panic!(1234567890);
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 29 |         panic!("{}", 1234567890);
[INFO] [stdout]    |                +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 29 |         std::panic::panic_any(1234567890);
[INFO] [stdout]    |         ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/answer/q0173_binary_search_tree_iterator.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 panic!(1234567890);
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 panic!("{}", 1234567890);
[INFO] [stdout]    |                        +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 std::panic::panic_any(1234567890);
[INFO] [stdout]    |                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/answer/q0211_add_and_search_word_data_structure_design.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 panic!(format!("unknown action: {:?}", actions[i]));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 106 -                 panic!(format!("unknown action: {:?}", actions[i]));
[INFO] [stdout] 106 +                 panic!("unknown action: {:?}", actions[i]);
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/answer/q0044_wildcard_matching.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |         std::mem::replace(from, r);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0102_binary_tree_level_order_traversal.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0103_binary_tree_zigzag_level_order_traversal.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0107_binary_tree_level_order_traversal_ii.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |                         std::mem::replace(&mut tree.left, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |                         std::mem::replace(&mut tree.right, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |                         std::mem::replace(&mut tree.left, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |                         std::mem::replace(&mut tree.right, None);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0199_binary_tree_right_side_view.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             std::mem::replace(&mut node_buf, next_level_nodes);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]   --> src/answer/q0212_word_search_ii.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |                     std::mem::replace(&mut paths, tmp);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 14.48s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/leetcode-13a27cf0ac5eeef8)
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/leetcode-72ec9172c0d00aa0)
[INFO] running `Command { std: "docker" "inspect" "ae139fbf750375f5409d28fb9fc29a706f658b4c7714cce2f33247fabe38bef5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae139fbf750375f5409d28fb9fc29a706f658b4c7714cce2f33247fabe38bef5", kill_on_drop: false }`
[INFO] [stdout] ae139fbf750375f5409d28fb9fc29a706f658b4c7714cce2f33247fabe38bef5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6a1e027eb8ec39e0057f14cd629d73e53adcf0f78d9b726d9a2445fc6c1a43ad
[INFO] running `Command { std: "docker" "start" "-a" "6a1e027eb8ec39e0057f14cd629d73e53adcf0f78d9b726d9a2445fc6c1a43ad", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]   --> src/answer/q0204_count_primes.rs:23:10
[INFO] [stderr]    |
[INFO] [stderr] 23 |         };
[INFO] [stderr]    |          ^ help: remove this semicolon
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]   --> src/answer/q0212_word_search_ii.rs:90:10
[INFO] [stderr]    |
[INFO] [stderr] 90 |         };
[INFO] [stderr]    |          ^ help: remove this semicolon
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/util.rs:67:20
[INFO] [stderr]    |
[INFO] [stderr] 67 |             panic!(format!("{} can not build to TreeNode", &s));
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 67 -             panic!(format!("{} can not build to TreeNode", &s));
[INFO] [stderr] 67 +             panic!("{} can not build to TreeNode", &s);
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/answer/q0065_valid_number.rs:113:28
[INFO] [stderr]     |
[INFO] [stderr] 113 |                     panic!(2);
[INFO] [stderr]     |                            ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]     |
[INFO] [stderr] 113 |                     panic!("{}", 2);
[INFO] [stderr]     |                            +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]     |
[INFO] [stderr] 113 |                     std::panic::panic_any(2);
[INFO] [stderr]     |                     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/answer/q0153_find_minimum_in_rotated_sorted_array.rs:27:20
[INFO] [stderr]    |
[INFO] [stderr] 27 |             panic!(1234567890)
[INFO] [stderr]    |                    ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]    |
[INFO] [stderr] 27 |             panic!("{}", 1234567890)
[INFO] [stderr]    |                    +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]    |
[INFO] [stderr] 27 |             std::panic::panic_any(1234567890)
[INFO] [stderr]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/answer/q0154_find_minimum_in_rotated_sorted_array_ii.rs:27:20
[INFO] [stderr]    |
[INFO] [stderr] 27 |             panic!(1234567890)
[INFO] [stderr]    |                    ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]    |
[INFO] [stderr] 27 |             panic!("{}", 1234567890)
[INFO] [stderr]    |                    +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]    |
[INFO] [stderr] 27 |             std::panic::panic_any(1234567890)
[INFO] [stderr]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/answer/q0162_find_peak_element.rs:20:20
[INFO] [stderr]    |
[INFO] [stderr] 20 |             panic!(1234567890)
[INFO] [stderr]    |                    ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]    |
[INFO] [stderr] 20 |             panic!("{}", 1234567890)
[INFO] [stderr]    |                    +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]    |
[INFO] [stderr] 20 |             std::panic::panic_any(1234567890)
[INFO] [stderr]    |             ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/answer/q0169_majority_element.rs:29:16
[INFO] [stderr]    |
[INFO] [stderr] 29 |         panic!(1234567890);
[INFO] [stderr]    |                ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]    |
[INFO] [stderr] 29 |         panic!("{}", 1234567890);
[INFO] [stderr]    |                +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]    |
[INFO] [stderr] 29 |         std::panic::panic_any(1234567890);
[INFO] [stderr]    |         ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/answer/q0044_wildcard_matching.rs:150:9
[INFO] [stderr]     |
[INFO] [stderr] 150 |         std::mem::replace(from, r);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/answer/q0102_binary_tree_level_order_traversal.rs:31:21
[INFO] [stderr]    |
[INFO] [stderr] 31 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/answer/q0103_binary_tree_zigzag_level_order_traversal.rs:38:21
[INFO] [stderr]    |
[INFO] [stderr] 38 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/answer/q0107_binary_tree_level_order_traversal_ii.rs:31:21
[INFO] [stderr]    |
[INFO] [stderr] 31 |                     std::mem::replace(&mut level_node, new_level_node);
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:18:25
[INFO] [stderr]    |
[INFO] [stderr] 18 |                         std::mem::replace(&mut tree.left, None);
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:19:25
[INFO] [stderr]    |
[INFO] [stderr] 19 |                         std::mem::replace(&mut tree.right, None);
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:25:25
[INFO] [stderr]    |
[INFO] [stderr] 25 |                         std::mem::replace(&mut tree.left, None);
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/answer/q0145_binary_tree_postorder_traversal.rs:30:25
[INFO] [stderr]    |
[INFO] [stderr] 30 |                         std::mem::replace(&mut tree.right, None);
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/answer/q0199_binary_tree_right_side_view.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 27 |             std::mem::replace(&mut node_buf, next_level_nodes);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]   --> src/answer/q0212_word_search_ii.rs:34:21
[INFO] [stderr]    |
[INFO] [stderr] 34 |                     std::mem::replace(&mut paths, tmp);
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] 
[INFO] [stderr] warning: `leetcode` (lib) generated 18 warnings
[INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stderr]    --> src/answer/q0068_text_justification.rs:129:10
[INFO] [stderr]     |
[INFO] [stderr] 129 |         .into_iter()
[INFO] [stderr]     |          ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(array_into_iter)]` on by default
[INFO] [stderr]     = warning: this changes meaning in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stderr]     |
[INFO] [stderr] 129 |         .iter()
[INFO] [stderr]     |          ~~~~
[INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stderr]     |
[INFO] [stderr] 109 ~         let input: Vec<String> = IntoIterator::into_iter([
[INFO] [stderr] 110 |             "Science",
[INFO] [stderr] 111 |             "is",
[INFO] [stderr] 112 |             "what",
[INFO] [stderr] 113 |             "we",
[INFO] [stderr] 114 |             "understand",
[INFO] [stderr]   ...
[INFO] [stderr] 
[INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stderr]    --> src/answer/q0068_text_justification.rs:140:10
[INFO] [stderr]     |
[INFO] [stderr] 140 |         .into_iter()
[INFO] [stderr]     |          ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this changes meaning in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stderr]     |
[INFO] [stderr] 140 |         .iter()
[INFO] [stderr]     |          ~~~~
[INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stderr]     |
[INFO] [stderr] 132 ~         let output: Vec<String> = IntoIterator::into_iter([
[INFO] [stderr] 133 |             "Science  is  what we",
[INFO] [stderr] 134 |             "understand      well",
[INFO] [stderr] 135 |             "enough to explain to",
[INFO] [stderr] 136 |             "a  computer.  Art is",
[INFO] [stderr] 137 |             "everything  else  we",
[INFO] [stderr]   ...
[INFO] [stderr] 
[INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stderr]    --> src/answer/q0068_text_justification.rs:171:14
[INFO] [stderr]     |
[INFO] [stderr] 171 |             .into_iter()
[INFO] [stderr]     |              ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this changes meaning in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stderr]     |
[INFO] [stderr] 171 |             .iter()
[INFO] [stderr]     |              ~~~~
[INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stderr]     |
[INFO] [stderr] 170 |         let input: Vec<String> = IntoIterator::into_iter(["What", "must", "be", "acknowledgment", "shall", "be"])
[INFO] [stderr]     |                                  ++++++++++++++++++++++++                                                       ~
[INFO] [stderr] 
[INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stderr]    --> src/answer/q0068_text_justification.rs:175:14
[INFO] [stderr]     |
[INFO] [stderr] 175 |             .into_iter()
[INFO] [stderr]     |              ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this changes meaning in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stderr]     |
[INFO] [stderr] 175 |             .iter()
[INFO] [stderr]     |              ~~~~
[INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stderr]     |
[INFO] [stderr] 174 |         let output: Vec<String> = IntoIterator::into_iter(["What   must   be", "acknowledgment  ", "shall be        "])
[INFO] [stderr]     |                                   ++++++++++++++++++++++++                                                            ~
[INFO] [stderr] 
[INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021
[INFO] [stderr]   --> src/answer/q0070_runclimbing_stairs.rs:46:52
[INFO] [stderr]    |
[INFO] [stderr] 46 |         for (i, o) in (1..=20).into_iter().zip(ret.into_iter().cloned()) {
[INFO] [stderr]    |                                                    ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this changes meaning in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stderr]    |
[INFO] [stderr] 46 |         for (i, o) in (1..=20).into_iter().zip(ret.iter().cloned()) {
[INFO] [stderr]    |                                                    ~~~~
[INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stderr]    |
[INFO] [stderr] 46 |         for (i, o) in (1..=20).into_iter().zip(IntoIterator::into_iter(ret).cloned()) {
[INFO] [stderr]    |                                                ++++++++++++++++++++++++   ~
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/answer/q0155_min_stack.rs:82:24
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 panic!(1234567890)
[INFO] [stderr]    |                        ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 panic!("{}", 1234567890)
[INFO] [stderr]    |                        +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 std::panic::panic_any(1234567890)
[INFO] [stderr]    |                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/answer/q0173_binary_search_tree_iterator.rs:94:24
[INFO] [stderr]    |
[INFO] [stderr] 94 |                 panic!(1234567890);
[INFO] [stderr]    |                        ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to Display the message
[INFO] [stderr]    |
[INFO] [stderr] 94 |                 panic!("{}", 1234567890);
[INFO] [stderr]    |                        +++++
[INFO] [stderr] help: or use std::panic::panic_any instead
[INFO] [stderr]    |
[INFO] [stderr] 94 |                 std::panic::panic_any(1234567890);
[INFO] [stderr]    |                 ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/answer/q0211_add_and_search_word_data_structure_design.rs:106:24
[INFO] [stderr]     |
[INFO] [stderr] 106 |                 panic!(format!("unknown action: {:?}", actions[i]));
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 106 -                 panic!(format!("unknown action: {:?}", actions[i]));
[INFO] [stderr] 106 +                 panic!("unknown action: {:?}", actions[i]);
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: `leetcode` (lib test) generated 26 warnings (18 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/leetcode-13a27cf0ac5eeef8)
[INFO] [stdout] 
[INFO] [stdout] running 193 tests
[INFO] [stdout] test answer::q0006_zigzag_conversion::tests::it_works ... ok
[INFO] [stdout] test answer::q0001_two_sum::tests::it_works ... ok
[INFO] [stdout] test answer::q0003_longest_substring_without_repeating_characters::tests::it_works ... ok
[INFO] [stdout] test answer::q0002_add_two_numbers::tests::it_works ... ok
[INFO] [stdout] test answer::q0004_median_of_two_sorted_arrays::tests::it_works ... ok
[INFO] [stdout] test answer::q0005_longest_palindromic_substring::tests::it_works ... ok
[INFO] [stdout] test answer::q0009_palindrome_number::tests::it_works ... ok
[INFO] [stdout] test answer::q0007_reverse_integer::tests::it_works ... ok
[INFO] [stdout] test answer::q0008_string_to_integer_atoi::tests::it_works ... ok
[INFO] [stdout] test answer::q0011_container_with_most_water::tests::it_works ... ok
[INFO] [stdout] test answer::q0012_integer_to_roman::tests::it_works ... ok
[INFO] [stdout] test answer::q0013_roman_to_integer::tests::it_works ... ok
[INFO] [stdout] test answer::q0014_longest_common_prefix::tests::it_works ... ok
[INFO] [stdout] test answer::q0015_3sum::tests::it_works ... ok
[INFO] [stdout] test answer::q0017_letter_combinations_of_a_phone_number::tests::it_works ... ok
[INFO] [stdout] test answer::q0018_4sum::tests::it_works ... ok
[INFO] [stdout] test answer::q0021_merge_two_sorted_lists::tests::it_works ... ok
[INFO] [stdout] test answer::q0022_generate_parentheses::tests::it_works ... ok
[INFO] [stdout] test answer::q0023_merge_k_sorted_lists::tests::it_works ... ok
[INFO] [stdout] test answer::q0024_swap_nodes_in_pairs::tests::it_works ... ok
[INFO] [stdout] test answer::q0026_remove_duplicates_from_sorted_array::tests::it_works ... ok
[INFO] [stdout] test answer::q0025_reverse_nodes_in_k_group::tests::it_works ... ok
[INFO] [stdout] test answer::q0020_valid_parentheses::tests::it_works ... ok
[INFO] [stdout] test answer::q0031_next_permutation::tests::it_works ... ok
[INFO] [stdout] test answer::q0034_find_first_and_last_position_of_element_in_sorted_array::tests::it_works ... ok
[INFO] [stdout] test answer::q0029_divide_two_integers::tests::it_works ... ok
[INFO] [stdout] test answer::q0035_search_insert_position::tests::it_works ... ok
[INFO] [stdout] test answer::q0037_sudoku_solver::tests::test_possible_value ... ignored
[INFO] [stdout] test answer::q0036_valid_sudoku::tests::it_works ... ok
[INFO] [stdout] test answer::q0019_remove_nth_node_from_end_of_list::tests::it_works ... ok
[INFO] [stdout] test answer::q0040_combination_sum_ii::tests::it_works ... ok
[INFO] [stdout] test answer::q0027_remove_element::tests::it_works ... ok
[INFO] [stdout] test answer::q0016_3sum_closest::tests::it_works ... ok
[INFO] [stdout] test answer::q0033_search_in_rotated_sorted_array::tests::it_works ... ok
[INFO] [stdout] test answer::q0047_permutations_ii::tests::it_works ... ok
[INFO] [stdout] test answer::q0043_multiply_strings::tests::it_works ... ok
[INFO] [stdout] test answer::q0046_permutations::tests::it_works ... ok
[INFO] [stdout] test answer::q0041_first_missing_positive::tests::it_works ... ok
[INFO] [stdout] test answer::q0045_jump_game_ii::tests::it_works ... ok
[INFO] [stdout] test answer::q0042_trapping_rain_water::tests::it_works ... ok
[INFO] [stdout] test answer::q0051_n_queens::tests::is_attacked ... ignored
[INFO] [stdout] test answer::q0051_n_queens::tests::valid_pos ... ignored
[INFO] [stdout] test answer::q0048_rotate_image::tests::it_works ... ok
[INFO] [stderr] memory allocation of 17179869184 bytes failed
[INFO] [stderr] error: test failed, to rerun pass '--lib'
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/leetcode-13a27cf0ac5eeef8` (signal: 6, SIGABRT: process abort signal)
[INFO] [stdout] test answer::q0039_combination_sum::tests::it_works ... 
[INFO] running `Command { std: "docker" "inspect" "6a1e027eb8ec39e0057f14cd629d73e53adcf0f78d9b726d9a2445fc6c1a43ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a1e027eb8ec39e0057f14cd629d73e53adcf0f78d9b726d9a2445fc6c1a43ad", kill_on_drop: false }`
[INFO] [stdout] 6a1e027eb8ec39e0057f14cd629d73e53adcf0f78d9b726d9a2445fc6c1a43ad
