[INFO] cloning repository https://github.com/kingwingfly/LeetCode-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kingwingfly/LeetCode-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingwingfly%2FLeetCode-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingwingfly%2FLeetCode-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d01e34a539ea9b228e57288cef070ba51ed7ef9 [INFO] checking kingwingfly/LeetCode-rs against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingwingfly%2FLeetCode-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kingwingfly/LeetCode-rs on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kingwingfly/LeetCode-rs [INFO] finished tweaking git repo https://github.com/kingwingfly/LeetCode-rs [INFO] tweaked toml for git repo https://github.com/kingwingfly/LeetCode-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kingwingfly/LeetCode-rs 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4b126adef398f92934c1d3817493c89804d23c841c6b9a65bf92ffd6c15e3f9 [INFO] running `Command { std: "docker" "start" "-a" "f4b126adef398f92934c1d3817493c89804d23c841c6b9a65bf92ffd6c15e3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4b126adef398f92934c1d3817493c89804d23c841c6b9a65bf92ffd6c15e3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b126adef398f92934c1d3817493c89804d23c841c6b9a65bf92ffd6c15e3f9", kill_on_drop: false }` [INFO] [stdout] f4b126adef398f92934c1d3817493c89804d23c841c6b9a65bf92ffd6c15e3f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6c56dd1b3955dc901f1f429d973597061b75650c1df6c121062ba1bd2156f5f [INFO] running `Command { std: "docker" "start" "-a" "d6c56dd1b3955dc901f1f429d973597061b75650c1df6c121062ba1bd2156f5f", kill_on_drop: false }` [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `next_permutation` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn next_permutation(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_valid_parentheses` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn longest_valid_parentheses(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn search(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_range` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn search_range(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_insert` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn search_insert(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_and_say` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn count_and_say(n: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combination_sum` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn combination_sum(candidates: Vec, target: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combination_sum2` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | fn combination_sum2(mut candidates: Vec, target: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_missing_positive` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn first_missing_positive(mut nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trap` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn trap(height: Vec) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn multiply(num1: String, num2: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_match` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:370:4 [INFO] [stdout] | [INFO] [stdout] 370 | fn is_match(s: String, p: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_match2` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:390:4 [INFO] [stdout] | [INFO] [stdout] 390 | fn is_match2(s: String, p: String) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_sudoku` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn is_valid_sudoku(board: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board`, `rows`, `cols`, and `blocks` are never read [INFO] [stdout] --> src/leetcode_31_60.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct SudokuSolution { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 111 | pub board: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 112 | rows: [u16; 9], [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | cols: [u16; 9], [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | blocks: [u16; 9], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/leetcode_31_60.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 117 | impl SudokuSolution { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 118 | pub fn new(board: Board) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn solve_sudoku(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn dfs(&mut self, cnt: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn get_possible(&self, i: usize, j: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn get_next(&self) -> (usize, usize, u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn fill_num(&mut self, i: usize, j: usize, n: char) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn cancel_fill_num(&mut self, i: usize, j: usize, n: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_permutation` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn next_permutation(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_valid_parentheses` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn longest_valid_parentheses(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn search(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_range` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn search_range(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_insert` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn search_insert(nums: Vec, target: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_and_say` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn count_and_say(n: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combination_sum` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn combination_sum(candidates: Vec, target: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combination_sum2` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | fn combination_sum2(mut candidates: Vec, target: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_missing_positive` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn first_missing_positive(mut nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trap` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn trap(height: Vec) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiply` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn multiply(num1: String, num2: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_match` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:370:4 [INFO] [stdout] | [INFO] [stdout] 370 | fn is_match(s: String, p: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_match2` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:390:4 [INFO] [stdout] | [INFO] [stdout] 390 | fn is_match2(s: String, p: String) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jump` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | fn jump(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_sudoku` is never used [INFO] [stdout] --> src/leetcode_31_60.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn is_valid_sudoku(board: Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board`, `rows`, `cols`, and `blocks` are never read [INFO] [stdout] --> src/leetcode_31_60.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct SudokuSolution { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 111 | pub board: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 112 | rows: [u16; 9], [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | cols: [u16; 9], [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | blocks: [u16; 9], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/leetcode_31_60.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 117 | impl SudokuSolution { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 118 | pub fn new(board: Board) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn solve_sudoku(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn dfs(&mut self, cnt: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn get_possible(&self, i: usize, j: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn get_next(&self) -> (usize, usize, u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn fill_num(&mut self, i: usize, j: usize, n: char) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn cancel_fill_num(&mut self, i: usize, j: usize, n: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "d6c56dd1b3955dc901f1f429d973597061b75650c1df6c121062ba1bd2156f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c56dd1b3955dc901f1f429d973597061b75650c1df6c121062ba1bd2156f5f", kill_on_drop: false }` [INFO] [stdout] d6c56dd1b3955dc901f1f429d973597061b75650c1df6c121062ba1bd2156f5f