[INFO] cloning repository aleksandrpak/telegram_bots [INFO] running `"git" "clone" "--bare" "git://github.com/aleksandrpak/telegram_bots.git" "work/cache/sources/gh/aleksandrpak/telegram_bots"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/aleksandrpak/telegram_bots'... [INFO] running `"git" "clone" "work/cache/sources/gh/aleksandrpak/telegram_bots" "work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/aleksandrpak/telegram_bots"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/aleksandrpak/telegram_bots'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/aleksandrpak/telegram_bots" "work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/aleksandrpak/telegram_bots"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/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#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of aleksandrpak/telegram_bots on toolchain try#8f81d0bf6baf07b92f1246696722485c4ca0b049 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-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-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/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-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/aleksandrpak/telegram_bots/Cargo.toml [INFO] crate aleksandrpak/telegram_bots already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/ec2-user/crater/work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/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/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking aleksandrpak/telegram_bots against master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 for pr-62008 [INFO] running `"docker" "create" "-v" "/mnt/big/ec2-user/crater/work/local/target-dirs/pr-62008/worker-1/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1:/opt/crater/target:rw,Z" "-v" "/mnt/big/ec2-user/crater/work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/aleksandrpak/telegram_bots:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/ec2-user/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" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] cceb4ac6acbd2c0f9dcbdba575381ee86a13f5c17f39ff018660fa78f3aae090 [INFO] running `"docker" "start" "-a" "cceb4ac6acbd2c0f9dcbdba575381ee86a13f5c17f39ff018660fa78f3aae090"` [INFO] [stderr] Checking error-chain v0.11.0 [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" "cceb4ac6acbd2c0f9dcbdba575381ee86a13f5c17f39ff018660fa78f3aae090"` [INFO] running `"docker" "rm" "-f" "cceb4ac6acbd2c0f9dcbdba575381ee86a13f5c17f39ff018660fa78f3aae090"` [INFO] [stdout] cceb4ac6acbd2c0f9dcbdba575381ee86a13f5c17f39ff018660fa78f3aae090