[INFO] fetching crate rumqttd 0.20.0... [INFO] checking rumqttd-0.20.0 against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [INFO] extracting crate rumqttd 0.20.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rumqttd 0.20.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rumqttd 0.20.0 [INFO] tweaked toml for crates.io crate rumqttd 0.20.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rumqttd 0.20.0 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 crates.io crate rumqttd 0.20.0 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] d7ef53712c5e60afd2145800fa779c9c6f81d0cf67ac4df9fb67d7ecc33e8014 [INFO] running `Command { std: "docker" "start" "-a" "d7ef53712c5e60afd2145800fa779c9c6f81d0cf67ac4df9fb67d7ecc33e8014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7ef53712c5e60afd2145800fa779c9c6f81d0cf67ac4df9fb67d7ecc33e8014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ef53712c5e60afd2145800fa779c9c6f81d0cf67ac4df9fb67d7ecc33e8014", kill_on_drop: false }` [INFO] [stdout] d7ef53712c5e60afd2145800fa779c9c6f81d0cf67ac4df9fb67d7ecc33e8014 [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] 6998328e27ff05f2e47b704741d0b8ee12c05d256d682637747e71480043f3b1 [INFO] running `Command { std: "docker" "start" "-a" "6998328e27ff05f2e47b704741d0b8ee12c05d256d682637747e71480043f3b1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling pharos v0.5.3 [INFO] [stderr] Compiling async_io_stream v0.3.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking winnow v0.6.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking const-random v0.1.17 [INFO] [stderr] Compiling ws_stream_tungstenite v0.13.0 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking metrics v0.22.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking sketches-ddsketch v0.2.2 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking convert_case v0.6.0 [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] 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.22.1/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" "6998328e27ff05f2e47b704741d0b8ee12c05d256d682637747e71480043f3b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6998328e27ff05f2e47b704741d0b8ee12c05d256d682637747e71480043f3b1", kill_on_drop: false }` [INFO] [stdout] 6998328e27ff05f2e47b704741d0b8ee12c05d256d682637747e71480043f3b1