[INFO] cloning repository https://github.com/milongo/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/milongo/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilongo%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilongo%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6bd20e49e96f28518d4114c7ae405603ad095f7 [INFO] testing milongo/leetcode-rust against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilongo%2Fleetcode-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/milongo/leetcode-rust [INFO] finished tweaking git repo https://github.com/milongo/leetcode-rust [INFO] tweaked toml for git repo https://github.com/milongo/leetcode-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/milongo/leetcode-rust on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/milongo/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dccd40251e01a8986be2a2e52c658585fab0f51ba228077be8caf1e64997db0 [INFO] running `Command { std: "docker" "start" "-a" "1dccd40251e01a8986be2a2e52c658585fab0f51ba228077be8caf1e64997db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dccd40251e01a8986be2a2e52c658585fab0f51ba228077be8caf1e64997db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dccd40251e01a8986be2a2e52c658585fab0f51ba228077be8caf1e64997db0", kill_on_drop: false }` [INFO] [stdout] 1dccd40251e01a8986be2a2e52c658585fab0f51ba228077be8caf1e64997db0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2d0a4cdfb25664eca2a3174d7249112799fb9a20ef5f5df015857b24b0cabd7 [INFO] running `Command { std: "docker" "start" "-a" "f2d0a4cdfb25664eca2a3174d7249112799fb9a20ef5f5df015857b24b0cabd7", kill_on_drop: false }` [INFO] [stderr] Compiling leetcode-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/problems/arrays_hashing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/problems/arrays_hashing.rs:633:10 [INFO] [stdout] | [INFO] [stdout] 633 | for (key, val) in char_count.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/problems/arrays_hashing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/problems/arrays_hashing.rs:633:10 [INFO] [stdout] | [INFO] [stdout] 633 | for (key, val) in char_count.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_profit` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_longest_substring` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn length_of_longest_substring(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_sum_bool` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn three_sum_bool(nums: Vec, target: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_duplicate` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn has_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_anagram` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn is_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_palindrome` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn is_palindrome(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn search(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn is_valid(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flood_fill` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:472:8 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn flood_fill(image: Vec>, sr: i32, sc: i32, color: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_construct` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_palindrome` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:625:8 [INFO] [stdout] | [INFO] [stdout] 625 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `majority_element` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:689:8 [INFO] [stdout] | [INFO] [stdout] 689 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `climb_stairs` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:753:8 [INFO] [stdout] | [INFO] [stdout] 753 | pub fn climb_stairs(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_sub_array` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:818:8 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn max_sub_array(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:875:8 [INFO] [stdout] | [INFO] [stdout] 875 | pub fn insert(intervals: Vec>, new_interval: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "f2d0a4cdfb25664eca2a3174d7249112799fb9a20ef5f5df015857b24b0cabd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d0a4cdfb25664eca2a3174d7249112799fb9a20ef5f5df015857b24b0cabd7", kill_on_drop: false }` [INFO] [stdout] f2d0a4cdfb25664eca2a3174d7249112799fb9a20ef5f5df015857b24b0cabd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fb8641d3701cc9fb4cb2b782ca6ece673a84a675dafb2bb106610d9b75a549d [INFO] running `Command { std: "docker" "start" "-a" "5fb8641d3701cc9fb4cb2b782ca6ece673a84a675dafb2bb106610d9b75a549d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/problems/arrays_hashing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/problems/arrays_hashing.rs:633:10 [INFO] [stdout] | [INFO] [stdout] 633 | for (key, val) in char_count.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling leetcode-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/problems/arrays_hashing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/problems/arrays_hashing.rs:633:10 [INFO] [stdout] | [INFO] [stdout] 633 | for (key, val) in char_count.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_profit` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_longest_substring` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn length_of_longest_substring(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_sum_bool` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn three_sum_bool(nums: Vec, target: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_duplicate` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn has_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_anagram` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn is_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_palindrome` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn is_palindrome(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn search(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn is_valid(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flood_fill` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:472:8 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn flood_fill(image: Vec>, sr: i32, sc: i32, color: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_construct` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_palindrome` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:625:8 [INFO] [stdout] | [INFO] [stdout] 625 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `majority_element` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:689:8 [INFO] [stdout] | [INFO] [stdout] 689 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `climb_stairs` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:753:8 [INFO] [stdout] | [INFO] [stdout] 753 | pub fn climb_stairs(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_sub_array` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:818:8 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn max_sub_array(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:875:8 [INFO] [stdout] | [INFO] [stdout] 875 | pub fn insert(intervals: Vec>, new_interval: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/problems/arrays_hashing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/problems/arrays_hashing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/problems/arrays_hashing.rs:633:10 [INFO] [stdout] | [INFO] [stdout] 633 | for (key, val) in char_count.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/problems/arrays_hashing.rs:633:10 [INFO] [stdout] | [INFO] [stdout] 633 | for (key, val) in char_count.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_profit` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_longest_substring` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn length_of_longest_substring(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_sum_bool` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn three_sum_bool(nums: Vec, target: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_duplicate` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn has_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_anagram` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn is_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_palindrome` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn is_palindrome(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn search(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn is_valid(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flood_fill` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:472:8 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn flood_fill(image: Vec>, sr: i32, sc: i32, color: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_construct` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_palindrome` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:625:8 [INFO] [stdout] | [INFO] [stdout] 625 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `majority_element` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:689:8 [INFO] [stdout] | [INFO] [stdout] 689 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `climb_stairs` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:753:8 [INFO] [stdout] | [INFO] [stdout] 753 | pub fn climb_stairs(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_sub_array` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:818:8 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn max_sub_array(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/problems/arrays_hashing.rs:875:8 [INFO] [stdout] | [INFO] [stdout] 875 | pub fn insert(intervals: Vec>, new_interval: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "5fb8641d3701cc9fb4cb2b782ca6ece673a84a675dafb2bb106610d9b75a549d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb8641d3701cc9fb4cb2b782ca6ece673a84a675dafb2bb106610d9b75a549d", kill_on_drop: false }` [INFO] [stdout] 5fb8641d3701cc9fb4cb2b782ca6ece673a84a675dafb2bb106610d9b75a549d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f7c2e22b5d46300d964149468bb1827f7507def382bb1e67e7688b9ea6ba7c6 [INFO] running `Command { std: "docker" "start" "-a" "6f7c2e22b5d46300d964149468bb1827f7507def382bb1e67e7688b9ea6ba7c6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::hash::Hash` [INFO] [stderr] --> src/problems/arrays_hashing.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::hash::Hash; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/problems/arrays_hashing.rs:633:10 [INFO] [stderr] | [INFO] [stderr] 633 | for (key, val) in char_count.iter() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `leetcode-rust` (lib) generated 2 warnings (run `cargo fix --lib -p leetcode-rust` to apply 1 suggestion) [INFO] [stderr] warning: function `max_profit` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `length_of_longest_substring` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn length_of_longest_substring(s: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `two_sum` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `three_sum_bool` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:121:8 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn three_sum_bool(nums: Vec, target: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `has_duplicate` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:177:8 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn has_duplicate(nums: Vec) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_anagram` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:217:8 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn is_anagram(s: String, t: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_palindrome` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:275:8 [INFO] [stderr] | [INFO] [stderr] 275 | pub fn is_palindrome(s: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `search` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:331:8 [INFO] [stderr] | [INFO] [stderr] 331 | pub fn search(nums: Vec, target: i32) -> i32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_valid` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:406:8 [INFO] [stderr] | [INFO] [stderr] 406 | pub fn is_valid(s: String) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `flood_fill` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:472:8 [INFO] [stderr] | [INFO] [stderr] 472 | pub fn flood_fill(image: Vec>, sr: i32, sc: i32, color: i32) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `can_construct` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:560:8 [INFO] [stderr] | [INFO] [stderr] 560 | pub fn can_construct(ransom_note: String, magazine: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `longest_palindrome` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:625:8 [INFO] [stderr] | [INFO] [stderr] 625 | pub fn longest_palindrome(s: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `majority_element` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:689:8 [INFO] [stderr] | [INFO] [stderr] 689 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `climb_stairs` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:753:8 [INFO] [stderr] | [INFO] [stderr] 753 | pub fn climb_stairs(n: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `max_sub_array` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:818:8 [INFO] [stderr] | [INFO] [stderr] 818 | pub fn max_sub_array(nums: Vec) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert` is never used [INFO] [stderr] --> src/problems/arrays_hashing.rs:875:8 [INFO] [stderr] | [INFO] [stderr] 875 | pub fn insert(intervals: Vec>, new_interval: Vec) -> Vec> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `leetcode-rust` (bin "leetcode-rust" test) generated 18 warnings (2 duplicates) [INFO] [stderr] warning: `leetcode-rust` (bin "leetcode-rust") generated 18 warnings (18 duplicates) [INFO] [stderr] warning: `leetcode-rust` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/leetcode_rust-92dd57f1baee0dbd) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/leetcode_rust-0528b08d5e2c0273) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_three_sum.rs (/opt/rustwide/target/debug/deps/test_three_sum-64ca636ab181df17) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_three_sum_example_1 ... ok [INFO] [stdout] test test_three_sum_example_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Running tests/test_two_sum.rs (/opt/rustwide/target/debug/deps/test_two_sum-90fe0eca32d16791) [INFO] [stdout] test test_two_sum_empty ... ok [INFO] [stdout] test test_two_sum_example ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests leetcode_rust [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::flood_fill (line 458) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::can_construct (line 553) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::can_construct (line 545) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::can_construct (line 537) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::climb_stairs (line 747) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::has_duplicate (line 171) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_anagram (line 204) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::climb_stairs (line 739) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::insert (line 867) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_palindrome (line 262) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_palindrome (line 255) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::has_duplicate (line 164) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 372) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_anagram (line 211) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 393) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 379) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::insert (line 858) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 400) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_palindrome (line 269) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::length_of_longest_substring (line 46) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 386) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::longest_palindrome (line 619) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::majority_element (line 683) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::longest_palindrome (line 605) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::longest_palindrome (line 612) ... FAILED [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::max_sub_array (line 798) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::majority_element (line 676) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::length_of_longest_substring (line 57) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::search (line 314) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::max_sub_array (line 805) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::search (line 306) ... ok [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::search (line 322) ... ok [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/problems/arrays_hashing.rs - problems::arrays_hashing::max_sub_array (line 812) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::flood_fill (line 458) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/problems/arrays_hashing.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 11 | let expected = vec![ [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 12 | vec![2, 2, 2], [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::can_construct (line 553) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::hashmap` [INFO] [stdout] --> src/problems/arrays_hashing.rs:555:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::hashmap::can_construct; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::can_construct (line 545) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::hashmap` [INFO] [stdout] --> src/problems/arrays_hashing.rs:547:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::hashmap::can_construct; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::can_construct (line 537) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::hashmap` [INFO] [stdout] --> src/problems/arrays_hashing.rs:539:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::hashmap::can_construct; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 372) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::stack` [INFO] [stdout] --> src/problems/arrays_hashing.rs:374:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::stack::is_valid; [INFO] [stdout] | ^^^^^ could not find `stack` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 393) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::stack` [INFO] [stdout] --> src/problems/arrays_hashing.rs:395:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::stack::is_valid; [INFO] [stdout] | ^^^^^ could not find `stack` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 379) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::stack` [INFO] [stdout] --> src/problems/arrays_hashing.rs:381:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::stack::is_valid; [INFO] [stdout] | ^^^^^ could not find `stack` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 400) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::stack` [INFO] [stdout] --> src/problems/arrays_hashing.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::stack::is_valid; [INFO] [stdout] | ^^^^^ could not find `stack` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 386) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::stack` [INFO] [stdout] --> src/problems/arrays_hashing.rs:388:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::stack::is_valid; [INFO] [stdout] | ^^^^^ could not find `stack` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::longest_palindrome (line 619) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::hashmap` [INFO] [stdout] --> src/problems/arrays_hashing.rs:621:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::hashmap::longest_palindrome; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::longest_palindrome (line 605) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::hashmap` [INFO] [stdout] --> src/problems/arrays_hashing.rs:607:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::hashmap::longest_palindrome; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/problems/arrays_hashing.rs - problems::arrays_hashing::longest_palindrome (line 612) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `leetcode_rust::problems::hashmap` [INFO] [stdout] --> src/problems/arrays_hashing.rs:614:30 [INFO] [stdout] | [INFO] [stdout] 5 | use leetcode_rust::problems::hashmap::longest_palindrome; [INFO] [stdout] | ^^^^^^^ could not find `hashmap` in `problems` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::can_construct (line 537) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::can_construct (line 545) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::can_construct (line 553) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::flood_fill (line 458) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 372) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 379) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 386) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 393) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::is_valid (line 400) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::longest_palindrome (line 605) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::longest_palindrome (line 612) [INFO] [stdout] src/problems/arrays_hashing.rs - problems::arrays_hashing::longest_palindrome (line 619) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 21 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.96s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6f7c2e22b5d46300d964149468bb1827f7507def382bb1e67e7688b9ea6ba7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f7c2e22b5d46300d964149468bb1827f7507def382bb1e67e7688b9ea6ba7c6", kill_on_drop: false }` [INFO] [stdout] 6f7c2e22b5d46300d964149468bb1827f7507def382bb1e67e7688b9ea6ba7c6