[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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/aleksandrpak/telegram_bots"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/aleksandrpak/telegram_bots'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/aleksandrpak/telegram_bots" "work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/aleksandrpak/telegram_bots"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/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#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of aleksandrpak/telegram_bots on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/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-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/aleksandrpak/telegram_bots/Cargo.toml [INFO] crate aleksandrpak/telegram_bots already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/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/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking aleksandrpak/telegram_bots against try#58b21121d0b447ceb3f1a655155d802191acf044 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-0/try#58b21121d0b447ceb3f1a655155d802191acf044:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/aleksandrpak/telegram_bots:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 4debb90b7bba4e0c5e7b0f972285d53c42253b27f0ed51448c52d84f25f71825 [INFO] running `"docker" "start" "-a" "4debb90b7bba4e0c5e7b0f972285d53c42253b27f0ed51448c52d84f25f71825"` [INFO] [stderr] Checking telegram-bot-raw v0.6.1 [INFO] [stderr] Checking telegram-bot v0.6.1 [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" "4debb90b7bba4e0c5e7b0f972285d53c42253b27f0ed51448c52d84f25f71825"` [INFO] running `"docker" "rm" "-f" "4debb90b7bba4e0c5e7b0f972285d53c42253b27f0ed51448c52d84f25f71825"` [INFO] [stdout] 4debb90b7bba4e0c5e7b0f972285d53c42253b27f0ed51448c52d84f25f71825