[INFO] fetching crate wildfire-ferris 0.0.1... [INFO] testing wildfire-ferris-0.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wildfire-ferris 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate wildfire-ferris 0.0.1 [INFO] finished tweaking crates.io crate wildfire-ferris 0.0.1 [INFO] tweaked toml for crates.io crate wildfire-ferris 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wildfire-ferris 0.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 179 packages to latest compatible versions [INFO] [stderr] Adding ferrisgram v0.1.9 (available: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wildfire v0.0.0 [INFO] [stderr] Downloaded ferrisgram v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc2857b4cfc33f9071b8ddb62db44c7d5cdf405e0a9bd50592f1cfc8b81ff4e8 [INFO] running `Command { std: "docker" "start" "-a" "dc2857b4cfc33f9071b8ddb62db44c7d5cdf405e0a9bd50592f1cfc8b81ff4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc2857b4cfc33f9071b8ddb62db44c7d5cdf405e0a9bd50592f1cfc8b81ff4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc2857b4cfc33f9071b8ddb62db44c7d5cdf405e0a9bd50592f1cfc8b81ff4e8", kill_on_drop: false }` [INFO] [stdout] dc2857b4cfc33f9071b8ddb62db44c7d5cdf405e0a9bd50592f1cfc8b81ff4e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 501459579dd961a79be5c5fd743ecc0d68b7418a4791a392bb97861c89d37ac6 [INFO] running `Command { std: "docker" "start" "-a" "501459579dd961a79be5c5fd743ecc0d68b7418a4791a392bb97861c89d37ac6", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling wildfire v0.0.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ferrisgram v0.1.9 [INFO] [stderr] Compiling wildfire-ferris v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `disable_web_page_preview` found for struct `SendMessageBuilder<'a>` in the current scope [INFO] [stdout] --> src/basics.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 8 | / bot.send_message( [INFO] [stdout] 9 | | msg.chat.id, [INFO] [stdout] 10 | | constants::START [INFO] [stdout] 11 | | .replace("{user}", msg.from.unwrap().first_name.as_str()) [INFO] [stdout] ... | [INFO] [stdout] 14 | | .parse_mode("html".to_string()) [INFO] [stdout] 15 | | .disable_web_page_preview(true) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `SendMessageBuilder<'_>` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `disable_web_page_preview` found for struct `SendMessageBuilder<'a>` in the current scope [INFO] [stdout] --> src/basics.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 25 | / bot.send_message(msg.chat.id, constants::HELP.to_string()) [INFO] [stdout] 26 | | .parse_mode("html".to_string()) [INFO] [stdout] 27 | | .disable_web_page_preview(true) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `SendMessageBuilder<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `disable_web_page_preview` found for struct `SendMessageBuilder<'a>` in the current scope [INFO] [stdout] --> src/basics.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 36 | / bot.send_message(msg.chat.id, constants::ABOUT.to_string()) [INFO] [stdout] 37 | | .parse_mode("html".to_string()) [INFO] [stdout] 38 | | .disable_web_page_preview(true) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `SendMessageBuilder<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message_id` on type `MaybeInaccessibleMessage` [INFO] [stdout] --> src/callbacks.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | .message_id(msg.message_id) [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chat` on type `MaybeInaccessibleMessage` [INFO] [stdout] --> src/callbacks.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | .chat_id(msg.chat.id) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `disable_web_page_preview` found for struct `EditMessageTextBuilder<'a>` in the current scope [INFO] [stdout] --> src/callbacks.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 10 | / bot.edit_message_text(constants::HELP.to_string()) [INFO] [stdout] 11 | | .message_id(msg.message_id) [INFO] [stdout] 12 | | .chat_id(msg.chat.id) [INFO] [stdout] 13 | | .parse_mode("html".to_string()) [INFO] [stdout] 14 | | .disable_web_page_preview(true) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `EditMessageTextBuilder<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message_id` on type `MaybeInaccessibleMessage` [INFO] [stdout] --> src/callbacks.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | .message_id(msg.message_id) [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chat` on type `MaybeInaccessibleMessage` [INFO] [stdout] --> src/callbacks.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | .chat_id(msg.chat.id) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `disable_web_page_preview` found for struct `EditMessageTextBuilder<'a>` in the current scope [INFO] [stdout] --> src/callbacks.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 24 | / bot.edit_message_text(constants::ABOUT.to_string()) [INFO] [stdout] 25 | | .message_id(msg.message_id) [INFO] [stdout] 26 | | .chat_id(msg.chat.id) [INFO] [stdout] 27 | | .parse_mode("html".to_string()) [INFO] [stdout] 28 | | .disable_web_page_preview(true) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `EditMessageTextBuilder<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `MaybeInaccessibleMessage` [INFO] [stdout] --> src/callbacks.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | .replace("{user}", msg.from.unwrap().first_name.as_str()) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message_id` on type `MaybeInaccessibleMessage` [INFO] [stdout] --> src/callbacks.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | .message_id(msg.message_id) [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chat` on type `MaybeInaccessibleMessage` [INFO] [stdout] --> src/callbacks.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | .chat_id(msg.chat.id) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `disable_web_page_preview` found for struct `EditMessageTextBuilder<'a>` in the current scope [INFO] [stdout] --> src/callbacks.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 38 | / bot.edit_message_text( [INFO] [stdout] 39 | | constants::START [INFO] [stdout] 40 | | .replace("{user}", msg.from.unwrap().first_name.as_str()) [INFO] [stdout] 41 | | .replace("{bot}", bot.user.first_name.as_str()), [INFO] [stdout] ... | [INFO] [stdout] 45 | | .parse_mode("html".to_string()) [INFO] [stdout] 46 | | .disable_web_page_preview(true) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `EditMessageTextBuilder<'_>` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let bot = match Bot::new((*utils::TOKEN).as_str()).await { [INFO] [stdout] | ^^^^^^^^-------------------------- argument #2 of type `Option<&str>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ferrisgram-0.1.9/src/bot.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn new(token: &str, api_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 19 | let bot = match Bot::new((*utils::TOKEN).as_str(), /* Option<&str> */).await { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `switch_inline_query_chosen_chat` and `web_app` in initializer of `InlineKeyboardButton` [INFO] [stdout] --> src/constants.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | vec![InlineKeyboardButton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `switch_inline_query_chosen_chat` and `web_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `switch_inline_query_chosen_chat` and `web_app` in initializer of `InlineKeyboardButton` [INFO] [stdout] --> src/constants.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | InlineKeyboardButton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `switch_inline_query_chosen_chat` and `web_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `switch_inline_query_chosen_chat` and `web_app` in initializer of `InlineKeyboardButton` [INFO] [stdout] --> src/constants.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | InlineKeyboardButton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `switch_inline_query_chosen_chat` and `web_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `switch_inline_query_chosen_chat` and `web_app` in initializer of `InlineKeyboardButton` [INFO] [stdout] --> src/constants.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | vec![InlineKeyboardButton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `switch_inline_query_chosen_chat` and `web_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `switch_inline_query_chosen_chat` and `web_app` in initializer of `InlineKeyboardButton` [INFO] [stdout] --> src/constants.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | inline_keyboard: vec![vec![InlineKeyboardButton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `switch_inline_query_chosen_chat` and `web_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wildfire-ferris` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "501459579dd961a79be5c5fd743ecc0d68b7418a4791a392bb97861c89d37ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "501459579dd961a79be5c5fd743ecc0d68b7418a4791a392bb97861c89d37ac6", kill_on_drop: false }` [INFO] [stdout] 501459579dd961a79be5c5fd743ecc0d68b7418a4791a392bb97861c89d37ac6