[INFO] cloning repository https://github.com/aumetra/metrics-opentelemetry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aumetra/metrics-opentelemetry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faumetra%2Fmetrics-opentelemetry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faumetra%2Fmetrics-opentelemetry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95537b16370e595981e195be52f98ea5983a7a8e [INFO] checking aumetra/metrics-opentelemetry against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faumetra%2Fmetrics-opentelemetry" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aumetra/metrics-opentelemetry 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/aumetra/metrics-opentelemetry [INFO] finished tweaking git repo https://github.com/aumetra/metrics-opentelemetry [INFO] tweaked toml for git repo https://github.com/aumetra/metrics-opentelemetry written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aumetra/metrics-opentelemetry 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d9d7f19bf4b02a7331f91d11a24139eb3a908b1042468bc1bdcad77fbb5d97f [INFO] running `Command { std: "docker" "start" "-a" "1d9d7f19bf4b02a7331f91d11a24139eb3a908b1042468bc1bdcad77fbb5d97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d9d7f19bf4b02a7331f91d11a24139eb3a908b1042468bc1bdcad77fbb5d97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9d7f19bf4b02a7331f91d11a24139eb3a908b1042468bc1bdcad77fbb5d97f", kill_on_drop: false }` [INFO] [stdout] 1d9d7f19bf4b02a7331f91d11a24139eb3a908b1042468bc1bdcad77fbb5d97f [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e15bd43c30a737aaa4bb2de420767548376a8e995afefad14008a549d0cb7dc [INFO] running `Command { std: "docker" "start" "-a" "4e15bd43c30a737aaa4bb2de420767548376a8e995afefad14008a549d0cb7dc", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking metrics v0.22.1 [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.1/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" "4e15bd43c30a737aaa4bb2de420767548376a8e995afefad14008a549d0cb7dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e15bd43c30a737aaa4bb2de420767548376a8e995afefad14008a549d0cb7dc", kill_on_drop: false }` [INFO] [stdout] 4e15bd43c30a737aaa4bb2de420767548376a8e995afefad14008a549d0cb7dc