[INFO] cloning repository https://github.com/giang299/algorithm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giang299/algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiang299%2Falgorithm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiang299%2Falgorithm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d2d511b417a2b756a58aeebdaddebc4ee81e5776
[INFO] checking giang299/algorithm/d2d511b417a2b756a58aeebdaddebc4ee81e5776 against master#3645249d79dfb136b5d8de3ce153d19d6698d92d for pr-153975
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiang299%2Falgorithm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/giang299/algorithm
[INFO] finished tweaking git repo https://github.com/giang299/algorithm
[INFO] tweaked toml for git repo https://github.com/giang299/algorithm written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/giang299/algorithm on toolchain 3645249d79dfb136b5d8de3ce153d19d6698d92d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3645249d79dfb136b5d8de3ce153d19d6698d92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/giang299/algorithm 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" "+3645249d79dfb136b5d8de3ce153d19d6698d92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+3645249d79dfb136b5d8de3ce153d19d6698d92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e86e36aca35ee17e39421de3a331e6ac991b513e4b09da7d629e3e93562b5314
[INFO] running `Command { std: "docker" "start" "-a" "e86e36aca35ee17e39421de3a331e6ac991b513e4b09da7d629e3e93562b5314", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e86e36aca35ee17e39421de3a331e6ac991b513e4b09da7d629e3e93562b5314", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e86e36aca35ee17e39421de3a331e6ac991b513e4b09da7d629e3e93562b5314", kill_on_drop: false }`
[INFO] [stdout] e86e36aca35ee17e39421de3a331e6ac991b513e4b09da7d629e3e93562b5314
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+3645249d79dfb136b5d8de3ce153d19d6698d92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3e3eecad78e42f0cf0f059c6caa33941560eb1f8f5e8ccc92ee6a922a3543c22
[INFO] running `Command { std: "docker" "start" "-a" "3e3eecad78e42f0cf0f059c6caa33941560eb1f8f5e8ccc92ee6a922a3543c22", kill_on_drop: false }`
[INFO] [stderr]     Checking algorithm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `data` and `comparator` are never read
[INFO] [stdout]  --> src/data_structure/heap.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Heap<T> {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 7 |     data: Vec<T>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     comparator: fn(&T,&T)->bool
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push`, `pop`, `peek`, `bubble_up`, and `bubble_down` are never used
[INFO] [stdout]   --> src/data_structure/heap.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl <T:Ord> Heap<T> {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn push(&mut self, value: T) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn bubble_up(&mut self, mut index: usize) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn bubble_down(&mut self, mut index: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "3e3eecad78e42f0cf0f059c6caa33941560eb1f8f5e8ccc92ee6a922a3543c22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e3eecad78e42f0cf0f059c6caa33941560eb1f8f5e8ccc92ee6a922a3543c22", kill_on_drop: false }`
[INFO] [stdout] 3e3eecad78e42f0cf0f059c6caa33941560eb1f8f5e8ccc92ee6a922a3543c22
