[INFO] fetching crate tgbot 0.18.0... [INFO] checking tgbot-0.18.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate tgbot 0.18.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tgbot 0.18.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 tgbot 0.18.0 [INFO] finished tweaking crates.io crate tgbot 0.18.0 [INFO] tweaked toml for crates.io crate tgbot 0.18.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate tgbot 0.18.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 6c16549fabdc2403411a444b181be3f7671d24cfeb760183828f97975e96d371 [INFO] running `Command { std: "docker" "start" "-a" "6c16549fabdc2403411a444b181be3f7671d24cfeb760183828f97975e96d371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c16549fabdc2403411a444b181be3f7671d24cfeb760183828f97975e96d371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c16549fabdc2403411a444b181be3f7671d24cfeb760183828f97975e96d371", kill_on_drop: false }` [INFO] [stdout] 6c16549fabdc2403411a444b181be3f7671d24cfeb760183828f97975e96d371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 23f32c624c46dc53e1c7411c1b215f905bbc030916b4b44e30233241515813a2 [INFO] running `Command { std: "docker" "start" "-a" "23f32c624c46dc53e1c7411c1b215f905bbc030916b4b44e30233241515813a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rustls v0.20.2 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Checking shellwords v1.1.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-rustls v0.23.2 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking vec1 v1.8.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking assert-json-diff v2.0.1 [INFO] [stderr] Checking mockito v0.30.0 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking tgbot v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `::handle` [INFO] [stdout] --> examples/longpoll.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / Box::pin(async move { [INFO] [stdout] 21 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 22 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 23 | | if let Some(text) = message.get_text() { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@examples/longpoll.rs:20:29: 29:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `::handle::{closure#0}`... [INFO] [stdout] --> examples/longpoll.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 21 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 22 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 23 | | if let Some(text) = message.get_text() { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `::handle::{closure#0}`... [INFO] [stdout] --> examples/longpoll.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 21 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 22 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 23 | | if let Some(text) = message.get_text() { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `::handle::{closure#0}`... [INFO] [stdout] --> examples/longpoll.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 21 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 22 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 23 | | if let Some(text) = message.get_text() { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `::handle::{closure#0}`... [INFO] [stdout] --> examples/longpoll.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 21 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 22 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 23 | | if let Some(text) = message.get_text() { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `::handle::{closure#0}`... [INFO] [stdout] --> examples/longpoll.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 21 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 22 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 23 | | if let Some(text) = message.get_text() { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `::handle::{closure#0}`... [INFO] [stdout] --> examples/longpoll.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 21 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 22 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 23 | | if let Some(text) = message.get_text() { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `::handle::{closure#0}`... [INFO] [stdout] --> examples/longpoll.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 21 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 22 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 23 | | if let Some(text) = message.get_text() { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `::handle::{closure#0}`... [INFO] [stdout] --> examples/longpoll.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 21 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 22 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 23 | | if let Some(text) = message.get_text() { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `::handle`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tgbot` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `::handle` [INFO] [stdout] --> examples/send_file.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / Box::pin(async move { [INFO] [stdout] 30 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 31 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 32 | | let chat_id = message.get_chat_id(); [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@examples/send_file.rs:29:29: 126:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `::handle::{closure#0}`... [INFO] [stdout] --> examples/send_file.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 30 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 31 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 32 | | let chat_id = message.get_chat_id(); [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `::handle::{closure#0}`... [INFO] [stdout] --> examples/send_file.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 30 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 31 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 32 | | let chat_id = message.get_chat_id(); [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `::handle::{closure#0}`... [INFO] [stdout] --> examples/send_file.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 30 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 31 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 32 | | let chat_id = message.get_chat_id(); [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `::handle::{closure#0}`... [INFO] [stdout] --> examples/send_file.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 30 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 31 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 32 | | let chat_id = message.get_chat_id(); [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `::handle::{closure#0}`... [INFO] [stdout] --> examples/send_file.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 30 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 31 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 32 | | let chat_id = message.get_chat_id(); [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `::handle::{closure#0}`... [INFO] [stdout] --> examples/send_file.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 30 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 31 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 32 | | let chat_id = message.get_chat_id(); [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `::handle::{closure#0}`... [INFO] [stdout] --> examples/send_file.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 30 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 31 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 32 | | let chat_id = message.get_chat_id(); [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `::handle::{closure#0}`... [INFO] [stdout] --> examples/send_file.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 30 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 31 | | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] 32 | | let chat_id = message.get_chat_id(); [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `::handle`, 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 `::handle` [INFO] [stdout] --> examples/media_group.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / Box::pin(async move { [INFO] [stdout] 25 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 26 | | if let Some(chat_id) = update.get_chat_id() { [INFO] [stdout] 27 | | let photo_url = InputFile::url(this.photo_url); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@examples/media_group.rs:24:29: 37:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `::handle::{closure#0}`... [INFO] [stdout] --> examples/media_group.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 25 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 26 | | if let Some(chat_id) = update.get_chat_id() { [INFO] [stdout] 27 | | let photo_url = InputFile::url(this.photo_url); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `::handle::{closure#0}`... [INFO] [stdout] --> examples/media_group.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 25 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 26 | | if let Some(chat_id) = update.get_chat_id() { [INFO] [stdout] 27 | | let photo_url = InputFile::url(this.photo_url); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `::handle::{closure#0}`... [INFO] [stdout] --> examples/media_group.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 25 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 26 | | if let Some(chat_id) = update.get_chat_id() { [INFO] [stdout] 27 | | let photo_url = InputFile::url(this.photo_url); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `::handle::{closure#0}`... [INFO] [stdout] --> examples/media_group.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 25 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 26 | | if let Some(chat_id) = update.get_chat_id() { [INFO] [stdout] 27 | | let photo_url = InputFile::url(this.photo_url); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `::handle::{closure#0}`... [INFO] [stdout] --> examples/media_group.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 25 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 26 | | if let Some(chat_id) = update.get_chat_id() { [INFO] [stdout] 27 | | let photo_url = InputFile::url(this.photo_url); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `::handle::{closure#0}`... [INFO] [stdout] --> examples/media_group.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 25 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 26 | | if let Some(chat_id) = update.get_chat_id() { [INFO] [stdout] 27 | | let photo_url = InputFile::url(this.photo_url); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `::handle::{closure#0}`... [INFO] [stdout] --> examples/media_group.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 25 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 26 | | if let Some(chat_id) = update.get_chat_id() { [INFO] [stdout] 27 | | let photo_url = InputFile::url(this.photo_url); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `::handle::{closure#0}`... [INFO] [stdout] --> examples/media_group.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 25 | | log::info!("got an update: {:?}\n", update); [INFO] [stdout] 26 | | if let Some(chat_id) = update.get_chat_id() { [INFO] [stdout] 27 | | let photo_url = InputFile::url(this.photo_url); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `::handle`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0391]: cycle detected when type-checking `webhook` [INFO] [stdout] --> tests/webhook.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | tokio::spawn(server); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@tests/webhook.rs:37:39: 39:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `webhook::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/webhook.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | .with_graceful_shutdown(async { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 38 | | rx.await.ok(); [INFO] [stdout] 39 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `webhook::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/webhook.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | .with_graceful_shutdown(async { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 38 | | rx.await.ok(); [INFO] [stdout] 39 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `webhook::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/webhook.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | .with_graceful_shutdown(async { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 38 | | rx.await.ok(); [INFO] [stdout] 39 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `webhook::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/webhook.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | .with_graceful_shutdown(async { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 38 | | rx.await.ok(); [INFO] [stdout] 39 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `webhook::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/webhook.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | .with_graceful_shutdown(async { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 38 | | rx.await.ok(); [INFO] [stdout] 39 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `webhook::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/webhook.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | .with_graceful_shutdown(async { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 38 | | rx.await.ok(); [INFO] [stdout] 39 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `webhook::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/webhook.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | .with_graceful_shutdown(async { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 38 | | rx.await.ok(); [INFO] [stdout] 39 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `webhook::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/webhook.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | .with_graceful_shutdown(async { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 38 | | rx.await.ok(); [INFO] [stdout] 39 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `webhook`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tgbot` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tgbot` due to 2 previous errors [INFO] [stderr] error: could not compile `tgbot` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "23f32c624c46dc53e1c7411c1b215f905bbc030916b4b44e30233241515813a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f32c624c46dc53e1c7411c1b215f905bbc030916b4b44e30233241515813a2", kill_on_drop: false }` [INFO] [stdout] 23f32c624c46dc53e1c7411c1b215f905bbc030916b4b44e30233241515813a2