[INFO] updating cached repository https://github.com/smolkov/msgbot [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8554247f00e29da6d8bb1a59ab8731b3e3700a71 [INFO] testing smolkov/msgbot against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolkov%2Fmsgbot" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smolkov/msgbot on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/smolkov/msgbot [INFO] removed path dependency mio from git repo https://github.com/smolkov/msgbot [INFO] finished tweaking git repo https://github.com/smolkov/msgbot [INFO] tweaked toml for git repo https://github.com/smolkov/msgbot written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/smolkov/msgbot already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (mio) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/telegram-rs/telegram-bot` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (mio) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f79500543cca77fa21d8987b53399374050688d466b52b0bee152009006845ad [INFO] running `"docker" "start" "-a" "f79500543cca77fa21d8987b53399374050688d466b52b0bee152009006845ad"` [INFO] [stderr] warning: dependency (mio) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling sysinfo v0.9.6 [INFO] [stderr] Compiling bytesize v1.0.0 [INFO] [stderr] Compiling paw-raw v1.0.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rust-embed-utils v5.0.0 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling quanta v0.3.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling os_type v2.2.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling systemstat v0.1.5 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling async-log-attributes v1.0.1 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling rust-embed-impl v5.5.1 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling async-log v1.1.0 [INFO] [stderr] Compiling paw v1.0.0 [INFO] [stderr] Compiling rust-embed v5.5.1 [INFO] [stderr] Compiling clap_flags v0.4.0 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling tracing v0.1.13 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling telegram-bot-raw v0.7.0 (https://github.com/telegram-rs/telegram-bot#517d6509) [INFO] [stderr] Compiling femme v1.3.0 [INFO] [stderr] Compiling human-panic v1.0.3 [INFO] [stderr] Compiling telegram-bot v0.7.0 (https://github.com/telegram-rs/telegram-bot#517d6509) [INFO] [stderr] Compiling msgbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `tokio::timer` [INFO] [stderr] --> src/cmd.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio::timer::delay; [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/cmd.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration`, `Instant` [INFO] [stderr] --> src/cmd.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UpdateKind` [INFO] [stderr] --> src/cmd.rs:6:65 [INFO] [stderr] | [INFO] [stderr] 6 | use telegram_bot::{Api, Error, Message, MessageKind, ParseMode, UpdateKind}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/state.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let mut sys = System::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::StreamExt` [INFO] [stderr] --> src/cmd.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `msgbot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "f79500543cca77fa21d8987b53399374050688d466b52b0bee152009006845ad"` [INFO] running `"docker" "rm" "-f" "f79500543cca77fa21d8987b53399374050688d466b52b0bee152009006845ad"` [INFO] [stdout] f79500543cca77fa21d8987b53399374050688d466b52b0bee152009006845ad