[INFO] fetching crate tg_admin 0.1.0... [INFO] testing tg_admin-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tg_admin 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tg_admin 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tg_admin 0.1.0 [INFO] tweaked toml for crates.io crate tg_admin 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tg_admin 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tg_admin 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43467991a23037fee3f7501249d3c4527f63774588c0a951f8847818cc8429ed [INFO] running `Command { std: "docker" "start" "-a" "43467991a23037fee3f7501249d3c4527f63774588c0a951f8847818cc8429ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43467991a23037fee3f7501249d3c4527f63774588c0a951f8847818cc8429ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43467991a23037fee3f7501249d3c4527f63774588c0a951f8847818cc8429ed", kill_on_drop: false }` [INFO] [stdout] 43467991a23037fee3f7501249d3c4527f63774588c0a951f8847818cc8429ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d8fe55b83b489ce7866bad7920c1dad993df2511c8f77f74dcd2b6942839baf [INFO] running `Command { std: "docker" "start" "-a" "5d8fe55b83b489ce7866bad7920c1dad993df2511c8f77f74dcd2b6942839baf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling ordered-multimap v0.6.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling rc-box v1.2.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling rust-ini v0.19.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling similar v2.5.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling insta v1.39.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling v_utils_macros v1.2.9 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling config v0.14.0 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.9 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling v_utils v1.3.18 [INFO] [stderr] Compiling teloxide-core v0.9.1 [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/local_macros.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | $(where $($wh)*)? = impl ::core::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/requests/json.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / req_future! { [INFO] [stdout] 98 | | def: |it: JsonRequest| { [INFO] [stdout] 99 | | it.bot.execute_json(&it.payload) [INFO] [stdout] ... | [INFO] [stdout] 105 | | U::Output: DeserializeOwned, [INFO] [stdout] 106 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Send` must be used in combination with a concrete type within the same crate [INFO] [stdout] = note: this error originates in the macro `req_future` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/local_macros.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | $(where $($wh)*)? = impl ::core::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/requests/json.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / req_future! { [INFO] [stdout] 109 | | def: |it: &JsonRequest| { [INFO] [stdout] 110 | | it.bot.execute_json(&it.payload) [INFO] [stdout] ... | [INFO] [stdout] 116 | | U::Output: DeserializeOwned, [INFO] [stdout] 117 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `SendRef` must be used in combination with a concrete type within the same crate [INFO] [stdout] = note: this error originates in the macro `req_future` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/local_macros.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | $(where $($wh)*)? = impl ::core::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/requests/multipart.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / req_future! { [INFO] [stdout] 109 | | def: |it: MultipartRequest| { [INFO] [stdout] 110 | | it.bot.execute_multipart(&mut {it.payload}) [INFO] [stdout] ... | [INFO] [stdout] 116 | | U::Output: DeserializeOwned, [INFO] [stdout] 117 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Send` must be used in combination with a concrete type within the same crate [INFO] [stdout] = note: this error originates in the macro `req_future` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/local_macros.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | $(where $($wh)*)? = impl ::core::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/requests/multipart.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / req_future! { [INFO] [stdout] 120 | | def: |it: &MultipartRequest| { [INFO] [stdout] 121 | | it.bot.execute_multipart_ref(&it.payload) [INFO] [stdout] ... | [INFO] [stdout] 127 | | U::Output: DeserializeOwned, [INFO] [stdout] 128 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `SendRef` must be used in combination with a concrete type within the same crate [INFO] [stdout] = note: this error originates in the macro `req_future` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/requests/json.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | it.bot.execute_json(&it.payload) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected future, found a different future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/bot.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | ) -> impl Future> + 'static [INFO] [stdout] | --------------------------------------------------------- the found future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/local_macros.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | $(where $($wh)*)? = impl ::core::future::Future; [INFO] [stdout] | ------------------------------------------ the expected future [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn def<$T>($( $arg: $ArgTy ),*) -> $i<$T> [INFO] [stdout] | ------ expected `json::inner0::Send` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/requests/json.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | it.bot.execute_json(&it.payload) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected future, found a different future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/bot.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | ) -> impl Future> + 'static [INFO] [stdout] | --------------------------------------------------------- the found future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/local_macros.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | $(where $($wh)*)? = impl ::core::future::Future; [INFO] [stdout] | ------------------------------------------ the expected future [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn def<$T>($( $arg: $ArgTy ),*) -> $i<$T> [INFO] [stdout] | ------ expected `json::inner1::SendRef` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/requests/multipart.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | it.bot.execute_multipart(&mut {it.payload}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected future, found a different future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/bot.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | ) -> impl Future> [INFO] [stdout] | ----------------------------------------------- the found future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/local_macros.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | $(where $($wh)*)? = impl ::core::future::Future; [INFO] [stdout] | ------------------------------------------ the expected future [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn def<$T>($( $arg: $ArgTy ),*) -> $i<$T> [INFO] [stdout] | ------ expected `requests::multipart::inner0::Send` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/requests/multipart.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | it.bot.execute_multipart_ref(&it.payload) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected future, found a different future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/bot.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | ) -> impl Future> [INFO] [stdout] | ----------------------------------------------- the found future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.9.1/src/local_macros.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | $(where $($wh)*)? = impl ::core::future::Future; [INFO] [stdout] | ------------------------------------------ the expected future [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn def<$T>($( $arg: $ArgTy ),*) -> $i<$T> [INFO] [stdout] | ------ expected `requests::multipart::inner1::SendRef` because of return type [INFO] [stdout] | [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [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-core` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "5d8fe55b83b489ce7866bad7920c1dad993df2511c8f77f74dcd2b6942839baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d8fe55b83b489ce7866bad7920c1dad993df2511c8f77f74dcd2b6942839baf", kill_on_drop: false }` [INFO] [stdout] 5d8fe55b83b489ce7866bad7920c1dad993df2511c8f77f74dcd2b6942839baf