[INFO] cloning repository https://github.com/chanonchanpiwat/data-struct
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chanonchanpiwat/data-struct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanonchanpiwat%2Fdata-struct", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanonchanpiwat%2Fdata-struct'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 843f711006bd26b4e8b2bfa8e20a5bf0658fee2d
[INFO] checking chanonchanpiwat/data-struct against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanonchanpiwat%2Fdata-struct" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chanonchanpiwat/data-struct
[INFO] finished tweaking git repo https://github.com/chanonchanpiwat/data-struct
[INFO] tweaked toml for git repo https://github.com/chanonchanpiwat/data-struct written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chanonchanpiwat/data-struct on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chanonchanpiwat/data-struct 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 534fa075eee711e3ce736361c07b32422a5f21292cb491922fe034a13469bc86
[INFO] running `Command { std: "docker" "start" "-a" "534fa075eee711e3ce736361c07b32422a5f21292cb491922fe034a13469bc86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "534fa075eee711e3ce736361c07b32422a5f21292cb491922fe034a13469bc86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "534fa075eee711e3ce736361c07b32422a5f21292cb491922fe034a13469bc86", kill_on_drop: false }`
[INFO] [stdout] 534fa075eee711e3ce736361c07b32422a5f21292cb491922fe034a13469bc86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 514cb39fc59352eaf93c7fae1b54d736455c3e0b7ca3d226b50513e0072ed352
[INFO] running `Command { std: "docker" "start" "-a" "514cb39fc59352eaf93c7fae1b54d736455c3e0b7ca3d226b50513e0072ed352", kill_on_drop: false }`
[INFO] [stderr]     Checking data-structure v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cmp::Ordering` and `fmt`
[INFO] [stdout]  --> src/data/heap.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cmp::Ordering, fmt};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cmp::Ordering` and `fmt`
[INFO] [stdout]  --> src/data/heap.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cmp::Ordering, fmt};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]  --> src/data/pair.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Pair<T, U> {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/data/pair.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl <T, U> Pair<T, U> {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 10 |   pub fn new(first: T, second: U)-> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp` is never used
[INFO] [stdout]   --> src/data/pair.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | / impl<T, U> Pair<T, U>
[INFO] [stdout] 17 | | where
[INFO] [stdout] 18 | |     T: Ord,
[INFO] [stdout] 19 | |     U: Ord,
[INFO] [stdout]    | |___________- method in this implementation
[INFO] [stdout] 20 |   {
[INFO] [stdout] 21 |       pub fn cmp(&self, other: &Self) -> std::cmp::Ordering {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/data/vec.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T> Vec<T> {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn push(&mut self, elem: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `grow` is never used
[INFO] [stdout]   --> src/data/vec.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<T> Vec<T> {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 45 |     fn grow(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stack` is never constructed
[INFO] [stdout]  --> src/data/stack.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Stack<T> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, and `top` are never used
[INFO] [stdout]   --> src/data/stack.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 11 |    pub fn new() -> Self {
[INFO] [stdout]    |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn push(&mut self, element: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn top(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinHeap` is never constructed
[INFO] [stdout]  --> src/data/heap.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct MinHeap<T: Ord + Copy> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_parent`, `get_left_child`, `get_right_child`, `insert`, and `pop` are never used
[INFO] [stdout]   --> src/data/heap.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | / impl<T> MinHeap<T>
[INFO] [stdout]  8 | | where
[INFO] [stdout]  9 | |     T: Ord + Copy,
[INFO] [stdout]    | |__________________- associated items in this implementation
[INFO] [stdout] 10 |   {
[INFO] [stdout] 11 |       pub fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |       fn get_parent(&self, child: usize) -> usize {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |       fn get_left_child(&self, parent: usize) -> Option<usize> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |       fn get_right_child(&self, parent: usize) -> Option<usize> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |       pub fn insert(&mut self, element: T) {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |       pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/data/vec.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T> Vec<T> {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn push(&mut self, elem: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `grow` is never used
[INFO] [stdout]   --> src/data/vec.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<T> Vec<T> {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 45 |     fn grow(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `minHeap` should have a snake case name
[INFO] [stdout]    --> src/data/heap.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut minHeap: MinHeap<i32> = MinHeap::new();
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `min_heap`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] running `Command { std: "docker" "inspect" "514cb39fc59352eaf93c7fae1b54d736455c3e0b7ca3d226b50513e0072ed352", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "514cb39fc59352eaf93c7fae1b54d736455c3e0b7ca3d226b50513e0072ed352", kill_on_drop: false }`
[INFO] [stdout] 514cb39fc59352eaf93c7fae1b54d736455c3e0b7ca3d226b50513e0072ed352
