[INFO] cloning repository https://github.com/Cryptoverflow/cryptoverflow-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cryptoverflow/cryptoverflow-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryptoverflow%2Fcryptoverflow-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryptoverflow%2Fcryptoverflow-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb149ae782d4597f7659da27c3d3e1753b207f80 [INFO] checking Cryptoverflow/cryptoverflow-bot against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryptoverflow%2Fcryptoverflow-bot" "/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/Cryptoverflow/cryptoverflow-bot 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/Cryptoverflow/cryptoverflow-bot [INFO] finished tweaking git repo https://github.com/Cryptoverflow/cryptoverflow-bot [INFO] tweaked toml for git repo https://github.com/Cryptoverflow/cryptoverflow-bot written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Cryptoverflow/cryptoverflow-bot 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] fff0d2798400a098e8425dffd4e5d6595e20c8b47d76832086c58a71d359280b [INFO] running `Command { std: "docker" "start" "-a" "fff0d2798400a098e8425dffd4e5d6595e20c8b47d76832086c58a71d359280b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fff0d2798400a098e8425dffd4e5d6595e20c8b47d76832086c58a71d359280b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff0d2798400a098e8425dffd4e5d6595e20c8b47d76832086c58a71d359280b", kill_on_drop: false }` [INFO] [stdout] fff0d2798400a098e8425dffd4e5d6595e20c8b47d76832086c58a71d359280b [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] 6feb3fdc7ede37a028d84ddbdd85cbb30fe98004dba7e27d083262879a659479 [INFO] running `Command { std: "docker" "start" "-a" "6feb3fdc7ede37a028d84ddbdd85cbb30fe98004dba7e27d083262879a659479", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.114 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rc-box v1.1.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking flurry v0.3.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling teloxide-macros v0.5.0 [INFO] [stderr] Compiling aquamarine v0.1.11 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking dptree v0.1.0 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking teloxide-core v0.4.1 [INFO] [stderr] Checking teloxide v0.7.0 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | fn stream(st: &mut State) -> impl Stream> + Send + '_ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected trait `<[closure@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:28: 154:40] as FnOnce<(&mut polling::State,)>>` [INFO] [stdout] found trait `<[closure@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:28: 154:40] as FnOnce<(&mut polling::State,)>>` [INFO] [stdout] note: this closure does not fulfill the lifetime requirements [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the anonymous lifetime #2 defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #1 defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | fn stream(st: &mut State) -> impl Stream> + Send + '_ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(Either<_, _>, &mut polling::State)>` [INFO] [stdout] found enum `std::option::Option<(Either<_, _>, &mut polling::State)>` [INFO] [stdout] note: the anonymous lifetime #5 defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #1 defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | fn stream(st: &mut State) -> impl Stream> + Send + '_ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected trait `<[closure@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:28: 154:40] as FnOnce<(&mut polling::State,)>>` [INFO] [stdout] found trait `<[closure@/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:28: 154:40] as FnOnce<(&mut polling::State,)>>` [INFO] [stdout] note: this closure does not fulfill the lifetime requirements [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the anonymous lifetime #1 defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #2 defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | fn stream(st: &mut State) -> impl Stream> + Send + '_ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] ... [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________- [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________the expected `async` block [INFO] [stdout] | the found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::Future::Err>>>, futures::stream::Iter, fn(Update) -> Result::Err> {Result::::Err>::Ok}>>>, &mut polling::State)>>` [INFO] [stdout] found opaque type `impl futures::Future::Err>>>, futures::stream::Iter, fn(Update) -> Result::Err> {Result::::Err>::Ok}>>>, &mut polling::State)>>` [INFO] [stdout] note: the anonymous lifetime #5 defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #3 defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | fn stream(st: &mut State) -> impl Stream> + Send + '_ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] ... [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________- [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________the expected `async` block [INFO] [stdout] | the found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::Future::Err>>>, futures::stream::Iter, fn(Update) -> Result::Err> {Result::::Err>::Ok}>>>, &mut polling::State)>>` [INFO] [stdout] found opaque type `impl futures::Future::Err>>>, futures::stream::Iter, fn(Update) -> Result::Err> {Result::::Err>::Ok}>>>, &mut polling::State)>>` [INFO] [stdout] note: the anonymous lifetime #6 defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #4 defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | fn stream(st: &mut State) -> impl Stream> + Send + '_ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(Either<_, _>, &mut polling::State)>` [INFO] [stdout] found enum `std::option::Option<(Either<_, _>, &mut polling::State)>` [INFO] [stdout] note: the anonymous lifetime #1 defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #5 defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | fn stream(st: &mut State) -> impl Stream> + Send + '_ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] ... [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________- [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________the expected `async` block [INFO] [stdout] | the found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::Future::Err>>>, futures::stream::Iter, fn(Update) -> Result::Err> {Result::::Err>::Ok}>>>, &mut polling::State)>>` [INFO] [stdout] found opaque type `impl futures::Future::Err>>>, futures::stream::Iter, fn(Update) -> Result::Err> {Result::::Err>::Ok}>>>, &mut polling::State)>>` [INFO] [stdout] note: the anonymous lifetime #3 defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #5 defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | fn stream(st: &mut State) -> impl Stream> + Send + '_ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] ... [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________- [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________the expected `async` block [INFO] [stdout] | the found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::Future::Err>>>, futures::stream::Iter, fn(Update) -> Result::Err> {Result::::Err>::Ok}>>>, &mut polling::State)>>` [INFO] [stdout] found opaque type `impl futures::Future::Err>>>, futures::stream::Iter, fn(Update) -> Result::Err> {Result::::Err>::Ok}>>>, &mut polling::State)>>` [INFO] [stdout] note: the anonymous lifetime #4 defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #6 defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/teloxide-0.7.0/src/dispatching/update_listeners/polling.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | stream::unfold(st, move |state| async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 155 | | let State { timeout, limit, allowed_updates, bot, offset, flag, force_stop, .. } = [INFO] [stdout] 156 | | &mut *state; [INFO] [stdout] 157 | | [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `teloxide` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "6feb3fdc7ede37a028d84ddbdd85cbb30fe98004dba7e27d083262879a659479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6feb3fdc7ede37a028d84ddbdd85cbb30fe98004dba7e27d083262879a659479", kill_on_drop: false }` [INFO] [stdout] 6feb3fdc7ede37a028d84ddbdd85cbb30fe98004dba7e27d083262879a659479