[INFO] cloning repository https://github.com/vihu/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/vihu/leetcode_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvihu%2Fleetcode_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvihu%2Fleetcode_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 61395d5fbf7bbaade6b419fb485e4dc8a04b06c2
[INFO] checking vihu/leetcode_rust against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvihu%2Fleetcode_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vihu/leetcode_rust
[INFO] finished tweaking git repo https://github.com/vihu/leetcode_rust
[INFO] tweaked toml for git repo https://github.com/vihu/leetcode_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vihu/leetcode_rust on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vihu/leetcode_rust 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d000d54fd964ce518b9220860cfa6ed780934e16ae83e91fdfc614ef4d46af6a
[INFO] running `Command { std: "docker" "start" "-a" "d000d54fd964ce518b9220860cfa6ed780934e16ae83e91fdfc614ef4d46af6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d000d54fd964ce518b9220860cfa6ed780934e16ae83e91fdfc614ef4d46af6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d000d54fd964ce518b9220860cfa6ed780934e16ae83e91fdfc614ef4d46af6a", kill_on_drop: false }`
[INFO] [stdout] d000d54fd964ce518b9220860cfa6ed780934e16ae83e91fdfc614ef4d46af6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 454aa3c96223b514af389e1deb4d83ecc6faa10094ffb3c42d0f0068123db52e
[INFO] running `Command { std: "docker" "start" "-a" "454aa3c96223b514af389e1deb4d83ecc6faa10094ffb3c42d0f0068123db52e", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/google/p56.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let top = stack[(stack.len() - 1)].clone();
[INFO] [stdout]    |                         ^               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 -         let top = stack[(stack.len() - 1)].clone();
[INFO] [stdout] 32 +         let top = stack[stack.len() - 1].clone();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/google/p56.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let top = stack[(stack.len() - 1)].clone();
[INFO] [stdout]    |                         ^               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 -         let top = stack[(stack.len() - 1)].clone();
[INFO] [stdout] 32 +         let top = stack[stack.len() - 1].clone();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `items` and `min_items` are never read
[INFO] [stdout]   --> src/google/p155.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct MinStack {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 23 |     items: Vec<i32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     min_items: Vec<i32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MinStack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, `get_min`, and `len` are never used
[INFO] [stdout]   --> src/google/p155.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl MinStack {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 28 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn pop(&mut self) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn top(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn get_min(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "454aa3c96223b514af389e1deb4d83ecc6faa10094ffb3c42d0f0068123db52e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "454aa3c96223b514af389e1deb4d83ecc6faa10094ffb3c42d0f0068123db52e", kill_on_drop: false }`
[INFO] [stdout] 454aa3c96223b514af389e1deb4d83ecc6faa10094ffb3c42d0f0068123db52e
