[INFO] cloning repository https://github.com/123dou/learnRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/123dou/learnRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F123dou%2FlearnRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F123dou%2FlearnRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89a5ddae8f0221a712a009f42b3d874d4c044eda [INFO] checking 123dou/learnRust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F123dou%2FlearnRust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/123dou/learnRust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/123dou/learnRust [INFO] finished tweaking git repo https://github.com/123dou/learnRust [INFO] tweaked toml for git repo https://github.com/123dou/learnRust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/123dou/learnRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ade8a1ea20ed740ad46f238778cfc1d8bfb0dbc5429b4037335cd39cb2a00715 [INFO] running `Command { std: "docker" "start" "-a" "ade8a1ea20ed740ad46f238778cfc1d8bfb0dbc5429b4037335cd39cb2a00715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ade8a1ea20ed740ad46f238778cfc1d8bfb0dbc5429b4037335cd39cb2a00715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade8a1ea20ed740ad46f238778cfc1d8bfb0dbc5429b4037335cd39cb2a00715", kill_on_drop: false }` [INFO] [stdout] ade8a1ea20ed740ad46f238778cfc1d8bfb0dbc5429b4037335cd39cb2a00715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 944954add343a5c1193bca36fd767728e54518cc7d752c9788d498936510fc69 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "944954add343a5c1193bca36fd767728e54518cc7d752c9788d498936510fc69", kill_on_drop: false }` [INFO] [stderr] Checking leetcodeQuestions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/sort/sort.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/sort/sort_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/sort/sort.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/sort/sort_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/sort/sort.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ThreadRng` in this scope [INFO] [stdout] --> src/sort/sort.rs:229:68 [INFO] [stdout] | [INFO] [stdout] 229 | fn quick_sort2(arr: &mut Vec, lo: usize, hi: usize, rng: &mut ThreadRng) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ThreadRng` in this scope [INFO] [stdout] --> src/sort/sort.rs:242:64 [INFO] [stdout] | [INFO] [stdout] 242 | fn partion(arr: &mut Vec, lo: usize, hi: usize, rng: &mut ThreadRng) -> usize { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/sort/sort_test.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/leetcode/editor/cn/array/move_zeroes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Prefix::Verbatim` [INFO] [stdout] --> src/leetcode/editor/cn/array/plus_one.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::path::Prefix::Verbatim; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::*` [INFO] [stdout] --> src/leetcode/editor/cn/array/string_to_integer_atoi.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | use std::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::resume_unwind` [INFO] [stdout] --> src/leetcode/editor/cn/array/string_to_integer_atoi.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | use std::panic::resume_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/leetcode/editor/cn/array/contains_duplicate.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/leetcode/editor/cn/array/rotate_array.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering::Less` [INFO] [stdout] --> src/sort/sort.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering::Less; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/sort/sort.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Alignment::Left` [INFO] [stdout] --> src/sort/sort_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Alignment::Left; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/sort/sort_test.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/sort/sort_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sort::sort` [INFO] [stdout] --> src/sort/sort_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::sort::sort; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/sort/sort.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ThreadRng` in this scope [INFO] [stdout] --> src/sort/sort.rs:229:68 [INFO] [stdout] | [INFO] [stdout] 229 | fn quick_sort2(arr: &mut Vec, lo: usize, hi: usize, rng: &mut ThreadRng) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ThreadRng` in this scope [INFO] [stdout] --> src/sort/sort.rs:242:64 [INFO] [stdout] | [INFO] [stdout] 242 | fn partion(arr: &mut Vec, lo: usize, hi: usize, rng: &mut ThreadRng) -> usize { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/sort/sort_test.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/array/rotate_image.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/leetcode/editor/cn/array/move_zeroes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Prefix::Verbatim` [INFO] [stdout] --> src/leetcode/editor/cn/array/plus_one.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::path::Prefix::Verbatim; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::*` [INFO] [stdout] --> src/leetcode/editor/cn/array/string_to_integer_atoi.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | use std::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::resume_unwind` [INFO] [stdout] --> src/leetcode/editor/cn/array/string_to_integer_atoi.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | use std::panic::resume_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/leetcode/editor/cn/array/contains_duplicate.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/leetcode/editor/cn/array/rotate_array.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/List/linked_list_cycle.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::handle_alloc_error` [INFO] [stdout] --> src/leetcode/editor/cn/List/palindrome_linked_list.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use std::alloc::handle_alloc_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/List/merge_two_sorted_lists.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/List/reverse_linked_list.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/List/remove_nth_node_from_end_of_list.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/List/delete_node_in_a_linked_list.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/leetcode/editor/cn/string/valid_anagram.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/tree/binary_tree_level_order_traversal.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/tree/maximum_depth_of_binary_tree.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/tree/symmetric_tree.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/tree/validate_binary_search_tree.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/leetcode/editor/cn/search_and_sort/first_bad_version.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering::Less` [INFO] [stdout] --> src/sort/sort.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering::Less; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/sort/sort.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Alignment::Left` [INFO] [stdout] --> src/sort/sort_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Alignment::Left; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/sort/sort_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shuffle` found for struct `Vec` in the current scope [INFO] [stdout] --> src/sort/sort_test.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | arr.shuffle(&mut rng); [INFO] [stdout] | ^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/leetcode/editor/cn/tree/symmetric_tree.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/leetcode/editor/cn/tree/validate_binary_search_tree.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcodeQuestions` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `shuffle` found for struct `Vec` in the current scope [INFO] [stdout] --> src/sort/sort_test.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | arr.shuffle(&mut rng); [INFO] [stdout] | ^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/leetcode/editor/cn/tree/symmetric_tree.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/leetcode/editor/cn/tree/validate_binary_search_tree.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "944954add343a5c1193bca36fd767728e54518cc7d752c9788d498936510fc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944954add343a5c1193bca36fd767728e54518cc7d752c9788d498936510fc69", kill_on_drop: false }` [INFO] [stdout] 944954add343a5c1193bca36fd767728e54518cc7d752c9788d498936510fc69