[INFO] fetching crate metrics-dashboard 0.3.3... [INFO] checking metrics-dashboard-0.3.3 against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [INFO] extracting crate metrics-dashboard 0.3.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate metrics-dashboard 0.3.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate metrics-dashboard 0.3.3 [INFO] tweaked toml for crates.io crate metrics-dashboard 0.3.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate metrics-dashboard 0.3.3 on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate metrics-dashboard 0.3.3 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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33e11eb3a50d60012874f8909cb227ee39626947b6faddbb98122d0af3a34f7e [INFO] running `Command { std: "docker" "start" "-a" "33e11eb3a50d60012874f8909cb227ee39626947b6faddbb98122d0af3a34f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33e11eb3a50d60012874f8909cb227ee39626947b6faddbb98122d0af3a34f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e11eb3a50d60012874f8909cb227ee39626947b6faddbb98122d0af3a34f7e", kill_on_drop: false }` [INFO] [stdout] 33e11eb3a50d60012874f8909cb227ee39626947b6faddbb98122d0af3a34f7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4d3e75f55b2d74b7034e8cdc15459a7eb57d58d3c5fe905b2a52dc9ebb77e89 [INFO] running `Command { std: "docker" "start" "-a" "e4d3e75f55b2d74b7034e8cdc15459a7eb57d58d3c5fe905b2a52dc9ebb77e89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.165 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking raw-cpuid v11.2.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking rust-embed-utils v8.5.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking ordered-float v4.5.0 [INFO] [stderr] Checking rfc7239 v0.1.1 [INFO] [stderr] Checking wildmatch v2.4.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking metrics v0.22.3 [INFO] [stderr] Checking hashbrown v0.14.5 [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: requirement occurs because of the type `Cell>>`, which makes the generic argument `Option>` invariant [INFO] [stdout] = note: the struct `Cell` is invariant over the parameter `T` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] note: raw pointer casts of trait objects do not cast away 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] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [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" "e4d3e75f55b2d74b7034e8cdc15459a7eb57d58d3c5fe905b2a52dc9ebb77e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d3e75f55b2d74b7034e8cdc15459a7eb57d58d3c5fe905b2a52dc9ebb77e89", kill_on_drop: false }` [INFO] [stdout] e4d3e75f55b2d74b7034e8cdc15459a7eb57d58d3c5fe905b2a52dc9ebb77e89