[INFO] cloning repository https://github.com/AJTJ/min_heap_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AJTJ/min_heap_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJTJ%2Fmin_heap_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJTJ%2Fmin_heap_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 29172033f237f8e43a91458b81fa126ad79d8e46
[INFO] checking AJTJ/min_heap_rust against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJTJ%2Fmin_heap_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AJTJ/min_heap_rust
[INFO] finished tweaking git repo https://github.com/AJTJ/min_heap_rust
[INFO] tweaked toml for git repo https://github.com/AJTJ/min_heap_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AJTJ/min_heap_rust on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AJTJ/min_heap_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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0d2c1081738ea8132d071a6ab9c15ddf9c3f10bbe9fefe35497661d779dd4640
[INFO] running `Command { std: "docker" "start" "-a" "0d2c1081738ea8132d071a6ab9c15ddf9c3f10bbe9fefe35497661d779dd4640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d2c1081738ea8132d071a6ab9c15ddf9c3f10bbe9fefe35497661d779dd4640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d2c1081738ea8132d071a6ab9c15ddf9c3f10bbe9fefe35497661d779dd4640", kill_on_drop: false }`
[INFO] [stdout] 0d2c1081738ea8132d071a6ab9c15ddf9c3f10bbe9fefe35497661d779dd4640
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a3e45b6f591f169df4c75605ef0b934835498af10b8196a6a86df7dbbf62af73
[INFO] running `Command { std: "docker" "start" "-a" "a3e45b6f591f169df4c75605ef0b934835498af10b8196a6a86df7dbbf62af73", kill_on_drop: false }`
[INFO] [stderr]     Checking min_heap_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut capacity = 3;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut items: Vec<i32> = Vec::with_capacity(capacity);
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let mut size = 0;
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut other_capacity = 10;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]    --> src/main.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut items: Vec<i32> = Vec::with_capacity(capacity);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/main.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let mut size = 0;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_parent_index` is never used
[INFO] [stdout]   --> src/main.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn get_parent_index(child_index: usize) -> Option<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_right_child` is never used
[INFO] [stdout]   --> src/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn has_right_child(parent_index: usize, size: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_parent` is never used
[INFO] [stdout]   --> src/main.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn has_parent(el_index: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parent` is never used
[INFO] [stdout]   --> src/main.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn parent(el_index: usize, items: &Vec<i32>) -> Option<i32> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_extra_capacity` is never used
[INFO] [stdout]   --> src/main.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn ensure_extra_capacity(capacity: &mut usize, items: &mut Vec<i32>, size: &mut usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `peek` is never used
[INFO] [stdout]   --> src/main.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn peek(items: Vec<i32>) -> Option<i32> {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/main.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn add(item: i32, capacity: &mut usize, items: &mut Vec<i32>, size: &mut usize) {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `heapify_up` is never used
[INFO] [stdout]    --> src/main.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn heapify_up(items: &mut Vec<i32>, size: &mut usize) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut capacity = 3;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut items: Vec<i32> = Vec::with_capacity(capacity);
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let mut size = 0;
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut other_capacity = 10;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]    --> src/main.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut items: Vec<i32> = Vec::with_capacity(capacity);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/main.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let mut size = 0;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_parent_index` is never used
[INFO] [stdout]   --> src/main.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn get_parent_index(child_index: usize) -> Option<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_right_child` is never used
[INFO] [stdout]   --> src/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn has_right_child(parent_index: usize, size: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_parent` is never used
[INFO] [stdout]   --> src/main.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn has_parent(el_index: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parent` is never used
[INFO] [stdout]   --> src/main.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn parent(el_index: usize, items: &Vec<i32>) -> Option<i32> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_extra_capacity` is never used
[INFO] [stdout]   --> src/main.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn ensure_extra_capacity(capacity: &mut usize, items: &mut Vec<i32>, size: &mut usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `peek` is never used
[INFO] [stdout]   --> src/main.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn peek(items: Vec<i32>) -> Option<i32> {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/main.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn add(item: i32, capacity: &mut usize, items: &mut Vec<i32>, size: &mut usize) {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `heapify_up` is never used
[INFO] [stdout]    --> src/main.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn heapify_up(items: &mut Vec<i32>, size: &mut usize) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] running `Command { std: "docker" "inspect" "a3e45b6f591f169df4c75605ef0b934835498af10b8196a6a86df7dbbf62af73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3e45b6f591f169df4c75605ef0b934835498af10b8196a6a86df7dbbf62af73", kill_on_drop: false }`
[INFO] [stdout] a3e45b6f591f169df4c75605ef0b934835498af10b8196a6a86df7dbbf62af73
