[INFO] cloning repository https://github.com/giangndm/metrics-dashboard-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giangndm/metrics-dashboard-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Fmetrics-dashboard-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Fmetrics-dashboard-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c737b6dcd9886f1aa5aa0ed6434118cde6a54ab9 [INFO] checking giangndm/metrics-dashboard-rs against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiangndm%2Fmetrics-dashboard-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giangndm/metrics-dashboard-rs on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/giangndm/metrics-dashboard-rs [INFO] finished tweaking git repo https://github.com/giangndm/metrics-dashboard-rs [INFO] tweaked toml for git repo https://github.com/giangndm/metrics-dashboard-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 175 packages to latest compatible versions [INFO] [stderr] Adding metrics v0.22.3 (available: v0.24.1) [INFO] [stderr] Adding metrics-prometheus v0.6.0 (available: v0.9.0) [INFO] [stderr] Adding metrics-util v0.16.3 (available: v0.19.0) [INFO] [stderr] Adding sysinfo v0.32.1 (available: v0.33.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f738f856db188e0f065276d3e60dc2860554867ff97932aa8663eeca4cfa8d3 [INFO] running `Command { std: "docker" "start" "-a" "1f738f856db188e0f065276d3e60dc2860554867ff97932aa8663eeca4cfa8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f738f856db188e0f065276d3e60dc2860554867ff97932aa8663eeca4cfa8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f738f856db188e0f065276d3e60dc2860554867ff97932aa8663eeca4cfa8d3", kill_on_drop: false }` [INFO] [stdout] 1f738f856db188e0f065276d3e60dc2860554867ff97932aa8663eeca4cfa8d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19de9edcf301ec897a79275f2a7d908c855892e1695d600d4f36703132780ded [INFO] running `Command { std: "docker" "start" "-a" "19de9edcf301ec897a79275f2a7d908c855892e1695d600d4f36703132780ded", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking raw-cpuid v11.3.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Checking metrics v0.22.3 [INFO] [stderr] Checking sha1 v0.10.6 [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] [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" "19de9edcf301ec897a79275f2a7d908c855892e1695d600d4f36703132780ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19de9edcf301ec897a79275f2a7d908c855892e1695d600d4f36703132780ded", kill_on_drop: false }` [INFO] [stdout] 19de9edcf301ec897a79275f2a7d908c855892e1695d600d4f36703132780ded