[INFO] updating cached repository aleksandrpak/telegram_bots [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/aleksandrpak/telegram_bots [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/aleksandrpak/telegram_bots" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/aleksandrpak/telegram_bots"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/aleksandrpak/telegram_bots'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/aleksandrpak/telegram_bots" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/aleksandrpak/telegram_bots"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/aleksandrpak/telegram_bots'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7487a81279e3890a746ef292968a8131ff7f3537 [INFO] sha for GitHub repo aleksandrpak/telegram_bots: 7487a81279e3890a746ef292968a8131ff7f3537 [INFO] validating manifest of aleksandrpak/telegram_bots on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of aleksandrpak/telegram_bots on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing aleksandrpak/telegram_bots [INFO] finished frobbing aleksandrpak/telegram_bots [INFO] frobbed toml for aleksandrpak/telegram_bots written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/aleksandrpak/telegram_bots/Cargo.toml [INFO] started frobbing aleksandrpak/telegram_bots [INFO] finished frobbing aleksandrpak/telegram_bots [INFO] frobbed toml for aleksandrpak/telegram_bots written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/aleksandrpak/telegram_bots/Cargo.toml [INFO] crate aleksandrpak/telegram_bots already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/aleksandrpak/telegram_bots/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking aleksandrpak/telegram_bots against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-1/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/aleksandrpak/telegram_bots:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 20811f47b230b6e9e406c592c273fd93588462fab03b181bb52a494ce7427ad1 [INFO] running `"docker" "start" "-a" "20811f47b230b6e9e406c592c273fd93588462fab03b181bb52a494ce7427ad1"` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking openssl v0.10.24 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hyper v0.12.33 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking serde v1.0.98 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking telegram-bot-raw v0.6.3 [INFO] [stderr] Checking telegram-bot v0.6.3 [INFO] [stderr] Checking telegram_bots v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ListeningMethod` [INFO] [stderr] --> src/main.rs:7:37 [INFO] [stderr] | [INFO] [stderr] 7 | let mut listener = api.listener(ListeningMethod::LongPoll(None)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ListeningMethod` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MessageType` [INFO] [stderr] --> src/main.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | MessageType::Text(t) => { [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `MessageType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ListeningAction` [INFO] [stderr] --> src/main.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | Ok(ListeningAction::Continue) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ListeningAction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ListeningMethod` [INFO] [stderr] --> src/main.rs:7:37 [INFO] [stderr] | [INFO] [stderr] 7 | let mut listener = api.listener(ListeningMethod::LongPoll(None)); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ListeningMethod` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MessageType` [INFO] [stderr] --> src/main.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | MessageType::Text(t) => { [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `MessageType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ListeningAction` [INFO] [stderr] --> src/main.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | Ok(ListeningAction::Continue) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ListeningAction` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_env` found for type `telegram_bot::Api` in the current scope [INFO] [stderr] --> src/main.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | let api = Api::from_env("TELEGRAM_BOT_TOKEN").unwrap(); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `telegram_bot::Api` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error: Could not compile `telegram_bots`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no function or associated item named `from_env` found for type `telegram_bot::Api` in the current scope [INFO] [stderr] --> src/main.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | let api = Api::from_env("TELEGRAM_BOT_TOKEN").unwrap(); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `telegram_bot::Api` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error: Could not compile `telegram_bots`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "20811f47b230b6e9e406c592c273fd93588462fab03b181bb52a494ce7427ad1"` [INFO] running `"docker" "rm" "-f" "20811f47b230b6e9e406c592c273fd93588462fab03b181bb52a494ce7427ad1"` [INFO] [stdout] 20811f47b230b6e9e406c592c273fd93588462fab03b181bb52a494ce7427ad1