[INFO] fetching crate telebot 0.3.1... [INFO] checking telebot-0.3.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate telebot 0.3.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate telebot 0.3.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate telebot 0.3.1 [INFO] finished tweaking crates.io crate telebot 0.3.1 [INFO] tweaked toml for crates.io crate telebot 0.3.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate telebot 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-retry v0.3.3 [INFO] [stderr] Downloaded telebot-derive v0.0.14 [INFO] [stderr] Downloaded hyper-multipart-rfc7578 v0.3.0 [INFO] [stderr] Downloaded common-multipart-rfc7578 v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 527b84e97ffd3b1711f9004d399e4d474e63ed15e8be07c9c513d3b586296aa1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "527b84e97ffd3b1711f9004d399e4d474e63ed15e8be07c9c513d3b586296aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "527b84e97ffd3b1711f9004d399e4d474e63ed15e8be07c9c513d3b586296aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "527b84e97ffd3b1711f9004d399e4d474e63ed15e8be07c9c513d3b586296aa1", kill_on_drop: false }` [INFO] [stdout] 527b84e97ffd3b1711f9004d399e4d474e63ed15e8be07c9c513d3b586296aa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75c5643920e49effc0aab4d9fe301f05d3ff5ab68810d49963a2b6ece4ac465e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "75c5643920e49effc0aab4d9fe301f05d3ff5ab68810d49963a2b6ece4ac465e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking arrayvec v0.4.11 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking backtrace-sys v0.1.31 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Checking backtrace v0.3.35 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking futures-retry v0.3.3 [INFO] [stderr] Compiling telebot-derive v0.0.14 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking common-multipart-rfc7578 v0.1.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking hyper-multipart-rfc7578 v0.3.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking serde v1.0.99 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking erased-serde v0.3.9 [INFO] [stderr] Checking telebot v0.3.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `telebot` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/functions.rs [INFO] [stderr] * src/objects.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:391:10 [INFO] [stderr] | [INFO] [stderr] 391 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Article\\\"] pub struct InlineQueryResultArticle\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub title :\\n String, pub input_message_content : Box < dyn Serialize + Send >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub reply_markup :\\n Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub url : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub hide_url :\\n Option < Boolean >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n description : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_url : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n thumb_width : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_height :\\n Option < Integer >,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:415:10 [INFO] [stderr] | [INFO] [stderr] 415 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Photo\\\"] pub struct InlineQueryResultPhoto\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n photo_url : String, pub thumb_url : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub photo_width : Option\\n < Integer >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n photo_height : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub title : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n description : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:439:10 [INFO] [stderr] | [INFO] [stderr] 439 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Gif\\\"] pub struct InlineQueryResultGif\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub gif_url\\n : String, pub thumb_url : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub gif_width : Option <\\n Integer >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n gif_height : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub title : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption :\\n Option < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:461:10 [INFO] [stderr] | [INFO] [stderr] 461 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Mpeg4Gif\\\"] pub struct InlineQueryResultMpeg4Gif\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n mpeg4_url : String, pub thumb_url : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub mpeg4_width : Option\\n < Integer >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n mpeg4_height : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub title : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption :\\n Option < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:483:10 [INFO] [stderr] | [INFO] [stderr] 483 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Video\\\"] pub struct InlineQueryResultVideo\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n video_url : String, pub mime_type : String, pub thumb_url : String, pub\\n title : String, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n caption : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub video_width : Option\\n < Integer >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n video_height : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub video_duration :\\n Option < Integer >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n description : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub reply_markup :\\n Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:509:10 [INFO] [stderr] | [INFO] [stderr] 509 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Audio\\\"] pub struct InlineQueryResultAudio\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n audio_url : String, pub title : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub performer\\n : Option < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n audio_duration : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub reply_markup :\\n Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:529:10 [INFO] [stderr] | [INFO] [stderr] 529 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Voice\\\"] pub struct InlineQueryResultVoice\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n voice_url : String, pub title : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n voice_duration : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub reply_markup :\\n Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:547:10 [INFO] [stderr] | [INFO] [stderr] 547 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Document\\\"] pub struct InlineQueryResultDocument\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub title :\\n String, pub document_url : String, pub mime_type : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n description : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub reply_markup :\\n Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_url : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n thumb_width : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_height :\\n Option < Integer >,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:572:10 [INFO] [stderr] | [INFO] [stderr] 572 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Location\\\"] pub struct InlineQueryResultLocation\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub latitude\\n : f64, pub longitude : f64, pub title : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub reply_markup :\\n Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_url : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n thumb_width : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_height :\\n Option < Integer >,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:593:10 [INFO] [stderr] | [INFO] [stderr] 593 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Venue\\\"] pub struct InlineQueryResultVenue\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub latitude\\n : f64, pub longitude : f64, pub title : String, pub address : String, pub\\n foursquare_id : String, #[serde(skip_serializing_if = \\\"Option::is_none\\\")]\\n pub reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_url : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n thumb_width : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_height :\\n Option < Integer >,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:616:10 [INFO] [stderr] | [INFO] [stderr] 616 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"Contact\\\"] pub struct InlineQueryResultContact\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n phone_number : String, pub first_name : String, pub last_name : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub reply_markup :\\n Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_url : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n thumb_width : Option < Integer >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub thumb_height :\\n Option < Integer >,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:648:10 [INFO] [stderr] | [INFO] [stderr] 648 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"CachedPhoto\\\"] pub struct InlineQueryResultCachedPhoto\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n photo_file_id : String, #[serde(skip_serializing_if = \\\"Option::is_none\\\")]\\n pub title : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub description : Option\\n < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption\\n : Option < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:667:10 [INFO] [stderr] | [INFO] [stderr] 667 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"CachedGif\\\"] pub struct InlineQueryResultCachedGif\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n gif_file_id : String, #[serde(skip_serializing_if = \\\"Option::is_none\\\")]\\n pub title : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:684:10 [INFO] [stderr] | [INFO] [stderr] 684 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"CachedMpeg4Gif\\\"] pub struct InlineQueryResultCachedMpeg4Gif\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n mpeg4_file_id : String, #[serde(skip_serializing_if = \\\"Option::is_none\\\")]\\n pub title : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:701:10 [INFO] [stderr] | [INFO] [stderr] 701 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"CachedSticker\\\"] pub struct InlineQueryResultCachedSticker\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n sticker_file_id : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub reply_markup :\\n Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:714:10 [INFO] [stderr] | [INFO] [stderr] 714 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"CachedDocument\\\"] pub struct InlineQueryResultCachedDocument\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub title :\\n String, pub document_file_id : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub description : Option\\n < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption\\n : Option < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:732:10 [INFO] [stderr] | [INFO] [stderr] 732 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"CachedVideo\\\"] pub struct InlineQueryResultCachedVideo\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n video_file_id : String, pub title : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub description : Option\\n < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption\\n : Option < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:750:10 [INFO] [stderr] | [INFO] [stderr] 750 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"CachedVoice\\\"] pub struct InlineQueryResultCachedVoice\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n voice_file_id : String, pub title : String,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub caption : Option <\\n String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n reply_markup : Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/objects.rs:766:10 [INFO] [stderr] | [INFO] [stderr] 766 | #[derive(setter, Serialize)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[query = \\\"CachedAudio\\\"] pub struct InlineQueryResultCachedAudio\\n{\\n #[serde(rename = \\\"type\\\")] pub kind : String, pub id : String, pub\\n audio_file_id : String, #[serde(skip_serializing_if = \\\"Option::is_none\\\")]\\n pub caption : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub reply_markup :\\n Option < InlineKeyboardMarkup >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] pub\\n input_message_content : Option < Box < dyn Serialize + Send >>,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/functions.rs:719:10 [INFO] [stderr] | [INFO] [stderr] 719 | #[derive(TelegramFunction, Serialize)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"/// Use this method to send answers to an inline query. On success, True is returned.\\n/// No more than 50 results per query are allowed.\\n#[call = \\\"answerInlineQuery\\\"] #[answer = \\\"Boolean\\\"]\\n#[function = \\\"answer_inline_query\\\"] pub struct AnswerInlineQuery\\n{\\n inline_query_id : String, results : Vec < Box < dyn Serialize + Send >>,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] cache_time : Option <\\n Integer >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")] is_personal :\\n Option < bool >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")]\\n next_offset : Option < String >,\\n #[serde(skip_serializing_if = \\\"Option::is_none\\\")] switch_pm_text : Option\\n < String >, #[serde(skip_serializing_if = \\\"Option::is_none\\\")]\\n switch_pm_parameter : Option < String >,\\n}\"" [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:398:36 [INFO] [stdout] | [INFO] [stdout] 398 | pub input_message_content: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:436:43 [INFO] [stdout] | [INFO] [stdout] 436 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:458:43 [INFO] [stdout] | [INFO] [stdout] 458 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:480:43 [INFO] [stdout] | [INFO] [stdout] 480 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:526:43 [INFO] [stdout] | [INFO] [stdout] 526 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:544:43 [INFO] [stdout] | [INFO] [stdout] 544 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:563:43 [INFO] [stdout] | [INFO] [stdout] 563 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:584:43 [INFO] [stdout] | [INFO] [stdout] 584 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:607:43 [INFO] [stdout] | [INFO] [stdout] 607 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:664:43 [INFO] [stdout] | [INFO] [stdout] 664 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:681:43 [INFO] [stdout] | [INFO] [stdout] 681 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:698:43 [INFO] [stdout] | [INFO] [stdout] 698 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:711:43 [INFO] [stdout] | [INFO] [stdout] 711 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:729:43 [INFO] [stdout] | [INFO] [stdout] 729 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:747:43 [INFO] [stdout] | [INFO] [stdout] 747 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:763:43 [INFO] [stdout] | [INFO] [stdout] 763 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:778:43 [INFO] [stdout] | [INFO] [stdout] 778 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functions.rs:725:22 [INFO] [stdout] | [INFO] [stdout] 725 | results: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | source: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Read + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:398:36 [INFO] [stdout] | [INFO] [stdout] 398 | pub input_message_content: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:436:43 [INFO] [stdout] | [INFO] [stdout] 436 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:458:43 [INFO] [stdout] | [INFO] [stdout] 458 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:480:43 [INFO] [stdout] | [INFO] [stdout] 480 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:526:43 [INFO] [stdout] | [INFO] [stdout] 526 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:544:43 [INFO] [stdout] | [INFO] [stdout] 544 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:563:43 [INFO] [stdout] | [INFO] [stdout] 563 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:584:43 [INFO] [stdout] | [INFO] [stdout] 584 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:607:43 [INFO] [stdout] | [INFO] [stdout] 607 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:664:43 [INFO] [stdout] | [INFO] [stdout] 664 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:681:43 [INFO] [stdout] | [INFO] [stdout] 681 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:698:43 [INFO] [stdout] | [INFO] [stdout] 698 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:711:43 [INFO] [stdout] | [INFO] [stdout] 711 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:729:43 [INFO] [stdout] | [INFO] [stdout] 729 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:747:43 [INFO] [stdout] | [INFO] [stdout] 747 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:763:43 [INFO] [stdout] | [INFO] [stdout] 763 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects.rs:778:43 [INFO] [stdout] | [INFO] [stdout] 778 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functions.rs:725:22 [INFO] [stdout] | [INFO] [stdout] 725 | results: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Serialize + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | source: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Read + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/bot.rs:307:21 [INFO] [stdout] | [INFO] [stdout] 307 | .filter_map(move |mut val| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | if let Some(sender) = self.callback_handler.clone() { [INFO] [stdout] | --------------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.callback_handler` [INFO] [stdout] 312 | sender [INFO] [stdout] 313 | .unbounded_send((self.request.clone(), val.callback_query.unwrap())) [INFO] [stdout] | ------------ in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.request` [INFO] [stdout] ... [INFO] [stdout] 320 | if let Some(sender) = self.inline_handler.clone() { [INFO] [stdout] | ------------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.inline_handler` [INFO] [stdout] ... [INFO] [stdout] 335 | if let Some(name) = self.name.as_ref() { [INFO] [stdout] | --------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.name` [INFO] [stdout] ... [INFO] [stdout] 340 | if let Some(sender) = self.handlers.get(cmd) [INFO] [stdout] | ------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.handlers` [INFO] [stdout] ... [INFO] [stdout] 345 | self.unknown_handler [INFO] [stdout] | -------------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.unknown_handler` [INFO] [stdout] ... [INFO] [stdout] 363 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.callback_handler` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.request` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.inline_handler` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.name` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.handlers` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.unknown_handler` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `self` to be fully captured [INFO] [stdout] | [INFO] [stdout] 307 ~ .filter_map(move |mut val| { [INFO] [stdout] 308 + let _ = &self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/bot.rs:307:21 [INFO] [stdout] | [INFO] [stdout] 307 | .filter_map(move |mut val| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | if let Some(sender) = self.callback_handler.clone() { [INFO] [stdout] | --------------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.callback_handler` [INFO] [stdout] 312 | sender [INFO] [stdout] 313 | .unbounded_send((self.request.clone(), val.callback_query.unwrap())) [INFO] [stdout] | ------------ in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.request` [INFO] [stdout] ... [INFO] [stdout] 320 | if let Some(sender) = self.inline_handler.clone() { [INFO] [stdout] | ------------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.inline_handler` [INFO] [stdout] ... [INFO] [stdout] 335 | if let Some(name) = self.name.as_ref() { [INFO] [stdout] | --------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.name` [INFO] [stdout] ... [INFO] [stdout] 340 | if let Some(sender) = self.handlers.get(cmd) [INFO] [stdout] | ------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.handlers` [INFO] [stdout] ... [INFO] [stdout] 345 | self.unknown_handler [INFO] [stdout] | -------------------- in Rust 2018, this closure captures all of `self`, but in Rust 2021, it will only capture `self.unknown_handler` [INFO] [stdout] ... [INFO] [stdout] 363 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.callback_handler` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.request` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.inline_handler` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.name` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.handlers` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `self` is dropped here, but in Rust 2021, only `self.unknown_handler` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `self` to be fully captured [INFO] [stdout] | [INFO] [stdout] 307 ~ .filter_map(move |mut val| { [INFO] [stdout] 308 + let _ = &self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/file.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | value.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `TryIntoFile::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/file.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | value.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `TryIntoFile::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/unknown_cmd.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/print_everything.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/send_memory.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/reply.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/error_handling.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/restart.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/send_mediagroup.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/inline_bot.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/send_self.rs from 2018 edition to 2021 [INFO] [stderr] Fixed examples/restart.rs (2 fixes) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.43s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking telebot v0.3.1 (/tmp/fixit) [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/error.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 11 | fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:398:36 [INFO] [stdout] | [INFO] [stdout] 398 | pub input_message_content: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 398 | pub input_message_content: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:436:43 [INFO] [stdout] | [INFO] [stdout] 436 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 436 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:458:43 [INFO] [stdout] | [INFO] [stdout] 458 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 458 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:480:43 [INFO] [stdout] | [INFO] [stdout] 480 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 480 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 506 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:526:43 [INFO] [stdout] | [INFO] [stdout] 526 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 526 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:544:43 [INFO] [stdout] | [INFO] [stdout] 544 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 544 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:563:43 [INFO] [stdout] | [INFO] [stdout] 563 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 563 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:584:43 [INFO] [stdout] | [INFO] [stdout] 584 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 584 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:607:43 [INFO] [stdout] | [INFO] [stdout] 607 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 607 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 628 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:664:43 [INFO] [stdout] | [INFO] [stdout] 664 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 664 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:681:43 [INFO] [stdout] | [INFO] [stdout] 681 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 681 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:698:43 [INFO] [stdout] | [INFO] [stdout] 698 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 698 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:711:43 [INFO] [stdout] | [INFO] [stdout] 711 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 711 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:729:43 [INFO] [stdout] | [INFO] [stdout] 729 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 729 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:747:43 [INFO] [stdout] | [INFO] [stdout] 747 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 747 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:763:43 [INFO] [stdout] | [INFO] [stdout] 763 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 763 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:778:43 [INFO] [stdout] | [INFO] [stdout] 778 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 778 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/functions.rs:725:22 [INFO] [stdout] | [INFO] [stdout] 725 | results: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 725 | results: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/file.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | source: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 73 | source: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/error.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 11 | fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:398:36 [INFO] [stdout] | [INFO] [stdout] 398 | pub input_message_content: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 398 | pub input_message_content: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:436:43 [INFO] [stdout] | [INFO] [stdout] 436 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 436 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:458:43 [INFO] [stdout] | [INFO] [stdout] 458 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 458 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:480:43 [INFO] [stdout] | [INFO] [stdout] 480 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 480 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 506 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:526:43 [INFO] [stdout] | [INFO] [stdout] 526 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 526 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:544:43 [INFO] [stdout] | [INFO] [stdout] 544 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 544 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:563:43 [INFO] [stdout] | [INFO] [stdout] 563 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 563 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:584:43 [INFO] [stdout] | [INFO] [stdout] 584 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 584 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:607:43 [INFO] [stdout] | [INFO] [stdout] 607 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 607 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 628 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:664:43 [INFO] [stdout] | [INFO] [stdout] 664 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 664 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:681:43 [INFO] [stdout] | [INFO] [stdout] 681 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 681 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:698:43 [INFO] [stdout] | [INFO] [stdout] 698 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 698 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:711:43 [INFO] [stdout] | [INFO] [stdout] 711 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 711 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:729:43 [INFO] [stdout] | [INFO] [stdout] 729 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 729 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:747:43 [INFO] [stdout] | [INFO] [stdout] 747 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 747 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:763:43 [INFO] [stdout] | [INFO] [stdout] 763 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 763 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/objects.rs:778:43 [INFO] [stdout] | [INFO] [stdout] 778 | pub input_message_content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 778 | pub input_message_content: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/functions.rs:725:22 [INFO] [stdout] | [INFO] [stdout] 725 | results: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 725 | results: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/file.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | source: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 73 | source: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: could not compile `telebot` due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "75c5643920e49effc0aab4d9fe301f05d3ff5ab68810d49963a2b6ece4ac465e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75c5643920e49effc0aab4d9fe301f05d3ff5ab68810d49963a2b6ece4ac465e", kill_on_drop: false }` [INFO] [stdout] 75c5643920e49effc0aab4d9fe301f05d3ff5ab68810d49963a2b6ece4ac465e