[INFO] cloning repository https://github.com/paolostyle/advent-of-code-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paolostyle/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaolostyle%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaolostyle%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1293dfeaded699e38454c559912fe295c14a9c66 [INFO] checking paolostyle/advent-of-code-2021 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaolostyle%2Fadvent-of-code-2021" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paolostyle/advent-of-code-2021 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/paolostyle/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/paolostyle/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/paolostyle/advent-of-code-2021 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/paolostyle/advent-of-code-2021 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2820cc277d2b9ddafb653668c4b2288ce94ecbde1982fb9014bb5574dd1aa0f8 [INFO] running `Command { std: "docker" "start" "-a" "2820cc277d2b9ddafb653668c4b2288ce94ecbde1982fb9014bb5574dd1aa0f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2820cc277d2b9ddafb653668c4b2288ce94ecbde1982fb9014bb5574dd1aa0f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2820cc277d2b9ddafb653668c4b2288ce94ecbde1982fb9014bb5574dd1aa0f8", kill_on_drop: false }` [INFO] [stdout] 2820cc277d2b9ddafb653668c4b2288ce94ecbde1982fb9014bb5574dd1aa0f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8f450c90c9b483b64201561e69b8251b23391e19d636dc371cf6f35bbd210d9 [INFO] running `Command { std: "docker" "start" "-a" "a8f450c90c9b483b64201561e69b8251b23391e19d636dc371cf6f35bbd210d9", 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.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking async-rwlock v1.3.0 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling cached_proc_macro v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking cached v0.26.2 [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.26.2/src/stores/sized.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | 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.26.2/src/stores/sized.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | / { [INFO] [stdout] 411 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 412 | | v [INFO] [stdout] 413 | | } [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.26.2/src/stores/sized.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | / { [INFO] [stdout] 411 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 412 | | v [INFO] [stdout] 413 | | } [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.26.2/src/stores/sized.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | / { [INFO] [stdout] 411 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 412 | | v [INFO] [stdout] 413 | | } [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.26.2/src/stores/sized.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | / { [INFO] [stdout] 411 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 412 | | v [INFO] [stdout] 413 | | } [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.26.2/src/stores/sized.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | / { [INFO] [stdout] 411 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 412 | | v [INFO] [stdout] 413 | | } [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.26.2/src/stores/sized.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | / { [INFO] [stdout] 411 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 412 | | v [INFO] [stdout] 413 | | } [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.26.2/src/stores/sized.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | / { [INFO] [stdout] 411 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 412 | | v [INFO] [stdout] 413 | | } [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.26.2/src/stores/sized.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | / { [INFO] [stdout] 411 | | let (_, _, v) = self.get_or_set_with_if_async(k, f, |_| true).await; [INFO] [stdout] 412 | | v [INFO] [stdout] 413 | | } [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.26.2/src/stores/sized.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | 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.26.2/src/stores/sized.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | / { [INFO] [stdout] 421 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 422 | | Ok(v) [INFO] [stdout] 423 | | } [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.26.2/src/stores/sized.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | / { [INFO] [stdout] 421 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 422 | | Ok(v) [INFO] [stdout] 423 | | } [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.26.2/src/stores/sized.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | / { [INFO] [stdout] 421 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 422 | | Ok(v) [INFO] [stdout] 423 | | } [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.26.2/src/stores/sized.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | / { [INFO] [stdout] 421 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 422 | | Ok(v) [INFO] [stdout] 423 | | } [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.26.2/src/stores/sized.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | / { [INFO] [stdout] 421 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 422 | | Ok(v) [INFO] [stdout] 423 | | } [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.26.2/src/stores/sized.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | / { [INFO] [stdout] 421 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 422 | | Ok(v) [INFO] [stdout] 423 | | } [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.26.2/src/stores/sized.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | / { [INFO] [stdout] 421 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 422 | | Ok(v) [INFO] [stdout] 423 | | } [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.26.2/src/stores/sized.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | / { [INFO] [stdout] 421 | | let (_, _, v) = self.try_get_or_set_with_if_async(k, f, |_| true).await?; [INFO] [stdout] 422 | | Ok(v) [INFO] [stdout] 423 | | } [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.26.2/src/stores/timed_sized.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | 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.26.2/src/stores/timed_sized.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / { [INFO] [stdout] 202 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 203 | | let max_seconds = self.seconds; [INFO] [stdout] 204 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 218 | | &mut stamped.1 [INFO] [stdout] 219 | | } [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.26.2/src/stores/timed_sized.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / { [INFO] [stdout] 202 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 203 | | let max_seconds = self.seconds; [INFO] [stdout] 204 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 218 | | &mut stamped.1 [INFO] [stdout] 219 | | } [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.26.2/src/stores/timed_sized.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / { [INFO] [stdout] 202 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 203 | | let max_seconds = self.seconds; [INFO] [stdout] 204 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 218 | | &mut stamped.1 [INFO] [stdout] 219 | | } [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.26.2/src/stores/timed_sized.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / { [INFO] [stdout] 202 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 203 | | let max_seconds = self.seconds; [INFO] [stdout] 204 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 218 | | &mut stamped.1 [INFO] [stdout] 219 | | } [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.26.2/src/stores/timed_sized.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / { [INFO] [stdout] 202 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 203 | | let max_seconds = self.seconds; [INFO] [stdout] 204 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 218 | | &mut stamped.1 [INFO] [stdout] 219 | | } [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.26.2/src/stores/timed_sized.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / { [INFO] [stdout] 202 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 203 | | let max_seconds = self.seconds; [INFO] [stdout] 204 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 218 | | &mut stamped.1 [INFO] [stdout] 219 | | } [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.26.2/src/stores/timed_sized.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / { [INFO] [stdout] 202 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 203 | | let max_seconds = self.seconds; [INFO] [stdout] 204 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 218 | | &mut stamped.1 [INFO] [stdout] 219 | | } [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.26.2/src/stores/timed_sized.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / { [INFO] [stdout] 202 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 203 | | let max_seconds = self.seconds; [INFO] [stdout] 204 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 218 | | &mut stamped.1 [INFO] [stdout] 219 | | } [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.26.2/src/stores/timed_sized.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | 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.26.2/src/stores/timed_sized.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / { [INFO] [stdout] 227 | | let setter = || async { [INFO] [stdout] 228 | | let new_val = f().await?; [INFO] [stdout] 229 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 246 | | Ok(&mut stamped.1) [INFO] [stdout] 247 | | } [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.26.2/src/stores/timed_sized.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / { [INFO] [stdout] 227 | | let setter = || async { [INFO] [stdout] 228 | | let new_val = f().await?; [INFO] [stdout] 229 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 246 | | Ok(&mut stamped.1) [INFO] [stdout] 247 | | } [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.26.2/src/stores/timed_sized.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / { [INFO] [stdout] 227 | | let setter = || async { [INFO] [stdout] 228 | | let new_val = f().await?; [INFO] [stdout] 229 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 246 | | Ok(&mut stamped.1) [INFO] [stdout] 247 | | } [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.26.2/src/stores/timed_sized.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / { [INFO] [stdout] 227 | | let setter = || async { [INFO] [stdout] 228 | | let new_val = f().await?; [INFO] [stdout] 229 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 246 | | Ok(&mut stamped.1) [INFO] [stdout] 247 | | } [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.26.2/src/stores/timed_sized.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / { [INFO] [stdout] 227 | | let setter = || async { [INFO] [stdout] 228 | | let new_val = f().await?; [INFO] [stdout] 229 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 246 | | Ok(&mut stamped.1) [INFO] [stdout] 247 | | } [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.26.2/src/stores/timed_sized.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / { [INFO] [stdout] 227 | | let setter = || async { [INFO] [stdout] 228 | | let new_val = f().await?; [INFO] [stdout] 229 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 246 | | Ok(&mut stamped.1) [INFO] [stdout] 247 | | } [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.26.2/src/stores/timed_sized.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / { [INFO] [stdout] 227 | | let setter = || async { [INFO] [stdout] 228 | | let new_val = f().await?; [INFO] [stdout] 229 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 246 | | Ok(&mut stamped.1) [INFO] [stdout] 247 | | } [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.26.2/src/stores/timed_sized.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / { [INFO] [stdout] 227 | | let setter = || async { [INFO] [stdout] 228 | | let new_val = f().await?; [INFO] [stdout] 229 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 246 | | Ok(&mut stamped.1) [INFO] [stdout] 247 | | } [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] running `Command { std: "docker" "inspect" "a8f450c90c9b483b64201561e69b8251b23391e19d636dc371cf6f35bbd210d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f450c90c9b483b64201561e69b8251b23391e19d636dc371cf6f35bbd210d9", kill_on_drop: false }` [INFO] [stdout] a8f450c90c9b483b64201561e69b8251b23391e19d636dc371cf6f35bbd210d9