[INFO] updating cached repository https://github.com/devroom-org/bot [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] 85e5dcd4b54bb1941a43b7adc2e762e0110c4d36 [INFO] checking devroom-org/bot against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevroom-org%2Fbot" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devroom-org/bot on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/devroom-org/bot [INFO] finished tweaking git repo https://github.com/devroom-org/bot [INFO] tweaked toml for git repo https://github.com/devroom-org/bot written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/devroom-org/bot already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/telegram-rs/telegram-bot.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ce0398d4cc5e95c0a9fe6ede1b31240378038a0a882f236d98abaaf9b4bddde4 [INFO] running `"docker" "start" "-a" "ce0398d4cc5e95c0a9fe6ede1b31240378038a0a882f236d98abaaf9b4bddde4"` [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking futures-core v0.3.3 [INFO] [stderr] Checking futures-sink v0.3.3 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking tracing-core v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking futures-channel v0.3.3 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking openssl-sys v0.9.54 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking openssl v0.10.28 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking native-tls v0.2.3 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling tracing-attributes v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.3 [INFO] [stderr] Checking tracing v0.1.12 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking tracing-futures v0.2.1 [INFO] [stderr] Checking futures-util v0.3.3 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking futures-executor v0.3.3 [INFO] [stderr] Checking futures v0.3.3 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking serde_json v1.0.46 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking telegram-bot-raw v0.7.0 (https://github.com/telegram-rs/telegram-bot.git#8e363c51) [INFO] [stderr] Checking telegram-bot v0.7.0 (https://github.com/telegram-rs/telegram-bot.git#8e363c51) [INFO] [stderr] Checking devroom_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0599]: no function or associated item named `configure` found for struct `telegram_bot::Api` in the current scope [INFO] [stderr] --> src/main.rs:44:20 [INFO] [stderr] | [INFO] [stderr] 44 | let api = Api::configure(token).build(core.handle()).unwrap(); [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `telegram_bot::Api` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `configure` found for struct `telegram_bot::Api` in the current scope [INFO] [stderr] --> src/main.rs:44:20 [INFO] [stderr] | [INFO] [stderr] 44 | let api = Api::configure(token).build(core.handle()).unwrap(); [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `telegram_bot::Api` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for opaque type `impl std::marker::Send+std::future::Future` in the current scope [INFO] [stderr] --> src/bot.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | future.map_err(|_| ()).map(|_| ()) [INFO] [stderr] | ^^^^^^^ method not found in `impl std::marker::Send+std::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut impl std::marker::Send+std::future::Future : futures::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::try_future::TryFutureExt;` [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Future` [INFO] [stderr] --> src/bot.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use futures::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Stream` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use futures::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [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 `devroom_bot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `map_err` found for opaque type `impl std::marker::Send+std::future::Future` in the current scope [INFO] [stderr] --> src/bot.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | future.map_err(|_| ()).map(|_| ()) [INFO] [stderr] | ^^^^^^^ method not found in `impl std::marker::Send+std::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut impl std::marker::Send+std::future::Future : futures::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::try_future::TryFutureExt;` [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Future` [INFO] [stderr] --> src/bot.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use futures::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Stream` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use futures::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [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 `devroom_bot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ce0398d4cc5e95c0a9fe6ede1b31240378038a0a882f236d98abaaf9b4bddde4"` [INFO] running `"docker" "rm" "-f" "ce0398d4cc5e95c0a9fe6ede1b31240378038a0a882f236d98abaaf9b4bddde4"` [INFO] [stdout] ce0398d4cc5e95c0a9fe6ede1b31240378038a0a882f236d98abaaf9b4bddde4