[INFO] cloning repository https://github.com/huyhoang1001/heap-sentry
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huyhoang1001/heap-sentry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuyhoang1001%2Fheap-sentry", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuyhoang1001%2Fheap-sentry'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 95ead8678a10a38ec9fa04f435533018f7a469bd
[INFO] checking huyhoang1001/heap-sentry against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuyhoang1001%2Fheap-sentry" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/huyhoang1001/heap-sentry
[INFO] finished tweaking git repo https://github.com/huyhoang1001/heap-sentry
[INFO] tweaked toml for git repo https://github.com/huyhoang1001/heap-sentry written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/huyhoang1001/heap-sentry on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/huyhoang1001/heap-sentry 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dfdfc32e55dccb73652613cd679556316de83f614cc8fba2714ce4eba81c50af
[INFO] running `Command { std: "docker" "start" "dfdfc32e55dccb73652613cd679556316de83f614cc8fba2714ce4eba81c50af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfdfc32e55dccb73652613cd679556316de83f614cc8fba2714ce4eba81c50af", 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" "dfdfc32e55dccb73652613cd679556316de83f614cc8fba2714ce4eba81c50af" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfdfc32e55dccb73652613cd679556316de83f614cc8fba2714ce4eba81c50af", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dfdfc32e55dccb73652613cd679556316de83f614cc8fba2714ce4eba81c50af" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking heap-sentry v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/metrics.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn lock(&self) -> MetricsResult<std::sync::MutexGuard<T>> {
[INFO] [stdout]    |                 ^^^^^                   ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn lock(&self) -> MetricsResult<std::sync::MutexGuard<'_, T>> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]   --> src/metrics.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Err(PoisonError { .. }) => {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type is defined in crate `std`
[INFO] [stdout]    = note: `#[deny(rest_pattern_match_on_struct_with_all_private_fields)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/metrics.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn try_lock(&self) -> Option<std::sync::MutexGuard<T>> {
[INFO] [stdout]    |                     ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn try_lock(&self) -> Option<std::sync::MutexGuard<'_, T>> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `heap-sentry` (lib test) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/metrics.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn lock(&self) -> MetricsResult<std::sync::MutexGuard<T>> {
[INFO] [stdout]    |                 ^^^^^                   ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn lock(&self) -> MetricsResult<std::sync::MutexGuard<'_, T>> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: crater fail !! problematic pattern detected !!
[INFO] [stdout]   --> src/metrics.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Err(PoisonError { .. }) => {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type is defined in crate `std`
[INFO] [stdout]    = note: `#[deny(rest_pattern_match_on_struct_with_all_private_fields)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/metrics.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn try_lock(&self) -> Option<std::sync::MutexGuard<T>> {
[INFO] [stdout]    |                     ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn try_lock(&self) -> Option<std::sync::MutexGuard<'_, T>> {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `heap-sentry` (lib) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "dfdfc32e55dccb73652613cd679556316de83f614cc8fba2714ce4eba81c50af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfdfc32e55dccb73652613cd679556316de83f614cc8fba2714ce4eba81c50af", kill_on_drop: false }`
[INFO] [stdout] dfdfc32e55dccb73652613cd679556316de83f614cc8fba2714ce4eba81c50af
