[INFO] cloning repository https://github.com/kj800x/timelock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kj800x/timelock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj800x%2Ftimelock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj800x%2Ftimelock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbc2211045269748873c7630fb513aba9d4cfb89 [INFO] checking kj800x/timelock against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj800x%2Ftimelock" "/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/kj800x/timelock 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/kj800x/timelock [INFO] finished tweaking git repo https://github.com/kj800x/timelock [INFO] tweaked toml for git repo https://github.com/kj800x/timelock written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/kj800x/timelock 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-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cbcafbf755ff795798796855ca179a3f5e346703d50494e5c272964f89e13c1 [INFO] running `Command { std: "docker" "start" "-a" "1cbcafbf755ff795798796855ca179a3f5e346703d50494e5c272964f89e13c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cbcafbf755ff795798796855ca179a3f5e346703d50494e5c272964f89e13c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cbcafbf755ff795798796855ca179a3f5e346703d50494e5c272964f89e13c1", kill_on_drop: false }` [INFO] [stdout] 1cbcafbf755ff795798796855ca179a3f5e346703d50494e5c272964f89e13c1 [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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 110c4189d5ea46ce425ee2b2b785ee0dcaa2cac8cd9dba3a88417322dffe2965 [INFO] running `Command { std: "docker" "start" "-a" "110c4189d5ea46ce425ee2b2b785ee0dcaa2cac8cd9dba3a88417322dffe2965", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking async_once v0.2.6 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking hashbrown v0.12.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling isolang v1.0.0 [INFO] [stderr] Checking aes-stream v0.2.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking ctrlc v3.2.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking linreg v0.2.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling cached_proc_macro v0.12.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clap v3.1.8 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking timeago v0.3.1 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking cached v0.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.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.34.0/src/stores/timed_sized.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | 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.34.0/src/stores/timed_sized.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / { [INFO] [stdout] 266 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 267 | | let max_seconds = self.seconds; [INFO] [stdout] 268 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut stamped.1 [INFO] [stdout] 283 | | } [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.34.0/src/stores/timed_sized.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / { [INFO] [stdout] 266 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 267 | | let max_seconds = self.seconds; [INFO] [stdout] 268 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut stamped.1 [INFO] [stdout] 283 | | } [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.34.0/src/stores/timed_sized.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / { [INFO] [stdout] 266 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 267 | | let max_seconds = self.seconds; [INFO] [stdout] 268 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut stamped.1 [INFO] [stdout] 283 | | } [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.34.0/src/stores/timed_sized.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / { [INFO] [stdout] 266 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 267 | | let max_seconds = self.seconds; [INFO] [stdout] 268 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut stamped.1 [INFO] [stdout] 283 | | } [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.34.0/src/stores/timed_sized.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / { [INFO] [stdout] 266 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 267 | | let max_seconds = self.seconds; [INFO] [stdout] 268 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut stamped.1 [INFO] [stdout] 283 | | } [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.34.0/src/stores/timed_sized.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / { [INFO] [stdout] 266 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 267 | | let max_seconds = self.seconds; [INFO] [stdout] 268 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut stamped.1 [INFO] [stdout] 283 | | } [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.34.0/src/stores/timed_sized.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / { [INFO] [stdout] 266 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 267 | | let max_seconds = self.seconds; [INFO] [stdout] 268 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut stamped.1 [INFO] [stdout] 283 | | } [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.34.0/src/stores/timed_sized.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / { [INFO] [stdout] 266 | | let setter = || async { (Instant::now(), f().await) }; [INFO] [stdout] 267 | | let max_seconds = self.seconds; [INFO] [stdout] 268 | | let (was_present, was_valid, stamped) = self [INFO] [stdout] ... | [INFO] [stdout] 282 | | &mut stamped.1 [INFO] [stdout] 283 | | } [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.34.0/src/stores/timed_sized.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | 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.34.0/src/stores/timed_sized.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | / { [INFO] [stdout] 291 | | let setter = || async { [INFO] [stdout] 292 | | let new_val = f().await?; [INFO] [stdout] 293 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | Ok(&mut stamped.1) [INFO] [stdout] 311 | | } [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.34.0/src/stores/timed_sized.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | / { [INFO] [stdout] 291 | | let setter = || async { [INFO] [stdout] 292 | | let new_val = f().await?; [INFO] [stdout] 293 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | Ok(&mut stamped.1) [INFO] [stdout] 311 | | } [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.34.0/src/stores/timed_sized.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | / { [INFO] [stdout] 291 | | let setter = || async { [INFO] [stdout] 292 | | let new_val = f().await?; [INFO] [stdout] 293 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | Ok(&mut stamped.1) [INFO] [stdout] 311 | | } [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.34.0/src/stores/timed_sized.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | / { [INFO] [stdout] 291 | | let setter = || async { [INFO] [stdout] 292 | | let new_val = f().await?; [INFO] [stdout] 293 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | Ok(&mut stamped.1) [INFO] [stdout] 311 | | } [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.34.0/src/stores/timed_sized.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | / { [INFO] [stdout] 291 | | let setter = || async { [INFO] [stdout] 292 | | let new_val = f().await?; [INFO] [stdout] 293 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | Ok(&mut stamped.1) [INFO] [stdout] 311 | | } [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.34.0/src/stores/timed_sized.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | / { [INFO] [stdout] 291 | | let setter = || async { [INFO] [stdout] 292 | | let new_val = f().await?; [INFO] [stdout] 293 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | Ok(&mut stamped.1) [INFO] [stdout] 311 | | } [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.34.0/src/stores/timed_sized.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | / { [INFO] [stdout] 291 | | let setter = || async { [INFO] [stdout] 292 | | let new_val = f().await?; [INFO] [stdout] 293 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | Ok(&mut stamped.1) [INFO] [stdout] 311 | | } [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.34.0/src/stores/timed_sized.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | / { [INFO] [stdout] 291 | | let setter = || async { [INFO] [stdout] 292 | | let new_val = f().await?; [INFO] [stdout] 293 | | Ok((Instant::now(), new_val)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | Ok(&mut stamped.1) [INFO] [stdout] 311 | | } [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" "110c4189d5ea46ce425ee2b2b785ee0dcaa2cac8cd9dba3a88417322dffe2965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110c4189d5ea46ce425ee2b2b785ee0dcaa2cac8cd9dba3a88417322dffe2965", kill_on_drop: false }` [INFO] [stdout] 110c4189d5ea46ce425ee2b2b785ee0dcaa2cac8cd9dba3a88417322dffe2965