[INFO] fetching crate function-timer 0.9.1... [INFO] checking function-timer-0.9.1 against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] extracting crate function-timer 0.9.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate function-timer 0.9.1 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 crates.io crate function-timer 0.9.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate function-timer 0.9.1 [INFO] tweaked toml for crates.io crate function-timer 0.9.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate function-timer 0.9.1 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] 0d1fdcd704cc87b5031e6e30ebae4630bbe6a53d17fd433d640cc3f6a4f8fab4 [INFO] running `Command { std: "docker" "start" "-a" "0d1fdcd704cc87b5031e6e30ebae4630bbe6a53d17fd433d640cc3f6a4f8fab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d1fdcd704cc87b5031e6e30ebae4630bbe6a53d17fd433d640cc3f6a4f8fab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1fdcd704cc87b5031e6e30ebae4630bbe6a53d17fd433d640cc3f6a4f8fab4", kill_on_drop: false }` [INFO] [stdout] 0d1fdcd704cc87b5031e6e30ebae4630bbe6a53d17fd433d640cc3f6a4f8fab4 [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] 4b5c3d2327f733e814cbd17ccc3cadeebc415725e832c3fef3dbdeba757f270d [INFO] running `Command { std: "docker" "start" "-a" "4b5c3d2327f733e814cbd17ccc3cadeebc415725e832c3fef3dbdeba757f270d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking raw-cpuid v11.3.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking winnow v0.6.24 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking sketches-ddsketch v0.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking quanta v0.12.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling function-timer-macro v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.8 [INFO] [stderr] Checking futures-test v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking metrics v0.24.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.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] [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" "4b5c3d2327f733e814cbd17ccc3cadeebc415725e832c3fef3dbdeba757f270d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b5c3d2327f733e814cbd17ccc3cadeebc415725e832c3fef3dbdeba757f270d", kill_on_drop: false }` [INFO] [stdout] 4b5c3d2327f733e814cbd17ccc3cadeebc415725e832c3fef3dbdeba757f270d