[INFO] fetching crate telegrambot 0.1.3... [INFO] checking telegrambot-0.1.3 against beta for pr-78714 [INFO] extracting crate telegrambot 0.1.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate telegrambot 0.1.3 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate telegrambot 0.1.3 [INFO] finished tweaking crates.io crate telegrambot 0.1.3 [INFO] tweaked toml for crates.io crate telegrambot 0.1.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e5daba5fbdf4fc42504c51b3f2b5b0ef5bdaac442fcf9ca1658bd9b458b575b [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" "8e5daba5fbdf4fc42504c51b3f2b5b0ef5bdaac442fcf9ca1658bd9b458b575b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e5daba5fbdf4fc42504c51b3f2b5b0ef5bdaac442fcf9ca1658bd9b458b575b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5daba5fbdf4fc42504c51b3f2b5b0ef5bdaac442fcf9ca1658bd9b458b575b", kill_on_drop: false }` [INFO] [stdout] 8e5daba5fbdf4fc42504c51b3f2b5b0ef5bdaac442fcf9ca1658bd9b458b575b [INFO] running `Command { std: "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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f65b3e83b9c330e7ae172fe8cc618a601dbff0fccacca253158ef72fdcf639db [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" "f65b3e83b9c330e7ae172fe8cc618a601dbff0fccacca253158ef72fdcf639db", kill_on_drop: false }` [INFO] [stderr] Checking error-chain-mini v0.2.0 [INFO] [stderr] Checking text-reader v0.1.1 [INFO] [stderr] Checking rstring-builder v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking slog-term v2.6.0 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Compiling synstructure v0.8.1 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Compiling error-chain-mini-derive v0.2.0 [INFO] [stderr] Checking telegrambot v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(inner: Box + Send>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tgfut.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(inner: Box + Send>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SendMessage` [INFO] [stdout] --> examples/pin.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use telegrambot::api::{SendMessage, PinChatMessage, UnpinChatMessage}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `telegrambot::vision::VMessageChat` [INFO] [stdout] --> examples/pin.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use telegrambot::vision::VMessageChat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PinChatMessage`, `UnpinChatMessage` [INFO] [stdout] --> examples/series.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use telegrambot::api::{GetFile, PinChatMessage, SendMessage, UnpinChatMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `telegrambot::vision::VMessageChat` [INFO] [stdout] --> examples/series.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use telegrambot::vision::VMessageChat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BotApi` [INFO] [stdout] --> examples/tbot.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use telegrambot::api::{BotApi, GetFile, SendMessage}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhotoSize` [INFO] [stdout] --> examples/tbot.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use telegrambot::types::{ParseMode, PhotoSize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `config` [INFO] [stdout] --> examples/config.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::env; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use telegrambot::config::Config; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 10 | | .unwrap() [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/config.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `telegrambot` [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] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | .on_incoming(|(api, ic)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | .on_text(|(api, vtex)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | .on_photo(|(api, pho)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | .on_document(|(api, doc)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | .on_callback_query(|(api, cq)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api` [INFO] [stdout] --> examples/tbot.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | .on_command("/start", |(api, cmd)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/tbot.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|(a, b)| {}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> examples/tbot.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|(a, b)| {}) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/tbot.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | .map_err(|e| {})); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f65b3e83b9c330e7ae172fe8cc618a601dbff0fccacca253158ef72fdcf639db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f65b3e83b9c330e7ae172fe8cc618a601dbff0fccacca253158ef72fdcf639db", kill_on_drop: false }` [INFO] [stdout] f65b3e83b9c330e7ae172fe8cc618a601dbff0fccacca253158ef72fdcf639db