[INFO] cloning repository https://github.com/mcdearman/leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcdearman/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcdearman%2Fleetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcdearman%2Fleetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8972c30e98bcc9b2808c5c4d5d2c6fd79b5008b5 [INFO] checking mcdearman/leetcode against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcdearman%2Fleetcode" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mcdearman/leetcode on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mcdearman/leetcode [INFO] finished tweaking git repo https://github.com/mcdearman/leetcode [INFO] tweaked toml for git repo https://github.com/mcdearman/leetcode written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mcdearman/leetcode 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8994cb117bdca9971239937d1a5f039f55842c038b294533e8055f936dd24a7e [INFO] running `Command { std: "docker" "start" "-a" "8994cb117bdca9971239937d1a5f039f55842c038b294533e8055f936dd24a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8994cb117bdca9971239937d1a5f039f55842c038b294533e8055f936dd24a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8994cb117bdca9971239937d1a5f039f55842c038b294533e8055f936dd24a7e", kill_on_drop: false }` [INFO] [stdout] 8994cb117bdca9971239937d1a5f039f55842c038b294533e8055f936dd24a7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a184b2fcaf4eeb3598b9ab6c3d2e0c0a9811c0043eead779aeb5d6bfc839ef88 [INFO] running `Command { std: "docker" "start" "-a" "a184b2fcaf4eeb3598b9ab6c3d2e0c0a9811c0043eead779aeb5d6bfc839ef88", kill_on_drop: false }` [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/p1/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/p1909/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn can_be_increasing(nums: Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum` is never used [INFO] [stdout] --> src/p1/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_profit` is never used [INFO] [stdout] --> src/p121/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_increasing` is never used [INFO] [stdout] --> src/p1909/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn can_be_increasing(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/p2/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_two_numbers` is never used [INFO] [stdout] --> src/p2/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn add_two_numbers( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_duplicate` is never used [INFO] [stdout] --> src/p217/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_longest_substring` is never used [INFO] [stdout] --> src/p3/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn length_of_longest_substring(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_median_sorted_arrays` is never used [INFO] [stdout] --> src/p4/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_median_sorted_arrays(mut a: Vec, mut b: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrap_min` is never used [INFO] [stdout] --> src/p4/mod.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn unwrap_min(a: Option<&i32>, b: Option<&i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search` is never used [INFO] [stdout] --> src/p4/mod.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn binary_search( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/p1909/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn can_be_increasing(nums: Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_increasing` is never used [INFO] [stdout] --> src/p1909/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn can_be_increasing(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/p2/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_two_numbers` is never used [INFO] [stdout] --> src/p2/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn add_two_numbers( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_duplicate` is never used [INFO] [stdout] --> src/p217/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_median_sorted_arrays` is never used [INFO] [stdout] --> src/p4/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_median_sorted_arrays(mut a: Vec, mut b: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrap_min` is never used [INFO] [stdout] --> src/p4/mod.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn unwrap_min(a: Option<&i32>, b: Option<&i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search` is never used [INFO] [stdout] --> src/p4/mod.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn binary_search( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "a184b2fcaf4eeb3598b9ab6c3d2e0c0a9811c0043eead779aeb5d6bfc839ef88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a184b2fcaf4eeb3598b9ab6c3d2e0c0a9811c0043eead779aeb5d6bfc839ef88", kill_on_drop: false }` [INFO] [stdout] a184b2fcaf4eeb3598b9ab6c3d2e0c0a9811c0043eead779aeb5d6bfc839ef88 [INFO] checking mcdearman/leetcode against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcdearman%2Fleetcode" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mcdearman/leetcode on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mcdearman/leetcode [INFO] finished tweaking git repo https://github.com/mcdearman/leetcode [INFO] tweaked toml for git repo https://github.com/mcdearman/leetcode written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mcdearman/leetcode 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd72ade920888ce965f84efa87689ff7c31af66779876df5109d16a873dcef59 [INFO] running `Command { std: "docker" "start" "-a" "dd72ade920888ce965f84efa87689ff7c31af66779876df5109d16a873dcef59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd72ade920888ce965f84efa87689ff7c31af66779876df5109d16a873dcef59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd72ade920888ce965f84efa87689ff7c31af66779876df5109d16a873dcef59", kill_on_drop: false }` [INFO] [stdout] dd72ade920888ce965f84efa87689ff7c31af66779876df5109d16a873dcef59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3916961ad27f12e450e137da0d3f2a91d490eecd278647867c4f466d766addb1 [INFO] running `Command { std: "docker" "start" "-a" "3916961ad27f12e450e137da0d3f2a91d490eecd278647867c4f466d766addb1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking leetcode v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/p1/mod.rs (1 fix) [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/p1909/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn can_be_increasing(nums: Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum` is never used [INFO] [stdout] --> src/p1/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_profit` is never used [INFO] [stdout] --> src/p121/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_increasing` is never used [INFO] [stdout] --> src/p1909/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn can_be_increasing(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/p2/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_two_numbers` is never used [INFO] [stdout] --> src/p2/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn add_two_numbers( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_duplicate` is never used [INFO] [stdout] --> src/p217/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_longest_substring` is never used [INFO] [stdout] --> src/p3/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn length_of_longest_substring(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_median_sorted_arrays` is never used [INFO] [stdout] --> src/p4/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_median_sorted_arrays(mut a: Vec, mut b: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrap_min` is never used [INFO] [stdout] --> src/p4/mod.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn unwrap_min(a: Option<&i32>, b: Option<&i32>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search` is never used [INFO] [stdout] --> src/p4/mod.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn binary_search( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/p1/mod.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | .collect::>(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/p1/mod.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | vec![1, 0].iter().copied().collect::>() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/p1/mod.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | .collect::>(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/p1/mod.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | vec![2, 1].iter().copied().collect::>() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/p1/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | .collect::>(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/p1/mod.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | vec![1, 0].iter().copied().collect::>() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/p1909/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn can_be_increasing(nums: Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (lib test) due to 7 previous errors; 1 warning emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3916961ad27f12e450e137da0d3f2a91d490eecd278647867c4f466d766addb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3916961ad27f12e450e137da0d3f2a91d490eecd278647867c4f466d766addb1", kill_on_drop: false }` [INFO] [stdout] 3916961ad27f12e450e137da0d3f2a91d490eecd278647867c4f466d766addb1