[INFO] cloning repository https://github.com/Wasabi375/mut-binary-heap
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wasabi375/mut-binary-heap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWasabi375%2Fmut-binary-heap", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWasabi375%2Fmut-binary-heap'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bef6ec310ac125f9e2fadbe56094c0a0790634fc
[INFO] checking Wasabi375/mut-binary-heap against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWasabi375%2Fmut-binary-heap" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Wasabi375/mut-binary-heap
[INFO] finished tweaking git repo https://github.com/Wasabi375/mut-binary-heap
[INFO] tweaked toml for git repo https://github.com/Wasabi375/mut-binary-heap written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Wasabi375/mut-binary-heap on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Wasabi375/mut-binary-heap 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" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded compare v0.1.0
[INFO] [stderr]   Downloaded serde v1.0.155
[INFO] [stderr]   Downloaded serde_derive v1.0.155
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0251d41937b265cda277fec66043169f41ac66c47c75fad0f971381ca88c887d
[INFO] running `Command { std: "docker" "start" "0251d41937b265cda277fec66043169f41ac66c47c75fad0f971381ca88c887d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0251d41937b265cda277fec66043169f41ac66c47c75fad0f971381ca88c887d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0251d41937b265cda277fec66043169f41ac66c47c75fad0f971381ca88c887d" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0251d41937b265cda277fec66043169f41ac66c47c75fad0f971381ca88c887d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0251d41937b265cda277fec66043169f41ac66c47c75fad0f971381ca88c887d" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling serde v1.0.155
[INFO] [stderr]    Compiling serde_json v1.0.94
[INFO] [stderr]     Checking compare v0.1.0
[INFO] [stderr]     Checking itoa v1.0.6
[INFO] [stderr]     Checking ryu v1.0.13
[INFO] [stderr]     Checking mut-binary-heap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]     --> src/binary_heap.rs:2138:35
[INFO] [stdout]      |
[INFO] [stdout] 2138 |         self.iter.last().map(|kv| (&kv.1))
[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] 2138 -         self.iter.last().map(|kv| (&kv.1))
[INFO] [stdout] 2138 +         self.iter.last().map(|kv| &kv.1)
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]     --> src/binary_heap.rs:2164:35
[INFO] [stdout]      |
[INFO] [stdout] 2164 |         self.iter.last().map(|kv| (&kv.0))
[INFO] [stdout]      |                                   ^     ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 2164 -         self.iter.last().map(|kv| (&kv.0))
[INFO] [stdout] 2164 +         self.iter.last().map(|kv| &kv.0)
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]     --> src/binary_heap.rs:2211:34
[INFO] [stdout]      |
[INFO] [stdout] 2204 |             let mut_ptr: *mut T = ptr as *mut T;
[INFO] [stdout]      |                                   ------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 2211 |             let value = unsafe { &mut *mut_ptr };
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]      = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mut-binary-heap` (lib) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "0251d41937b265cda277fec66043169f41ac66c47c75fad0f971381ca88c887d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0251d41937b265cda277fec66043169f41ac66c47c75fad0f971381ca88c887d", kill_on_drop: false }`
[INFO] [stdout] 0251d41937b265cda277fec66043169f41ac66c47c75fad0f971381ca88c887d
