[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/beta-1.38-1/sources/1.37.0/gh/aleksandrpak/telegram_bots"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/aleksandrpak/telegram_bots'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/aleksandrpak/telegram_bots" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/aleksandrpak/telegram_bots"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of aleksandrpak/telegram_bots on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing aleksandrpak/telegram_bots against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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=warn" "-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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 3c491a5a1a6e62b4baed588adcc37c058e229e57b6d1ab351dd1076213a42419 [INFO] running `"docker" "start" "-a" "3c491a5a1a6e62b4baed588adcc37c058e229e57b6d1ab351dd1076213a42419"` [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling telegram-bot-raw v0.6.3 [INFO] [stderr] Compiling telegram-bot v0.6.3 [INFO] [stderr] Compiling 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[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" "3c491a5a1a6e62b4baed588adcc37c058e229e57b6d1ab351dd1076213a42419"` [INFO] running `"docker" "rm" "-f" "3c491a5a1a6e62b4baed588adcc37c058e229e57b6d1ab351dd1076213a42419"` [INFO] [stdout] 3c491a5a1a6e62b4baed588adcc37c058e229e57b6d1ab351dd1076213a42419