[INFO] fetching crate rants 0.6.0... [INFO] checking rants-0.6.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate rants 0.6.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rants 0.6.0 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 crates.io crate rants 0.6.0 [INFO] finished tweaking crates.io crate rants 0.6.0 [INFO] tweaked toml for crates.io crate rants 0.6.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] eb047b5e624853a2ddca1d05dde34b4acb8972ee02709454d186a24a8c20f987 [INFO] running `Command { std: "docker" "start" "-a" "eb047b5e624853a2ddca1d05dde34b4acb8972ee02709454d186a24a8c20f987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb047b5e624853a2ddca1d05dde34b4acb8972ee02709454d186a24a8c20f987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb047b5e624853a2ddca1d05dde34b4acb8972ee02709454d186a24a8c20f987", kill_on_drop: false }` [INFO] [stdout] eb047b5e624853a2ddca1d05dde34b4acb8972ee02709454d186a24a8c20f987 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 6f1dbafbdae8e2504cad121c485789361f1e9b3171ac49ed5d53b20f5d3ba3fa [INFO] running `Command { std: "docker" "start" "-a" "6f1dbafbdae8e2504cad121c485789361f1e9b3171ac49ed5d53b20f5d3ba3fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking rants v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when generator glue MIR for `::connect::{closure#0}` [INFO] [stdout] --> src/lib.rs:687:46 [INFO] [stdout] | [INFO] [stdout] 687 | async fn connect(wrapped_client: Client) { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 688 | | // If we are already connected do not connect again [INFO] [stdout] 689 | | if let ConnectionState::Connected(_, _) = wrapped_client.lock().await.state { [INFO] [stdout] 690 | | return; [INFO] [stdout] ... | [INFO] [stdout] 923 | | } [INFO] [stdout] 924 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires elaborating drops for `::connect::{closure#0}`... [INFO] [stdout] --> src/lib.rs:687:46 [INFO] [stdout] | [INFO] [stdout] 687 | async fn connect(wrapped_client: Client) { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 688 | | // If we are already connected do not connect again [INFO] [stdout] 689 | | if let ConnectionState::Connected(_, _) = wrapped_client.lock().await.state { [INFO] [stdout] 690 | | return; [INFO] [stdout] ... | [INFO] [stdout] 923 | | } [INFO] [stdout] 924 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which requires normalizing `impl core::future::future::Future + core::marker::Send`... [INFO] [stdout] note: ...which requires computing type of `::type_erased_server_messages_handler::{opaque#0}`... [INFO] [stdout] --> src/lib.rs:1309:10 [INFO] [stdout] | [INFO] [stdout] 1309 | ) -> impl std::future::Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires processing `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires processing MIR for `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires unsafety-checking `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires building MIR for `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires type-checking `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1309:10 [INFO] [stdout] | [INFO] [stdout] 1309 | ) -> impl std::future::Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `impl core::future::future::Future: core::marker::Send`... [INFO] [stdout] note: ...which requires computing type of `::server_messages_handler::{opaque#0}`... [INFO] [stdout] --> src/lib.rs:1137:7 [INFO] [stdout] | [INFO] [stdout] 1137 | ) { [INFO] [stdout] | ^ [INFO] [stdout] note: ...which requires borrow-checking `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1211:13 [INFO] [stdout] | [INFO] [stdout] 1211 | tokio::spawn(Self::connect(Client::clone(&wrapped_client))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `impl core::future::future::Future: core::marker::Send`... [INFO] [stdout] = note: ...which again requires generator glue MIR for `::connect::{closure#0}`, completing the cycle [INFO] [stdout] note: cycle used when checking item types in top-level module [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! An async [NATS](https://nats.io/) client library for the Rust programming language. [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! The client aims to be an ergonomic, yet thin, wrapper over the NATS client protocol. The [INFO] [stdout] 4 | | //! easiest way to learn to use the client is by reading the [INFO] [stdout] ... | [INFO] [stdout] 1566 | | } [INFO] [stdout] 1567 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when generator glue MIR for `::connect::{closure#0}` [INFO] [stdout] --> src/lib.rs:687:46 [INFO] [stdout] | [INFO] [stdout] 687 | async fn connect(wrapped_client: Client) { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 688 | | // If we are already connected do not connect again [INFO] [stdout] 689 | | if let ConnectionState::Connected(_, _) = wrapped_client.lock().await.state { [INFO] [stdout] 690 | | return; [INFO] [stdout] ... | [INFO] [stdout] 923 | | } [INFO] [stdout] 924 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires elaborating drops for `::connect::{closure#0}`... [INFO] [stdout] --> src/lib.rs:687:46 [INFO] [stdout] | [INFO] [stdout] 687 | async fn connect(wrapped_client: Client) { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 688 | | // If we are already connected do not connect again [INFO] [stdout] 689 | | if let ConnectionState::Connected(_, _) = wrapped_client.lock().await.state { [INFO] [stdout] 690 | | return; [INFO] [stdout] ... | [INFO] [stdout] 923 | | } [INFO] [stdout] 924 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which requires normalizing `impl core::future::future::Future + core::marker::Send`... [INFO] [stdout] note: ...which requires computing type of `::type_erased_server_messages_handler::{opaque#0}`... [INFO] [stdout] --> src/lib.rs:1309:10 [INFO] [stdout] | [INFO] [stdout] 1309 | ) -> impl std::future::Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires processing `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires processing MIR for `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires unsafety-checking `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires building MIR for `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | / fn type_erased_server_messages_handler( [INFO] [stdout] 1307 | | wrapped_client: Client, [INFO] [stdout] 1308 | | reader: FramedRead, Codec>, [INFO] [stdout] 1309 | | ) -> impl std::future::Future + Send { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] note: ...which requires type-checking `::type_erased_server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1309:10 [INFO] [stdout] | [INFO] [stdout] 1309 | ) -> impl std::future::Future + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `impl core::future::future::Future: core::marker::Send`... [INFO] [stdout] note: ...which requires computing type of `::server_messages_handler::{opaque#0}`... [INFO] [stdout] --> src/lib.rs:1137:7 [INFO] [stdout] | [INFO] [stdout] 1137 | ) { [INFO] [stdout] | ^ [INFO] [stdout] note: ...which requires borrow-checking `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | / async fn server_messages_handler( [INFO] [stdout] 1135 | | wrapped_client: Client, [INFO] [stdout] 1136 | | mut reader: FramedRead, Codec>, [INFO] [stdout] 1137 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `::server_messages_handler`... [INFO] [stdout] --> src/lib.rs:1211:13 [INFO] [stdout] | [INFO] [stdout] 1211 | tokio::spawn(Self::connect(Client::clone(&wrapped_client))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `impl core::future::future::Future: core::marker::Send`... [INFO] [stdout] = note: ...which again requires generator glue MIR for `::connect::{closure#0}`, completing the cycle [INFO] [stdout] note: cycle used when checking item types in top-level module [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! An async [NATS](https://nats.io/) client library for the Rust programming language. [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! The client aims to be an ergonomic, yet thin, wrapper over the NATS client protocol. The [INFO] [stdout] 4 | | //! easiest way to learn to use the client is by reading the [INFO] [stdout] ... | [INFO] [stdout] 1566 | | } [INFO] [stdout] 1567 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rants` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rants` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "6f1dbafbdae8e2504cad121c485789361f1e9b3171ac49ed5d53b20f5d3ba3fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1dbafbdae8e2504cad121c485789361f1e9b3171ac49ed5d53b20f5d3ba3fa", kill_on_drop: false }` [INFO] [stdout] 6f1dbafbdae8e2504cad121c485789361f1e9b3171ac49ed5d53b20f5d3ba3fa