[INFO] fetching crate pw-telegram-bot-fork 0.9.2... [INFO] checking pw-telegram-bot-fork-0.9.2 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate pw-telegram-bot-fork 0.9.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate pw-telegram-bot-fork 0.9.2 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pw-telegram-bot-fork 0.9.2 [INFO] finished tweaking crates.io crate pw-telegram-bot-fork 0.9.2 [INFO] tweaked toml for crates.io crate pw-telegram-bot-fork 0.9.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate pw-telegram-bot-fork 0.9.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pw-telegram-bot-raw-fork v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13200d72a7112096e756ece0a64a073e737b31384da30c5a42c9f0e01a63687c [INFO] running `Command { std: "docker" "start" "-a" "13200d72a7112096e756ece0a64a073e737b31384da30c5a42c9f0e01a63687c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13200d72a7112096e756ece0a64a073e737b31384da30c5a42c9f0e01a63687c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13200d72a7112096e756ece0a64a073e737b31384da30c5a42c9f0e01a63687c", kill_on_drop: false }` [INFO] [stdout] 13200d72a7112096e756ece0a64a073e737b31384da30c5a42c9f0e01a63687c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 425da8c67343d9f28d211a8db1c5b8d42d3dadf35f1fca7f80500f9ac7a3bd4b [INFO] running `Command { std: "docker" "start" "-a" "425da8c67343d9f28d211a8db1c5b8d42d3dadf35f1fca7f80500f9ac7a3bd4b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking pw-telegram-bot-raw-fork v0.9.2 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking pw-telegram-bot-fork v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `telegram_bot` [INFO] [stdout] --> examples/features.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use telegram_bot::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `telegram_bot` [INFO] [stdout] --> examples/poll.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use telegram_bot::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `telegram_bot` [INFO] [stdout] --> examples/tracing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use telegram_bot::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `telegram_bot` [INFO] [stdout] --> examples/simple.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use telegram_bot::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `telegram_bot` [INFO] [stdout] --> examples/pin.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use telegram_bot::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `telegram_bot` [INFO] [stdout] --> examples/features.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use telegram_bot::{Api, Error, Message, MessageKind, ParseMode, UpdateKind}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `telegram_bot` [INFO] [stdout] --> examples/send.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use telegram_bot::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `telegram_bot` [INFO] [stdout] --> examples/poll.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use telegram_bot::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `telegram_bot` [INFO] [stdout] --> examples/errors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use telegram_bot::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references lifetime `'p`, which is not constrained by the fn input types [INFO] [stdout] --> examples/poll.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | async fn send_and_stop_poll<'p>(api: Api, poll: SendPoll<'p, 'p, 'p>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `telegram_bot` [INFO] [stdout] --> examples/live_location.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use telegram_bot::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `telegram_bot` [INFO] [stdout] --> examples/get_me.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use telegram_bot::{Api, Error, GetMe}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `telegram_bot` [INFO] [stdout] --> examples/send.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use telegram_bot::{Api, Error, InputFileRef, InputFileUpload, Message, MessageKind, UpdateKind}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `telegram_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/tracing.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Error; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Api` [INFO] [stdout] --> examples/tracing.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let api = Api::new(token); [INFO] [stdout] | ^^^ use of undeclared type `Api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::Api; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateKind` [INFO] [stdout] --> examples/tracing.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::UpdateKind; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::UpdateKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageKind` [INFO] [stdout] --> examples/tracing.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | if let MessageKind::Text { ref data, .. } = message.kind { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::MessageKind; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::MessageKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/simple.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Error; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Api` [INFO] [stdout] --> examples/simple.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let api = Api::new(token); [INFO] [stdout] | ^^^ use of undeclared type `Api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::Api; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateKind` [INFO] [stdout] --> examples/simple.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::UpdateKind; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::UpdateKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageKind` [INFO] [stdout] --> examples/simple.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | if let MessageKind::Text { ref data, .. } = message.kind { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::MessageKind; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::MessageKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0581. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pw-telegram-bot-fork` (example "get_me") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Api` in this scope [INFO] [stdout] --> examples/pin.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | async fn process(api: Api, message: Message) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::Api; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/pin.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | async fn process(api: Api, message: Message) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::Message; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/pin.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | async fn process(api: Api, message: Message) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Error; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageKind` [INFO] [stdout] --> examples/pin.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | if let MessageKind::Text { ref data, .. } = message.kind { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::MessageKind; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::MessageKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/pin.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Error; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Api` [INFO] [stdout] --> examples/pin.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | let api = Api::new(token); [INFO] [stdout] | ^^^ use of undeclared type `Api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::Api; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateKind` [INFO] [stdout] --> examples/pin.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::UpdateKind; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::UpdateKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pw-telegram-bot-fork` (example "send") due to 3 previous errors [INFO] [stderr] error: could not compile `pw-telegram-bot-fork` (example "poll") due to 4 previous errors [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Api` [INFO] [stdout] --> examples/errors.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut stream = Api::new(token).stream(); [INFO] [stdout] | ^^^ use of undeclared type `Api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::Api; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Api` in this scope [INFO] [stdout] --> examples/live_location.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | async fn test(api: Api, message: Message) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::Api; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/live_location.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | async fn test(api: Api, message: Message) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::Message; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/live_location.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | async fn test(api: Api, message: Message) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Error; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/live_location.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Error; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pw-telegram-bot-fork` (example "simple") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Api` [INFO] [stdout] --> examples/live_location.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let api = Api::new(token); [INFO] [stdout] | ^^^ use of undeclared type `Api` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::Api; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateKind` [INFO] [stdout] --> examples/live_location.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | if let UpdateKind::Message(message) = update.kind { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::UpdateKind; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::UpdateKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageKind` [INFO] [stdout] --> examples/live_location.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if let MessageKind::Text { ref data, .. } = message.kind { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_fork::MessageKind; [INFO] [stdout] | [INFO] [stdout] 1 + use pw_telegram_bot_raw_fork::MessageKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pw-telegram-bot-fork` (example "tracing") due to 6 previous errors [INFO] [stderr] error: could not compile `pw-telegram-bot-fork` (example "pin") due to 9 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pw-telegram-bot-fork` (example "errors") due to 3 previous errors [INFO] [stderr] error: could not compile `pw-telegram-bot-fork` (example "features") due to 3 previous errors [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pw-telegram-bot-fork` (example "live_location") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "425da8c67343d9f28d211a8db1c5b8d42d3dadf35f1fca7f80500f9ac7a3bd4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "425da8c67343d9f28d211a8db1c5b8d42d3dadf35f1fca7f80500f9ac7a3bd4b", kill_on_drop: false }` [INFO] [stdout] 425da8c67343d9f28d211a8db1c5b8d42d3dadf35f1fca7f80500f9ac7a3bd4b [INFO] checking pw-telegram-bot-fork-0.9.2 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate pw-telegram-bot-fork 0.9.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate pw-telegram-bot-fork 0.9.2 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pw-telegram-bot-fork 0.9.2 [INFO] finished tweaking crates.io crate pw-telegram-bot-fork 0.9.2 [INFO] tweaked toml for crates.io crate pw-telegram-bot-fork 0.9.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate pw-telegram-bot-fork 0.9.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91a734ef33ef4ae11d0569e56df5c2bda32d138573d9c216d9140e7b7a24f90f [INFO] running `Command { std: "docker" "start" "-a" "91a734ef33ef4ae11d0569e56df5c2bda32d138573d9c216d9140e7b7a24f90f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91a734ef33ef4ae11d0569e56df5c2bda32d138573d9c216d9140e7b7a24f90f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a734ef33ef4ae11d0569e56df5c2bda32d138573d9c216d9140e7b7a24f90f", kill_on_drop: false }` [INFO] [stdout] 91a734ef33ef4ae11d0569e56df5c2bda32d138573d9c216d9140e7b7a24f90f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06d5331ac07e13d7837be0a5d494688a593764df4748fc69d1c17a8d1c24872f [INFO] running `Command { std: "docker" "start" "-a" "06d5331ac07e13d7837be0a5d494688a593764df4748fc69d1c17a8d1c24872f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "06d5331ac07e13d7837be0a5d494688a593764df4748fc69d1c17a8d1c24872f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d5331ac07e13d7837be0a5d494688a593764df4748fc69d1c17a8d1c24872f", kill_on_drop: false }` [INFO] [stdout] 06d5331ac07e13d7837be0a5d494688a593764df4748fc69d1c17a8d1c24872f