[INFO] cloning repository https://github.com/YoungForest/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/YoungForest/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoungForest%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoungForest%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ef691317d55339748679b24ed602cd15ddbc4f1 [INFO] checking YoungForest/leetcode-rust against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoungForest%2Fleetcode-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YoungForest/leetcode-rust on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YoungForest/leetcode-rust [INFO] finished tweaking git repo https://github.com/YoungForest/leetcode-rust [INFO] tweaked toml for git repo https://github.com/YoungForest/leetcode-rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/YoungForest/leetcode-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cb9a62cac9b51e04d7c2be9980e6b68607f24d904839b2c922cd0bfa43736cd [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" "0cb9a62cac9b51e04d7c2be9980e6b68607f24d904839b2c922cd0bfa43736cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cb9a62cac9b51e04d7c2be9980e6b68607f24d904839b2c922cd0bfa43736cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb9a62cac9b51e04d7c2be9980e6b68607f24d904839b2c922cd0bfa43736cd", kill_on_drop: false }` [INFO] [stdout] 0cb9a62cac9b51e04d7c2be9980e6b68607f24d904839b2c922cd0bfa43736cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f42943c95feacfb0aec6ecdf0b3f86cfeef57d08b50c7d65a6bedec995e0add [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" "3f42943c95feacfb0aec6ecdf0b3f86cfeef57d08b50c7d65a6bedec995e0add", kill_on_drop: false }` [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `ans` is never read [INFO] [stdout] --> src/problems/problem1180.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ans = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ans` is never read [INFO] [stdout] --> src/problems/problem1180.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ans = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problems/problem1219.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | mut path: &mut HashSet<(i32, i32)>, [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/problems/problem1219.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut n; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problems/problem1143.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_common_subsequence` [INFO] [stdout] --> src/problems/problem1143.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn longest_common_subsequence(text1: String, text2: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/problems/problem1143.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problems/problem1219.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtracking` [INFO] [stdout] --> src/problems/problem1219.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn backtracking( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_maximum_gold` [INFO] [stdout] --> src/problems/problem1219.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_maximum_gold(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/problems/problem1219.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problems/problem1223.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MOD_NUMBER` [INFO] [stdout] --> src/problems/problem1223.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | const MOD_NUMBER: i32 = 1000000007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `answer` [INFO] [stdout] --> src/problems/problem1223.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn answer( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `die_simulator` [INFO] [stdout] --> src/problems/problem1223.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn die_simulator(n: i32, roll_max: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/problems/problem1223.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problems/problem1219.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | mut path: &mut HashSet<(i32, i32)>, [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/problems/problem1219.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut n; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problems/problem1143.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `longest_common_subsequence` [INFO] [stdout] --> src/problems/problem1143.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn longest_common_subsequence(text1: String, text2: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/problems/problem1143.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problems/problem1219.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtracking` [INFO] [stdout] --> src/problems/problem1219.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn backtracking( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_maximum_gold` [INFO] [stdout] --> src/problems/problem1219.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_maximum_gold(grid: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/problems/problem1219.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problems/problem1223.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MOD_NUMBER` [INFO] [stdout] --> src/problems/problem1223.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | const MOD_NUMBER: i32 = 1000000007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `answer` [INFO] [stdout] --> src/problems/problem1223.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn answer( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `die_simulator` [INFO] [stdout] --> src/problems/problem1223.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn die_simulator(n: i32, roll_max: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/problems/problem1223.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "3f42943c95feacfb0aec6ecdf0b3f86cfeef57d08b50c7d65a6bedec995e0add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f42943c95feacfb0aec6ecdf0b3f86cfeef57d08b50c7d65a6bedec995e0add", kill_on_drop: false }` [INFO] [stdout] 3f42943c95feacfb0aec6ecdf0b3f86cfeef57d08b50c7d65a6bedec995e0add