[INFO] cloning repository https://github.com/rishi-org-stack/dsa-problem-solving [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rishi-org-stack/dsa-problem-solving" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishi-org-stack%2Fdsa-problem-solving", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishi-org-stack%2Fdsa-problem-solving'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3087f87a33d71517452a0a103efd4cc8f893e477 [INFO] checking rishi-org-stack/dsa-problem-solving against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishi-org-stack%2Fdsa-problem-solving" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to create directory for '/workspace/builds/worker-1-tc2/source/.git/logs/refs/remotes/origin/HEAD': No such file or directory [INFO] [stderr] error: unable to write symref for refs/remotes/origin/HEAD: No space left on device [INFO] [stderr] fatal: unable to update refs/remotes/origin/HEAD [INFO] checking rishi-org-stack/dsa-problem-solving against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishi-org-stack%2Fdsa-problem-solving" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file round_trip [INFO] [stderr] error: unable to write file round_trip.rs [INFO] [stderr] error: unable to write file shortest_path [INFO] [stderr] error: unable to write file shortest_path.rs [INFO] [stderr] fatal: cannot create directory at 'src': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking rishi-org-stack/dsa-problem-solving against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishi-org-stack%2Fdsa-problem-solving" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file round_trip [INFO] [stderr] error: unable to write file round_trip.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking rishi-org-stack/dsa-problem-solving against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishi-org-stack%2Fdsa-problem-solving" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rishi-org-stack/dsa-problem-solving [INFO] finished tweaking git repo https://github.com/rishi-org-stack/dsa-problem-solving [INFO] tweaked toml for git repo https://github.com/rishi-org-stack/dsa-problem-solving written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rishi-org-stack/dsa-problem-solving on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rishi-org-stack/dsa-problem-solving 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "fetch" "--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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ddb8b1333927805e401dafd7221173126e20f6dab8c801f509fa962adeecc9a [INFO] running `Command { std: "docker" "start" "-a" "2ddb8b1333927805e401dafd7221173126e20f6dab8c801f509fa962adeecc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ddb8b1333927805e401dafd7221173126e20f6dab8c801f509fa962adeecc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ddb8b1333927805e401dafd7221173126e20f6dab8c801f509fa962adeecc9a", kill_on_drop: false }` [INFO] [stdout] 2ddb8b1333927805e401dafd7221173126e20f6dab8c801f509fa962adeecc9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d191220beb6df1dae978c5853cdb369112242343221744895b582e81b533d60 [INFO] running `Command { std: "docker" "start" "-a" "0d191220beb6df1dae978c5853cdb369112242343221744895b582e81b533d60", kill_on_drop: false }` [INFO] [stderr] Checking pb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BTreeSet` and `vec_deque` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{vec_deque, BTreeSet, HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `building_road` and `position` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use graph::{building_road, position}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `process::Child` and `self` [INFO] [stdout] --> src/graph.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | cmp::{self, min}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | collections::{BTreeSet, HashMap, VecDeque}, [INFO] [stdout] 5 | process::Child, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet` and `vec_deque` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{vec_deque, BTreeSet, HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `position` should have an upper camel case name [INFO] [stdout] --> src/graph.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct position { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `building_road` and `position` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use graph::{building_road, position}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `process::Child` and `self` [INFO] [stdout] --> src/graph.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | cmp::{self, min}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | collections::{BTreeSet, HashMap, VecDeque}, [INFO] [stdout] 5 | process::Child, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `position` should have an upper camel case name [INFO] [stdout] --> src/graph.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct position { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ending` [INFO] [stdout] --> src/graph.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | ending: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ending` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ending` [INFO] [stdout] --> src/graph.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | ending: u32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ending` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/main.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | let mut lines = stdin().lines(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | for i in 0..lengthx { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | for j in 0..lengthy {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/main.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | let mut lines = stdin().lines(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | for i in 0..lengthx { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | for j in 0..lengthy {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | let mut lines = stdin().lines(); [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/main.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | let mut start: graph::position = graph::position { row: 1, col: 2 }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | let mut end: graph::position = graph::position { row: 2, col: 6 }; // ######## [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | let mut lines = stdin().lines(); [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/main.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | let mut start: graph::position = graph::position { row: 1, col: 2 }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | let mut end: graph::position = graph::position { row: 2, col: 6 }; // ######## [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `climb_stairs` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn climb_stairs(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dice_combinations` is never used [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn dice_combinations(n: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MNUM` is never used [INFO] [stdout] --> src/main.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const MNUM: u64 = 1e7 as u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimizing_coin` is never used [INFO] [stdout] --> src/main.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn minimizing_coin(nums: &Vec, i: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimizing_coinT` is never used [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn minimizing_coinT(nums: &Vec, size: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coin_combination2` is never used [INFO] [stdout] --> src/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn coin_combination2(nums: &Vec, i: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coin_combination2_T` is never used [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn coin_combination2_T(nums: &Vec, size: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sol_min_path_sum` is never used [INFO] [stdout] --> src/main.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn sol_min_path_sum(grid: &Vec>, row: usize, col: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_path_sum` is never used [INFO] [stdout] --> src/main.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn min_path_sum(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_path_sumT` is never used [INFO] [stdout] --> src/main.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn min_path_sumT(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_min_distance` is never used [INFO] [stdout] --> src/main.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | fn solve_min_distance(word1: &[u8], word2: &[u8], idx1: usize, idx2: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_distance` is never used [INFO] [stdout] --> src/main.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn min_distance(word1: String, word2: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_num_decodings` is never used [INFO] [stdout] --> src/main.rs:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | fn solve_num_decodings(letters: &[u8], index: usize, size: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_decodings` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn num_decodings(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_k` is never used [INFO] [stdout] --> src/main.rs:361:4 [INFO] [stdout] | [INFO] [stdout] 361 | fn main_k() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maciwin` is never used [INFO] [stdout] --> src/main.rs:408:4 [INFO] [stdout] | [INFO] [stdout] 408 | fn maciwin() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_trip` is never used [INFO] [stdout] --> src/main.rs:511:4 [INFO] [stdout] | [INFO] [stdout] 511 | fn round_trip( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_trip_2` is never used [INFO] [stdout] --> src/main.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | fn round_trip_2( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_trip_3` is never used [INFO] [stdout] --> src/main.rs:587:4 [INFO] [stdout] | [INFO] [stdout] 587 | fn round_trip_3( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_setup_round_trip` is never used [INFO] [stdout] --> src/main.rs:625:4 [INFO] [stdout] | [INFO] [stdout] 625 | fn main_setup_round_trip() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_count`, `edge_count`, and `directed` are never read [INFO] [stdout] --> src/graph.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Graph { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | node_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | edge_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | matix: HashMap>, [INFO] [stdout] 14 | directed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimizing_coinT` should have a snake case name [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn minimizing_coinT(nums: &Vec, size: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minimizing_coin_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coin_combination2_T` should have a snake case name [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn coin_combination2_T(nums: &Vec, size: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `coin_combination2_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_paths_with_obstaclesT` should have a snake case name [INFO] [stdout] --> src/main.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn unique_paths_with_obstaclesT(obstacle_grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unique_paths_with_obstacles_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_path_sumT` should have a snake case name [INFO] [stdout] --> src/main.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn min_path_sumT(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `min_path_sum_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/main.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | let minDist: i32 = graph::labyrinth(&matrix, start, end, lengthx, lengthy, &mut visited); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `climb_stairs` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn climb_stairs(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dice_combinations` is never used [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn dice_combinations(n: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MNUM` is never used [INFO] [stdout] --> src/main.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const MNUM: u64 = 1e7 as u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimizing_coin` is never used [INFO] [stdout] --> src/main.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn minimizing_coin(nums: &Vec, i: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimizing_coinT` is never used [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn minimizing_coinT(nums: &Vec, size: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coin_combination2` is never used [INFO] [stdout] --> src/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn coin_combination2(nums: &Vec, i: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coin_combination2_T` is never used [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn coin_combination2_T(nums: &Vec, size: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sol_min_path_sum` is never used [INFO] [stdout] --> src/main.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn sol_min_path_sum(grid: &Vec>, row: usize, col: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colsCount` should have a snake case name [INFO] [stdout] --> src/graph.rs:331:29 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn normalize(&self, colsCount: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cols_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_path_sum` is never used [INFO] [stdout] --> src/main.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn min_path_sum(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_path_sumT` is never used [INFO] [stdout] --> src/main.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn min_path_sumT(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colsCount` should have a snake case name [INFO] [stdout] --> src/graph.rs:335:37 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn from_normal(normal: i32, colsCount: i32) -> position { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cols_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_min_distance` is never used [INFO] [stdout] --> src/main.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | fn solve_min_distance(word1: &[u8], word2: &[u8], idx1: usize, idx2: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_distance` is never used [INFO] [stdout] --> src/main.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn min_distance(word1: String, word2: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lengthX` should have a snake case name [INFO] [stdout] --> src/graph.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | lengthX: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `length_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_num_decodings` is never used [INFO] [stdout] --> src/main.rs:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | fn solve_num_decodings(letters: &[u8], index: usize, size: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_decodings` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn num_decodings(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lengthY` should have a snake case name [INFO] [stdout] --> src/graph.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | lengthY: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `length_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_k` is never used [INFO] [stdout] --> src/main.rs:361:4 [INFO] [stdout] | [INFO] [stdout] 361 | fn main_k() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let lastPos: position = q.pop_front().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maciwin` is never used [INFO] [stdout] --> src/main.rs:408:4 [INFO] [stdout] | [INFO] [stdout] 408 | fn maciwin() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let newPos: position = position { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_trip` is never used [INFO] [stdout] --> src/main.rs:511:4 [INFO] [stdout] | [INFO] [stdout] 511 | fn round_trip( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_trip_2` is never used [INFO] [stdout] --> src/main.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | fn round_trip_2( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNormal` should have a snake case name [INFO] [stdout] --> src/graph.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | let lastNormal = lastPos.normalize(lengthY); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_trip_3` is never used [INFO] [stdout] --> src/main.rs:587:4 [INFO] [stdout] | [INFO] [stdout] 587 | fn round_trip_3( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let newPos: position = position { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_setup_round_trip` is never used [INFO] [stdout] --> src/main.rs:625:4 [INFO] [stdout] | [INFO] [stdout] 625 | fn main_setup_round_trip() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNormal` should have a snake case name [INFO] [stdout] --> src/graph.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | let lastNormal = lastPos.normalize(lengthY); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_count`, `edge_count`, and `directed` are never read [INFO] [stdout] --> src/graph.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Graph { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | node_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | edge_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | matix: HashMap>, [INFO] [stdout] 14 | directed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | let newPos: position = position { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimizing_coinT` should have a snake case name [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn minimizing_coinT(nums: &Vec, size: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minimizing_coin_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNormal` should have a snake case name [INFO] [stdout] --> src/graph.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | let lastNormal = lastPos.normalize(lengthY); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coin_combination2_T` should have a snake case name [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn coin_combination2_T(nums: &Vec, size: usize, target: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `coin_combination2_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | let newPos: position = position { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unique_paths_with_obstaclesT` should have a snake case name [INFO] [stdout] --> src/main.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn unique_paths_with_obstaclesT(obstacle_grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unique_paths_with_obstacles_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNormal` should have a snake case name [INFO] [stdout] --> src/graph.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | let lastNormal = lastPos.normalize(lengthY); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_path_sumT` should have a snake case name [INFO] [stdout] --> src/main.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn min_path_sumT(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `min_path_sum_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `minDist` should have a snake case name [INFO] [stdout] --> src/main.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | let minDist: i32 = graph::labyrinth(&matrix, start, end, lengthx, lengthy, &mut visited); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `min_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colsCount` should have a snake case name [INFO] [stdout] --> src/graph.rs:331:29 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn normalize(&self, colsCount: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cols_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colsCount` should have a snake case name [INFO] [stdout] --> src/graph.rs:335:37 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn from_normal(normal: i32, colsCount: i32) -> position { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cols_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lengthX` should have a snake case name [INFO] [stdout] --> src/graph.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | lengthX: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `length_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lengthY` should have a snake case name [INFO] [stdout] --> src/graph.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | lengthY: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `length_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let lastPos: position = q.pop_front().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let newPos: position = position { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNormal` should have a snake case name [INFO] [stdout] --> src/graph.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | let lastNormal = lastPos.normalize(lengthY); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let newPos: position = position { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNormal` should have a snake case name [INFO] [stdout] --> src/graph.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | let lastNormal = lastPos.normalize(lengthY); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | let newPos: position = position { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNormal` should have a snake case name [INFO] [stdout] --> src/graph.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | let lastNormal = lastPos.normalize(lengthY); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPos` should have a snake case name [INFO] [stdout] --> src/graph.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | let newPos: position = position { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNormal` should have a snake case name [INFO] [stdout] --> src/graph.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | let lastNormal = lastPos.normalize(lengthY); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "0d191220beb6df1dae978c5853cdb369112242343221744895b582e81b533d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d191220beb6df1dae978c5853cdb369112242343221744895b582e81b533d60", kill_on_drop: false }` [INFO] [stdout] 0d191220beb6df1dae978c5853cdb369112242343221744895b582e81b533d60