[INFO] cloning repository https://github.com/BugenZhao/Raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BugenZhao/Raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBugenZhao%2FRaft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBugenZhao%2FRaft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f095bdaecd4e1ff571570a6611f69639216f957 [INFO] checking BugenZhao/Raft against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBugenZhao%2FRaft" "/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/BugenZhao/Raft 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/BugenZhao/Raft [INFO] finished tweaking git repo https://github.com/BugenZhao/Raft [INFO] tweaked toml for git repo https://github.com/BugenZhao/Raft written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/BugenZhao/Raft 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] 8e5b9a15cff397f62ec20be34d7e91d8c7683fad58dd83ef04a29855195e4c5f [INFO] running `Command { std: "docker" "start" "-a" "8e5b9a15cff397f62ec20be34d7e91d8c7683fad58dd83ef04a29855195e4c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e5b9a15cff397f62ec20be34d7e91d8c7683fad58dd83ef04a29855195e4c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5b9a15cff397f62ec20be34d7e91d8c7683fad58dd83ef04a29855195e4c5f", kill_on_drop: false }` [INFO] [stdout] 8e5b9a15cff397f62ec20be34d7e91d8c7683fad58dd83ef04a29855195e4c5f [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] fb66be2294a298bd4f5b7c2f3ccd43ba940b9f085e5b40a4ad4017f48f98e997 [INFO] running `Command { std: "docker" "start" "-a" "fb66be2294a298bd4f5b7c2f3ccd43ba940b9f085e5b40a4ad4017f48f98e997", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.47 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking linearizability v0.1.0 (/opt/rustwide/workdir/linearizability) [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Compiling labcodec v0.1.0 (/opt/rustwide/workdir/labcodec) [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir/raft) [INFO] [stderr] Compiling percolator v0.1.0 (/opt/rustwide/workdir/percolator) [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking labrpc v0.1.0 (/opt/rustwide/workdir/labrpc) [INFO] [stdout] error[E0391]: cycle detected when type-checking `raft::::start_event_loop` [INFO] [stdout] --> raft/src/raft/mod.rs:880:14 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@raft/src/raft/mod.rs:880:31: 893:14]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `raft::::start_event_loop`, 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 `raft::::start_timer` [INFO] [stdout] --> raft/src/raft/mod.rs:906:14 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@raft/src/raft/mod.rs:906:31: 940:14]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `raft::::start_timer`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 `raft` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `raft::::start_event_loop` [INFO] [stdout] --> raft/src/raft/mod.rs:880:14 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@raft/src/raft/mod.rs:880:31: 893:14]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `raft::::start_event_loop::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 881 | | loop { [INFO] [stdout] 882 | | select! { [INFO] [stdout] 883 | | event = event_loop_rx.select_next_some() => { [INFO] [stdout] ... | [INFO] [stdout] 892 | | } [INFO] [stdout] 893 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `raft::::start_event_loop`, 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 `raft::::start_timer` [INFO] [stdout] --> raft/src/raft/mod.rs:906:14 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@raft/src/raft/mod.rs:906:31: 940:14]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `raft::::start_timer::{closure#0}`... [INFO] [stdout] --> raft/src/raft/mod.rs:906:31 [INFO] [stdout] | [INFO] [stdout] 906 | .spawn(async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 907 | | let build_timeout_timer = || { [INFO] [stdout] 908 | | futures_timer::Delay::new(Duration::from_millis( [INFO] [stdout] 909 | | rand::thread_rng().gen_range(HEART_BEAT_MILLIS * 3, HEART_BEAT_MILLIS * 5), [INFO] [stdout] ... | [INFO] [stdout] 939 | | } [INFO] [stdout] 940 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `raft::::start_timer`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 `raft` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "fb66be2294a298bd4f5b7c2f3ccd43ba940b9f085e5b40a4ad4017f48f98e997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb66be2294a298bd4f5b7c2f3ccd43ba940b9f085e5b40a4ad4017f48f98e997", kill_on_drop: false }` [INFO] [stdout] fb66be2294a298bd4f5b7c2f3ccd43ba940b9f085e5b40a4ad4017f48f98e997