[INFO] cloning repository https://github.com/FrankChinedu/link-shortener [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrankChinedu/link-shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankChinedu%2Flink-shortener", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankChinedu%2Flink-shortener'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5f67570f1441afeb03076a58a191487ce10cee8 [INFO] checking FrankChinedu/link-shortener/a5f67570f1441afeb03076a58a191487ce10cee8 against master#82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankChinedu%2Flink-shortener" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FrankChinedu/link-shortener [INFO] finished tweaking git repo https://github.com/FrankChinedu/link-shortener [INFO] tweaked toml for git repo https://github.com/FrankChinedu/link-shortener written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FrankChinedu/link-shortener on toolchain 82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FrankChinedu/link-shortener 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" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-prometheus v0.7.0 [INFO] [stderr] Downloaded rustls-native-certs v0.7.1 [INFO] [stderr] Downloaded sketches-ddsketch v0.2.2 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.15.3 [INFO] [stderr] Downloaded metrics v0.23.0 [INFO] [stderr] Downloaded metrics-util v0.17.0 [INFO] [stderr] Downloaded aws-lc-rs v1.8.1 [INFO] [stderr] Downloaded aws-lc-sys v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a009a6b8c5dba09c209cfe38514e62d1a13d6cc46ab1eb45a75b367301f98b4d [INFO] running `Command { std: "docker" "start" "-a" "a009a6b8c5dba09c209cfe38514e62d1a13d6cc46ab1eb45a75b367301f98b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a009a6b8c5dba09c209cfe38514e62d1a13d6cc46ab1eb45a75b367301f98b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a009a6b8c5dba09c209cfe38514e62d1a13d6cc46ab1eb45a75b367301f98b4d", kill_on_drop: false }` [INFO] [stdout] a009a6b8c5dba09c209cfe38514e62d1a13d6cc46ab1eb45a75b367301f98b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aac4ee1c73473efaee679743b8ec3b8b8b565ac9be0c11654c9d374a5eb521d9 [INFO] running `Command { std: "docker" "start" "-a" "aac4ee1c73473efaee679743b8ec3b8b8b565ac9be0c11654c9d374a5eb521d9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling aws-lc-rs v1.8.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking raw-cpuid v11.1.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-lc-sys v0.20.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking rustls-native-certs v0.7.1 [INFO] [stderr] Checking sketches-ddsketch v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking quanta v0.12.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking metrics v0.23.0 [INFO] [stderr] Checking axum-core v0.4.3 [INFO] [stderr] Checking tower-http v0.5.2 [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.23.0/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: raw pointer casts of trait objects cannot extend lifetimes [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/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] [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" "aac4ee1c73473efaee679743b8ec3b8b8b565ac9be0c11654c9d374a5eb521d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aac4ee1c73473efaee679743b8ec3b8b8b565ac9be0c11654c9d374a5eb521d9", kill_on_drop: false }` [INFO] [stdout] aac4ee1c73473efaee679743b8ec3b8b8b565ac9be0c11654c9d374a5eb521d9