[INFO] cloning repository https://github.com/TheConner/RustBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheConner/RustBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheConner%2FRustBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheConner%2FRustBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8cf938a5c857ed4c8d00f26927bbac892ff4bf9 [INFO] checking TheConner/RustBot against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheConner%2FRustBot" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheConner/RustBot on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheConner/RustBot [INFO] finished tweaking git repo https://github.com/TheConner/RustBot [INFO] tweaked toml for git repo https://github.com/TheConner/RustBot written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/TheConner/RustBot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a683dfe911e1c7a9482d926d163e4f0499daa18a88c4c53ec306d58296aad9b [INFO] running `Command { std: "docker" "start" "-a" "2a683dfe911e1c7a9482d926d163e4f0499daa18a88c4c53ec306d58296aad9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a683dfe911e1c7a9482d926d163e4f0499daa18a88c4c53ec306d58296aad9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a683dfe911e1c7a9482d926d163e4f0499daa18a88c4c53ec306d58296aad9b", kill_on_drop: false }` [INFO] [stdout] 2a683dfe911e1c7a9482d926d163e4f0499daa18a88c4c53ec306d58296aad9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46587525f5db56377434b9b4c653067c95377e2c50d6123d2c1c3f110c6dd740 [INFO] running `Command { std: "docker" "start" "-a" "46587525f5db56377434b9b4c653067c95377e2c50d6123d2c1c3f110c6dd740", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling serenity v0.11.5 [INFO] [stderr] Checking num_threads v0.1.5 [INFO] [stderr] Compiling process_control v4.0.0 [INFO] [stderr] Checking hashbrown v0.12.0 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rustbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking async_once v0.2.6 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking rustls v0.20.2 [INFO] [stderr] Checking webpki-roots v0.22.1 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling command_attr v0.4.1 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling cached_proc_macro v0.15.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-rustls v0.23.2 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking cached v0.39.0 [INFO] [stdout] error[E0391]: cycle detected when type-checking `stores::sized::::get_or_set_with` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | async fn get_or_set_with(&mut self, k: K, f: F) -> &mut V [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `stores::sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | / { [INFO] [stdout] 451 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 452 | | v [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `stores::sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | / { [INFO] [stdout] 451 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 452 | | v [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `stores::sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | / { [INFO] [stdout] 451 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 452 | | v [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `stores::sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | / { [INFO] [stdout] 451 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 452 | | v [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `stores::sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | / { [INFO] [stdout] 451 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 452 | | v [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `stores::sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | / { [INFO] [stdout] 451 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 452 | | v [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `stores::sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | / { [INFO] [stdout] 451 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 452 | | v [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `stores::sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | / { [INFO] [stdout] 451 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 452 | | v [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `stores::sized::::get_or_set_with`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `stores::sized::::try_get_or_set_with` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | async fn try_get_or_set_with(&mut self, k: K, f: F) -> Result<&mut V, E> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `stores::sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | / { [INFO] [stdout] 461 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 462 | | Ok(v) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `stores::sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | / { [INFO] [stdout] 461 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 462 | | Ok(v) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `stores::sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | / { [INFO] [stdout] 461 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 462 | | Ok(v) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `stores::sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | / { [INFO] [stdout] 461 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 462 | | Ok(v) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `stores::sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | / { [INFO] [stdout] 461 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 462 | | Ok(v) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `stores::sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | / { [INFO] [stdout] 461 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 462 | | Ok(v) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `stores::sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | / { [INFO] [stdout] 461 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 462 | | Ok(v) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `stores::sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/sized.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | / { [INFO] [stdout] 461 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 462 | | Ok(v) [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `stores::sized::::try_get_or_set_with`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `stores::timed_sized::::get_or_set_with` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | async fn get_or_set_with(&mut self, key: K, f: F) -> &mut V [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `stores::timed_sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 270 | | let max_seconds = self.seconds; [INFO] [stdout] 271 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 285 | | &mut stamped.1 [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `stores::timed_sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 270 | | let max_seconds = self.seconds; [INFO] [stdout] 271 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 285 | | &mut stamped.1 [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `stores::timed_sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 270 | | let max_seconds = self.seconds; [INFO] [stdout] 271 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 285 | | &mut stamped.1 [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `stores::timed_sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 270 | | let max_seconds = self.seconds; [INFO] [stdout] 271 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 285 | | &mut stamped.1 [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `stores::timed_sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 270 | | let max_seconds = self.seconds; [INFO] [stdout] 271 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 285 | | &mut stamped.1 [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `stores::timed_sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 270 | | let max_seconds = self.seconds; [INFO] [stdout] 271 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 285 | | &mut stamped.1 [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `stores::timed_sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 270 | | let max_seconds = self.seconds; [INFO] [stdout] 271 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 285 | | &mut stamped.1 [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `stores::timed_sized::::get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 270 | | let max_seconds = self.seconds; [INFO] [stdout] 271 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 285 | | &mut stamped.1 [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `stores::timed_sized::::get_or_set_with`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `stores::timed_sized::::try_get_or_set_with` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | async fn try_get_or_set_with(&mut self, key: K, f: F) -> Result<&mut V, E> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `stores::timed_sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | / { [INFO] [stdout] 294 | | let setter = || async { [INFO] [stdout] 295 | | let new_val = f().await?; [INFO] [stdout] 296 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 313 | | Ok(&mut stamped.1) [INFO] [stdout] 314 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `stores::timed_sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | / { [INFO] [stdout] 294 | | let setter = || async { [INFO] [stdout] 295 | | let new_val = f().await?; [INFO] [stdout] 296 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 313 | | Ok(&mut stamped.1) [INFO] [stdout] 314 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `stores::timed_sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | / { [INFO] [stdout] 294 | | let setter = || async { [INFO] [stdout] 295 | | let new_val = f().await?; [INFO] [stdout] 296 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 313 | | Ok(&mut stamped.1) [INFO] [stdout] 314 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `stores::timed_sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | / { [INFO] [stdout] 294 | | let setter = || async { [INFO] [stdout] 295 | | let new_val = f().await?; [INFO] [stdout] 296 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 313 | | Ok(&mut stamped.1) [INFO] [stdout] 314 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `stores::timed_sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | / { [INFO] [stdout] 294 | | let setter = || async { [INFO] [stdout] 295 | | let new_val = f().await?; [INFO] [stdout] 296 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 313 | | Ok(&mut stamped.1) [INFO] [stdout] 314 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `stores::timed_sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | / { [INFO] [stdout] 294 | | let setter = || async { [INFO] [stdout] 295 | | let new_val = f().await?; [INFO] [stdout] 296 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 313 | | Ok(&mut stamped.1) [INFO] [stdout] 314 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `stores::timed_sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | / { [INFO] [stdout] 294 | | let setter = || async { [INFO] [stdout] 295 | | let new_val = f().await?; [INFO] [stdout] 296 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 313 | | Ok(&mut stamped.1) [INFO] [stdout] 314 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `stores::timed_sized::::try_get_or_set_with::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cached-0.39.0/src/stores/timed_sized.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | / { [INFO] [stdout] 294 | | let setter = || async { [INFO] [stdout] 295 | | let new_val = f().await?; [INFO] [stdout] 296 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 313 | | Ok(&mut stamped.1) [INFO] [stdout] 314 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `stores::timed_sized::::try_get_or_set_with`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cached` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "46587525f5db56377434b9b4c653067c95377e2c50d6123d2c1c3f110c6dd740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46587525f5db56377434b9b4c653067c95377e2c50d6123d2c1c3f110c6dd740", kill_on_drop: false }` [INFO] [stdout] 46587525f5db56377434b9b4c653067c95377e2c50d6123d2c1c3f110c6dd740