[INFO] cloning repository https://github.com/marcelogomez/aoc2021-day6 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcelogomez/aoc2021-day6" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelogomez%2Faoc2021-day6", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelogomez%2Faoc2021-day6'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0aed8d64ad0f3a2110a8a232889b13a7038f5cdf [INFO] checking marcelogomez/aoc2021-day6 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelogomez%2Faoc2021-day6" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcelogomez/aoc2021-day6 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/marcelogomez/aoc2021-day6 [INFO] finished tweaking git repo https://github.com/marcelogomez/aoc2021-day6 [INFO] tweaked toml for git repo https://github.com/marcelogomez/aoc2021-day6 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/marcelogomez/aoc2021-day6 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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] acb433793869ff8a4f8c3dbf43f795b4e2473296d848bb5c2cd44d5af2b37ed3 [INFO] running `Command { std: "docker" "start" "-a" "acb433793869ff8a4f8c3dbf43f795b4e2473296d848bb5c2cd44d5af2b37ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acb433793869ff8a4f8c3dbf43f795b4e2473296d848bb5c2cd44d5af2b37ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb433793869ff8a4f8c3dbf43f795b4e2473296d848bb5c2cd44d5af2b37ed3", kill_on_drop: false }` [INFO] [stdout] acb433793869ff8a4f8c3dbf43f795b4e2473296d848bb5c2cd44d5af2b37ed3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 8a65454a7c7b6bf5521a8a31ea942e032fd5dd1587f99da0f423ece4c869322b [INFO] running `Command { std: "docker" "start" "-a" "8a65454a7c7b6bf5521a8a31ea942e032fd5dd1587f99da0f423ece4c869322b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-rwlock v1.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling cached_proc_macro v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [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" "8a65454a7c7b6bf5521a8a31ea942e032fd5dd1587f99da0f423ece4c869322b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a65454a7c7b6bf5521a8a31ea942e032fd5dd1587f99da0f423ece4c869322b", kill_on_drop: false }` [INFO] [stdout] 8a65454a7c7b6bf5521a8a31ea942e032fd5dd1587f99da0f423ece4c869322b