[INFO] fetching crate tbot 0.2.1... [INFO] checking tbot-0.2.1 against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] extracting crate tbot 0.2.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tbot 0.2.1 on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tbot 0.2.1 [INFO] finished tweaking crates.io crate tbot 0.2.1 [INFO] tweaked toml for crates.io crate tbot 0.2.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate tbot 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 94989f9ec28de21de451195133084c0a2ceceaf71a8053d89e897a11b6b125cd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "94989f9ec28de21de451195133084c0a2ceceaf71a8053d89e897a11b6b125cd"` [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-udp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking tbot v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/payment.rs:32:19 [INFO] [stderr] | [INFO] [stderr] 32 | let mut bot = tbot::bot!("BOT_TOKEN").event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> examples/payment.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | prelude::*, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/webhook.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | let mut bot = tbot::bot!("BOT_TOKEN").event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `tbot::prelude` [INFO] [stderr] --> examples/webhook.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use tbot::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/get_me.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | let bot = tbot::bot!("BOT_TOKEN"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/polls.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | let mut bot = tbot::bot!("BOT_TOKEN").event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `tbot::prelude` [INFO] [stderr] --> examples/polls.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tbot::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/attachments.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | let mut bot = tbot::bot!("BOT_TOKEN").event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/location.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | let mut bot = tbot::bot!("BOT_TOKEN").event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/tutorial.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | let mut bot = tbot::bot!("BOT_TOKEN").event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> examples/attachments.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | prelude::*, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] warning: unused import: `tbot::prelude` [INFO] [stderr] --> examples/location.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tbot::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: compile the example with the `proxy` feature enabled [INFO] [stderr] --> examples/proxy.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | compile_error!("compile the example with the `proxy` feature enabled"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/proxy.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | let mut bot = tbot::bot!("BOT_TOKEN", connector).event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> examples/tutorial.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | prelude::*, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `tbot::connectors::proxy` [INFO] [stderr] --> examples/proxy.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | use tbot::{connectors::proxy::*, prelude::*}; [INFO] [stderr] | ^^^^^ could not find `proxy` in `connectors` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Proxy` [INFO] [stderr] --> examples/proxy.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | let proxy = Proxy::new(Intercept::All, PROXY.parse().unwrap()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Proxy` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Intercept` [INFO] [stderr] --> examples/proxy.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | let proxy = Proxy::new(Intercept::All, PROXY.parse().unwrap()); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Intercept` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `proxy` in module `tbot::connectors` [INFO] [stderr] --> examples/proxy.rs:10:39 [INFO] [stderr] | [INFO] [stderr] 10 | let connector = tbot::connectors::proxy(proxy); [INFO] [stderr] | ^^^^^ not found in `tbot::connectors` [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> examples/proxy.rs:4:34 [INFO] [stderr] | [INFO] [stderr] 4 | use tbot::{connectors::proxy::*, prelude::*}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/download.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | let mut bot = tbot::bot!("BOT_TOKEN").event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/sticker_packs.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | let bot = tbot::bot!("BOT_TOKEN"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `download_file` found for type `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> examples/download.rs:17:21 [INFO] [stderr] | [INFO] [stderr] 17 | bot.download_file(&file).map_err(|err| { [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: bot is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] warning: unused import: `tbot::prelude` [INFO] [stderr] --> examples/download.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tbot::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/game.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 21 | let mut bot = tbot::bot!("BOT_TOKEN").event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: environment variable `BOT_TOKEN` not defined [INFO] [stderr] --> examples/keyboard.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | let mut bot = tbot::bot!("BOT_TOKEN").event_loop(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> examples/game.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | use tbot::{errors, prelude::*}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> examples/keyboard.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | prelude::*, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tbot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "94989f9ec28de21de451195133084c0a2ceceaf71a8053d89e897a11b6b125cd"` [INFO] running `"docker" "rm" "-f" "94989f9ec28de21de451195133084c0a2ceceaf71a8053d89e897a11b6b125cd"` [INFO] [stdout] 94989f9ec28de21de451195133084c0a2ceceaf71a8053d89e897a11b6b125cd