[INFO] cloning repository https://github.com/chazwilder/tpt-consumer-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chazwilder/tpt-consumer-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchazwilder%2Ftpt-consumer-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchazwilder%2Ftpt-consumer-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a7c4b53bd26309c988c3596ef2e4777550aa68f [INFO] checking chazwilder/tpt-consumer-service against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchazwilder%2Ftpt-consumer-service" "/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/chazwilder/tpt-consumer-service [INFO] finished tweaking git repo https://github.com/chazwilder/tpt-consumer-service [INFO] tweaked toml for git repo https://github.com/chazwilder/tpt-consumer-service written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chazwilder/tpt-consumer-service 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/chazwilder/tpt-consumer-service 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] 32c3fb4e536e57357b8830bb32e0248f4f29a8c2d20ae78c7bda39af13cae40a [INFO] running `Command { std: "docker" "start" "-a" "32c3fb4e536e57357b8830bb32e0248f4f29a8c2d20ae78c7bda39af13cae40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32c3fb4e536e57357b8830bb32e0248f4f29a8c2d20ae78c7bda39af13cae40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c3fb4e536e57357b8830bb32e0248f4f29a8c2d20ae78c7bda39af13cae40a", kill_on_drop: false }` [INFO] [stdout] 32c3fb4e536e57357b8830bb32e0248f4f29a8c2d20ae78c7bda39af13cae40a [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] e242d1819f7a182ba7fd329ace0c6c39c211e374a0a84d2a04478352cb6bb416 [INFO] running `Command { std: "docker" "start" "-a" "e242d1819f7a182ba7fd329ace0c6c39c211e374a0a84d2a04478352cb6bb416", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking subtle v2.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking amq-protocol-types v7.2.0 [INFO] [stderr] Checking amq-protocol-uri v7.2.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Checking tcp-stream v0.28.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling sqlx-rt-oldapi v0.6.22 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling amq-protocol v7.2.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Checking amq-protocol-tcp v7.2.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking executor-trait v2.1.0 [INFO] [stderr] Checking reactor-trait v1.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling sqlx-core-oldapi v0.6.22 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling lapin v2.3.4 [INFO] [stderr] Checking bson v2.11.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking pinky-swear v6.2.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking async-reactor-trait v1.1.0 [INFO] [stderr] Checking async-global-executor-trait v2.1.0 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking metrics v0.23.0 [INFO] [stderr] Checking mongodb v2.8.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: 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.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" "e242d1819f7a182ba7fd329ace0c6c39c211e374a0a84d2a04478352cb6bb416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e242d1819f7a182ba7fd329ace0c6c39c211e374a0a84d2a04478352cb6bb416", kill_on_drop: false }` [INFO] [stdout] e242d1819f7a182ba7fd329ace0c6c39c211e374a0a84d2a04478352cb6bb416