[INFO] cloning repository https://github.com/smolkov/msgbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smolkov/msgbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolkov%2Fmsgbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolkov%2Fmsgbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8554247f00e29da6d8bb1a59ab8731b3e3700a71 [INFO] checking smolkov/msgbot against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolkov%2Fmsgbot" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smolkov/msgbot on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/smolkov/msgbot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] error: the lock file /workspace/builds/worker-0/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/telegram-rs/telegram-bot` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 708fca6d7227cc4644ffe2c8525559c91c6a9715e9f5a757df0f9306752fd293 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "708fca6d7227cc4644ffe2c8525559c91c6a9715e9f5a757df0f9306752fd293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "708fca6d7227cc4644ffe2c8525559c91c6a9715e9f5a757df0f9306752fd293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708fca6d7227cc4644ffe2c8525559c91c6a9715e9f5a757df0f9306752fd293", kill_on_drop: false }` [INFO] [stdout] 708fca6d7227cc4644ffe2c8525559c91c6a9715e9f5a757df0f9306752fd293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efd4a39f154bc05e85db7e3f4b829629b40f1abdf1b413bcb957cda61aa4d14f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "efd4a39f154bc05e85db7e3f4b829629b40f1abdf1b413bcb957cda61aa4d14f", kill_on_drop: false }` [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] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Compiling sysinfo v0.9.6 [INFO] [stderr] Checking atomic-shim v0.1.0 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.15 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rust-embed-utils v5.0.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking quanta v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking mio v0.7.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking systemstat v0.1.5 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Checking os_type v2.2.0 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling async-log-attributes v1.0.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking async-log v1.1.0 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking clap_flags v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Compiling rust-embed-impl v5.6.0 [INFO] [stderr] Checking rust-embed v5.6.0 [INFO] [stderr] Checking paw v1.0.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking structopt v0.3.17 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking telegram-bot-raw v0.7.0 (https://github.com/telegram-rs/telegram-bot#ae696eae) [INFO] [stderr] Checking femme v1.3.0 [INFO] [stderr] Checking human-panic v1.0.3 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking telegram-bot v0.7.0 (https://github.com/telegram-rs/telegram-bot#ae696eae) [INFO] [stderr] Checking msgbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tokio::timer` [INFO] [stdout] --> src/cmd.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::timer::delay; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/cmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/cmd.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateKind` [INFO] [stdout] --> src/cmd.rs:6:65 [INFO] [stdout] | [INFO] [stdout] 6 | use telegram_bot::{Api, Error, Message, MessageKind, ParseMode, UpdateKind}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut sys = System::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/cmd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stdout] error[E0432]: unresolved import `tokio::timer` [INFO] [stdout] --> src/cmd.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::timer::delay; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/cmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/cmd.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateKind` [INFO] [stdout] --> src/cmd.rs:6:65 [INFO] [stdout] | [INFO] [stdout] 6 | use telegram_bot::{Api, Error, Message, MessageKind, ParseMode, UpdateKind}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut sys = System::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/cmd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "efd4a39f154bc05e85db7e3f4b829629b40f1abdf1b413bcb957cda61aa4d14f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efd4a39f154bc05e85db7e3f4b829629b40f1abdf1b413bcb957cda61aa4d14f", kill_on_drop: false }` [INFO] [stdout] efd4a39f154bc05e85db7e3f4b829629b40f1abdf1b413bcb957cda61aa4d14f