[INFO] cloning repository https://github.com/d1ngd0/herman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d1ngd0/herman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd1ngd0%2Fherman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd1ngd0%2Fherman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ea684cbe00ebfd6d088e9a0e3b6f087c81a32aa [INFO] checking d1ngd0/herman against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd1ngd0%2Fherman" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/d1ngd0/herman [INFO] finished tweaking git repo https://github.com/d1ngd0/herman [INFO] tweaked toml for git repo https://github.com/d1ngd0/herman written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/d1ngd0/herman on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/d1ngd0/herman 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ff15077a2daf86512af7452a71f740f004627913b2fc331875f2c5adc0b61c6 [INFO] running `Command { std: "docker" "start" "-a" "7ff15077a2daf86512af7452a71f740f004627913b2fc331875f2c5adc0b61c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ff15077a2daf86512af7452a71f740f004627913b2fc331875f2c5adc0b61c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff15077a2daf86512af7452a71f740f004627913b2fc331875f2c5adc0b61c6", kill_on_drop: false }` [INFO] [stdout] 7ff15077a2daf86512af7452a71f740f004627913b2fc331875f2c5adc0b61c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2051910a602a26f9709a80a8ec039774a11ef4fdcce8eaced85c7fdd6a9d97d [INFO] running `Command { std: "docker" "start" "-a" "a2051910a602a26f9709a80a8ec039774a11ef4fdcce8eaced85c7fdd6a9d97d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking cheap-clone v0.1.2 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Checking atomic-time v0.1.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking smallvec-wrapper v0.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-complex v0.2.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking parse_duration v2.1.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking metrics v0.22.3 [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.22.3/src/recorder/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 71 | fn new(recorder: &dyn Recorder) -> Self { [INFO] [stdout] | -------- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `recorder` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 77 | / LOCAL_RECORDER.with(|local_recorder| { [INFO] [stdout] 78 | | local_recorder.set(Some(recorder_ptr)); [INFO] [stdout] 79 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`recorder` escapes the associated function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] note: raw pointer casts of trait objects cannot extend lifetimes [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.22.3/src/recorder/mod.rs:75:60 [INFO] [stdout] | [INFO] [stdout] 75 | let recorder_ptr = unsafe { NonNull::new_unchecked(recorder as *const _ as *mut _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this was previously accepted by the compiler but was changed recently [INFO] [stdout] = help: see for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `metrics` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a2051910a602a26f9709a80a8ec039774a11ef4fdcce8eaced85c7fdd6a9d97d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2051910a602a26f9709a80a8ec039774a11ef4fdcce8eaced85c7fdd6a9d97d", kill_on_drop: false }` [INFO] [stdout] a2051910a602a26f9709a80a8ec039774a11ef4fdcce8eaced85c7fdd6a9d97d