[INFO] cloning repository https://github.com/AS207960/kosmos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AS207960/kosmos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAS207960%2Fkosmos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAS207960%2Fkosmos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 742ad163a034027a809c0be5b3702735b5e693e4 [INFO] checking AS207960/kosmos against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAS207960%2Fkosmos" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AS207960/kosmos [INFO] finished tweaking git repo https://github.com/AS207960/kosmos [INFO] tweaked toml for git repo https://github.com/AS207960/kosmos written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AS207960/kosmos on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AS207960/kosmos 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/AS207960/diesel_async.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-openssl v0.5.0 [INFO] [stderr] Downloaded pretty_env_logger v0.5.0 [INFO] [stderr] Downloaded tokio-openssl v0.6.4 [INFO] [stderr] Downloaded amq-protocol-uri v7.2.0 [INFO] [stderr] Downloaded amq-protocol-types v7.2.0 [INFO] [stderr] Downloaded postgres-protocol v0.6.6 [INFO] [stderr] Downloaded postgres-types v0.2.6 [INFO] [stderr] Downloaded celery-codegen v0.5.5 [INFO] [stderr] Downloaded amq-protocol-tcp v7.2.0 [INFO] [stderr] Downloaded tcp-stream v0.28.0 [INFO] [stderr] Downloaded async-reactor-trait v1.1.0 [INFO] [stderr] Downloaded amq-protocol v7.2.0 [INFO] [stderr] Downloaded cookie-factory v0.3.3 [INFO] [stderr] Downloaded toml v0.8.13 [INFO] [stderr] Downloaded executor-trait v2.1.0 [INFO] [stderr] Downloaded diesel_derives v2.1.4 [INFO] [stderr] Downloaded mobc v0.8.4 [INFO] [stderr] Downloaded toml_edit v0.22.13 [INFO] [stderr] Downloaded winnow v0.6.9 [INFO] [stderr] Downloaded lapin v2.3.4 [INFO] [stderr] Downloaded redis v0.22.3 [INFO] [stderr] Downloaded tokio-postgres v0.7.10 [INFO] [stderr] Downloaded metrics v0.22.3 [INFO] [stderr] Downloaded ipnetwork v0.20.0 [INFO] [stderr] Downloaded reactor-trait v1.1.0 [INFO] [stderr] Downloaded tokio-reactor-trait v1.1.0 [INFO] [stderr] Downloaded diesel-derive-enum v2.1.0 [INFO] [stderr] Downloaded scoped-futures v0.1.3 [INFO] [stderr] Downloaded piper v0.2.2 [INFO] [stderr] Downloaded async-global-executor-trait v2.1.0 [INFO] [stderr] Downloaded tokio-executor-trait v2.1.1 [INFO] [stderr] Downloaded diesel v2.1.6 [INFO] [stderr] Downloaded pinky-swear v6.2.0 [INFO] [stderr] Downloaded celery v0.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ef4692e786ae45d7e43b4d0ccef029caa2b710f9abcb4f85ccce827ce2830c0 [INFO] running `Command { std: "docker" "start" "-a" "6ef4692e786ae45d7e43b4d0ccef029caa2b710f9abcb4f85ccce827ce2830c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ef4692e786ae45d7e43b4d0ccef029caa2b710f9abcb4f85ccce827ce2830c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ef4692e786ae45d7e43b4d0ccef029caa2b710f9abcb4f85ccce827ce2830c0", kill_on_drop: false }` [INFO] [stdout] 6ef4692e786ae45d7e43b4d0ccef029caa2b710f9abcb4f85ccce827ce2830c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fc2f652dd89b858217fac450bd980a3860cc3e5a7040026959787502e10654f [INFO] running `Command { std: "docker" "start" "-a" "6fc2f652dd89b858217fac450bd980a3860cc3e5a7040026959787502e10654f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking piper v0.2.2 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking winnow v0.6.9 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling amq-protocol v7.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling lapin v2.3.4 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking metrics v0.22.3 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking anstream v0.6.14 [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.3/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.22.3/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" "6fc2f652dd89b858217fac450bd980a3860cc3e5a7040026959787502e10654f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc2f652dd89b858217fac450bd980a3860cc3e5a7040026959787502e10654f", kill_on_drop: false }` [INFO] [stdout] 6fc2f652dd89b858217fac450bd980a3860cc3e5a7040026959787502e10654f