[INFO] cloning repository https://github.com/songokas/otlp-metrics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/songokas/otlp-metrics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongokas%2Fotlp-metrics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongokas%2Fotlp-metrics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee43b762341a63bd43a1e1fd399d59f9676b6a22 [INFO] checking songokas/otlp-metrics against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongokas%2Fotlp-metrics" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/songokas/otlp-metrics [INFO] finished tweaking git repo https://github.com/songokas/otlp-metrics [INFO] tweaked toml for git repo https://github.com/songokas/otlp-metrics written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/songokas/otlp-metrics 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 git repo https://github.com/songokas/otlp-metrics 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ef304ec492a01a282b5f4cd534179c90d1828384b4fa7720bfd3299c753b52c8 [INFO] running `Command { std: "docker" "start" "-a" "ef304ec492a01a282b5f4cd534179c90d1828384b4fa7720bfd3299c753b52c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef304ec492a01a282b5f4cd534179c90d1828384b4fa7720bfd3299c753b52c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef304ec492a01a282b5f4cd534179c90d1828384b4fa7720bfd3299c753b52c8", kill_on_drop: false }` [INFO] [stdout] ef304ec492a01a282b5f4cd534179c90d1828384b4fa7720bfd3299c753b52c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c1c7129d238c2c15717131bb13d878260895d0a6ab310854e902f70d78bd64ca [INFO] running `Command { std: "docker" "start" "-a" "c1c7129d238c2c15717131bb13d878260895d0a6ab310854e902f70d78bd64ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking metrics v0.24.1 [INFO] [stderr] Compiling syn v2.0.98 [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.24.1/src/recorder/mod.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 140 | impl<'a> LocalRecorderGuard<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 141 | /// Creates a new `LocalRecorderGuard` and sets the thread-local recorder. [INFO] [stdout] 142 | fn new(recorder: &'a dyn Recorder) -> Self { [INFO] [stdout] | -------- `recorder` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 149 | LOCAL_RECORDER.with(|local_recorder| local_recorder.replace(Some(recorder_ptr))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `recorder` escapes the associated function body here [INFO] [stdout] | argument requires that `'a` 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.24.1/src/recorder/mod.rs:146:60 [INFO] [stdout] | [INFO] [stdout] 146 | 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" "c1c7129d238c2c15717131bb13d878260895d0a6ab310854e902f70d78bd64ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c7129d238c2c15717131bb13d878260895d0a6ab310854e902f70d78bd64ca", kill_on_drop: false }` [INFO] [stdout] c1c7129d238c2c15717131bb13d878260895d0a6ab310854e902f70d78bd64ca