[INFO] cloning repository https://github.com/Kilerd/leetcode-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kilerd/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 187ad50d630af17e7fa02bc075d8f94e67710f15 [INFO] checking Kilerd/leetcode-rust against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilerd%2Fleetcode-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kilerd/leetcode-rust on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kilerd/leetcode-rust [INFO] finished tweaking git repo https://github.com/Kilerd/leetcode-rust [INFO] tweaked toml for git repo https://github.com/Kilerd/leetcode-rust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Kilerd/leetcode-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a060467f273a261a121b5002b54c9cddfb58b11deacae08d10e04b91f274247 [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" "6a060467f273a261a121b5002b54c9cddfb58b11deacae08d10e04b91f274247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a060467f273a261a121b5002b54c9cddfb58b11deacae08d10e04b91f274247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a060467f273a261a121b5002b54c9cddfb58b11deacae08d10e04b91f274247", kill_on_drop: false }` [INFO] [stdout] 6a060467f273a261a121b5002b54c9cddfb58b11deacae08d10e04b91f274247 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c80f5551f6779c653eb1f983ef7b6ef194f9b2e9721390078ad8fb1ea3ff8e35 [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" "c80f5551f6779c653eb1f983ef7b6ef194f9b2e9721390078ad8fb1ea3ff8e35", kill_on_drop: false }` [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/maximum_depth_of_binary_tree.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/apply_discount_every_n_orders.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ShlAssign`, `Shl`, `Shr` [INFO] [stdout] --> src/convert_a_number_to_hexadecimal.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Shl, ShlAssign, Shr}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked` [INFO] [stdout] --> src/convert_a_number_to_hexadecimal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/container_with_most_water.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | /// two pointer solution [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | let mut start = 0usize; [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | 1000...std::i32::MAX => ("M", 1000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | 900...1000 => ("CM", 900), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | 500...900 => ("D", 500), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | 400...500 => ("CD", 400), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | 100...400 => ("C", 100), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | 90...100 => ("XC", 90), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | 50...90 => ("L", 50), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | 40...50 => ("XL", 40), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | 10...40 => ("X", 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | 5...9 => ("V", 5), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | 1...4 => ("I", 1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nim_game.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | 1...3 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32` [INFO] [stdout] --> src/reverse_integer.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use std::i32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/three_sum_closest.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/maximum_depth_of_binary_tree.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/apply_discount_every_n_orders.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ShlAssign`, `Shl`, `Shr` [INFO] [stdout] --> src/convert_a_number_to_hexadecimal.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Shl, ShlAssign, Shr}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hint::unreachable_unchecked` [INFO] [stdout] --> src/convert_a_number_to_hexadecimal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hint::unreachable_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/container_with_most_water.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | /// two pointer solution [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | let mut start = 0usize; [INFO] [stdout] | ----------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | 1000...std::i32::MAX => ("M", 1000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | 900...1000 => ("CM", 900), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | 500...900 => ("D", 500), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | 400...500 => ("CD", 400), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | 100...400 => ("C", 100), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | 90...100 => ("XC", 90), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | 50...90 => ("L", 50), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | 40...50 => ("XL", 40), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | 10...40 => ("X", 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | 5...9 => ("V", 5), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/integer_to_roman.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | 1...4 => ("I", 1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/nim_game.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | 1...3 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32` [INFO] [stdout] --> src/reverse_integer.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use std::i32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/three_sum_closest.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | 1000...std::i32::MAX => ("M", 1000), [INFO] [stdout] | -------------------- this range overlaps on `1000_i32` [INFO] [stdout] 16 | 900...1000 => ("CM", 900), [INFO] [stdout] | ^^^^^^^^^^ overlapping patterns [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 16 | 900...1000 => ("CM", 900), [INFO] [stdout] | ---------- this range overlaps on `900_i32` [INFO] [stdout] 17 | 500...900 => ("D", 500), [INFO] [stdout] | ^^^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 17 | 500...900 => ("D", 500), [INFO] [stdout] | --------- this range overlaps on `500_i32` [INFO] [stdout] 18 | 400...500 => ("CD", 400), [INFO] [stdout] | ^^^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | 400...500 => ("CD", 400), [INFO] [stdout] | --------- this range overlaps on `400_i32` [INFO] [stdout] 19 | 100...400 => ("C", 100), [INFO] [stdout] | ^^^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 19 | 100...400 => ("C", 100), [INFO] [stdout] | --------- this range overlaps on `100_i32` [INFO] [stdout] 20 | 90...100 => ("XC", 90), [INFO] [stdout] | ^^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 20 | 90...100 => ("XC", 90), [INFO] [stdout] | -------- this range overlaps on `90_i32` [INFO] [stdout] 21 | 50...90 => ("L", 50), [INFO] [stdout] | ^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 21 | 50...90 => ("L", 50), [INFO] [stdout] | ------- this range overlaps on `50_i32` [INFO] [stdout] 22 | 40...50 => ("XL", 40), [INFO] [stdout] | ^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 22 | 40...50 => ("XL", 40), [INFO] [stdout] | ------- this range overlaps on `40_i32` [INFO] [stdout] 23 | 10...40 => ("X", 10), [INFO] [stdout] | ^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 24 | 9 => ("IX", 9), [INFO] [stdout] | - this range overlaps on `9_i32` [INFO] [stdout] 25 | 5...9 => ("V", 5), [INFO] [stdout] | ^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 26 | 4 => ("IV", 4), [INFO] [stdout] | - this range overlaps on `4_i32` [INFO] [stdout] 27 | 1...4 => ("I", 1), [INFO] [stdout] | ^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/convert_a_number_to_hexadecimal.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | for i in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/three_sum.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 17 | let value = map.get(&x).unwrap_or(&0); [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] 18 | map.insert(x, *value + 1); [INFO] [stdout] | ^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/combination_sum.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | let mut vec1 = Solution::combination_sum(candidates.clone(), target - *x); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` [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] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | 1000...std::i32::MAX => ("M", 1000), [INFO] [stdout] | -------------------- this range overlaps on `1000_i32` [INFO] [stdout] 16 | 900...1000 => ("CM", 900), [INFO] [stdout] | ^^^^^^^^^^ overlapping patterns [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 16 | 900...1000 => ("CM", 900), [INFO] [stdout] | ---------- this range overlaps on `900_i32` [INFO] [stdout] 17 | 500...900 => ("D", 500), [INFO] [stdout] | ^^^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 17 | 500...900 => ("D", 500), [INFO] [stdout] | --------- this range overlaps on `500_i32` [INFO] [stdout] 18 | 400...500 => ("CD", 400), [INFO] [stdout] | ^^^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 18 | 400...500 => ("CD", 400), [INFO] [stdout] | --------- this range overlaps on `400_i32` [INFO] [stdout] 19 | 100...400 => ("C", 100), [INFO] [stdout] | ^^^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 19 | 100...400 => ("C", 100), [INFO] [stdout] | --------- this range overlaps on `100_i32` [INFO] [stdout] 20 | 90...100 => ("XC", 90), [INFO] [stdout] | ^^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 20 | 90...100 => ("XC", 90), [INFO] [stdout] | -------- this range overlaps on `90_i32` [INFO] [stdout] 21 | 50...90 => ("L", 50), [INFO] [stdout] | ^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 21 | 50...90 => ("L", 50), [INFO] [stdout] | ------- this range overlaps on `50_i32` [INFO] [stdout] 22 | 40...50 => ("XL", 40), [INFO] [stdout] | ^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 22 | 40...50 => ("XL", 40), [INFO] [stdout] | ------- this range overlaps on `40_i32` [INFO] [stdout] 23 | 10...40 => ("X", 10), [INFO] [stdout] | ^^^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 24 | 9 => ("IX", 9), [INFO] [stdout] | - this range overlaps on `9_i32` [INFO] [stdout] 25 | 5...9 => ("V", 5), [INFO] [stdout] | ^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/integer_to_roman.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 26 | 4 => ("IV", 4), [INFO] [stdout] | - this range overlaps on `4_i32` [INFO] [stdout] 27 | 1...4 => ("I", 1), [INFO] [stdout] | ^^^^^ overlapping patterns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/convert_a_number_to_hexadecimal.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | for i in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sudoku_solver.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut expected_solution = vec![ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sudoku_solver.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut expected_solution = vec![ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/three_sum.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 17 | let value = map.get(&x).unwrap_or(&0); [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] 18 | map.insert(x, *value + 1); [INFO] [stdout] | ^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/combination_sum.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | let mut vec1 = Solution::combination_sum(candidates.clone(), target - *x); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c80f5551f6779c653eb1f983ef7b6ef194f9b2e9721390078ad8fb1ea3ff8e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80f5551f6779c653eb1f983ef7b6ef194f9b2e9721390078ad8fb1ea3ff8e35", kill_on_drop: false }` [INFO] [stdout] c80f5551f6779c653eb1f983ef7b6ef194f9b2e9721390078ad8fb1ea3ff8e35