[INFO] cloning repository https://github.com/chakmidlot/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/chakmidlot/LeetCode_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchakmidlot%2FLeetCode_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchakmidlot%2FLeetCode_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77509ac9854e96763a2f3287dea5d0302044bfc0 [INFO] checking chakmidlot/LeetCode_rust against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchakmidlot%2FLeetCode_rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chakmidlot/LeetCode_rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chakmidlot/LeetCode_rust [INFO] finished tweaking git repo https://github.com/chakmidlot/LeetCode_rust [INFO] tweaked toml for git repo https://github.com/chakmidlot/LeetCode_rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/chakmidlot/LeetCode_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a9ce09fb3aea68b6f21f973f81f32f992a3b4fa7b0da7aec4ca50262bf71b6e [INFO] running `Command { std: "docker" "start" "-a" "1a9ce09fb3aea68b6f21f973f81f32f992a3b4fa7b0da7aec4ca50262bf71b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a9ce09fb3aea68b6f21f973f81f32f992a3b4fa7b0da7aec4ca50262bf71b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9ce09fb3aea68b6f21f973f81f32f992a3b4fa7b0da7aec4ca50262bf71b6e", kill_on_drop: false }` [INFO] [stdout] 1a9ce09fb3aea68b6f21f973f81f32f992a3b4fa7b0da7aec4ca50262bf71b6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73ce55ae45ad8c526110f81aa115681fc70a42f9849764819e94178fc15bea33 [INFO] running `Command { std: "docker" "start" "-a" "73ce55ae45ad8c526110f81aa115681fc70a42f9849764819e94178fc15bea33", kill_on_drop: false }` [INFO] [stderr] Checking leet_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/task_37.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/task_1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | 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: `two_sum` [INFO] [stdout] --> src/task_1.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/task_9.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_palindrome` [INFO] [stdout] --> src/task_9.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_palindrome(x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/task_23.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/task_23.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_k_lists` [INFO] [stdout] --> src/task_23.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_linked_list` [INFO] [stdout] --> src/task_23.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn make_linked_list(input: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Solution` [INFO] [stdout] --> src/task_37.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `solve_sudoku` [INFO] [stdout] --> src/task_37.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve_sudoku(board: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/task_37.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn is_valid(board: &Vec>, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/task_50.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `my_pow` [INFO] [stdout] --> src/task_50.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn my_pow(x: f64, n: i32) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/task_226.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/task_226.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invert_tree` [INFO] [stdout] --> src/task_226.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn invert_tree(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/task_385.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | Int(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `List` [INFO] [stdout] --> src/task_385.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | List(Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/task_385.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize` [INFO] [stdout] --> src/task_385.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn deserialize(s: String) -> NestedInteger { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "73ce55ae45ad8c526110f81aa115681fc70a42f9849764819e94178fc15bea33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ce55ae45ad8c526110f81aa115681fc70a42f9849764819e94178fc15bea33", kill_on_drop: false }` [INFO] [stdout] 73ce55ae45ad8c526110f81aa115681fc70a42f9849764819e94178fc15bea33