[INFO] cloning repository https://github.com/devroom-org/bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devroom-org/bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevroom-org%2Fbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevroom-org%2Fbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85e5dcd4b54bb1941a43b7adc2e762e0110c4d36 [INFO] checking devroom-org/bot against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevroom-org%2Fbot" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devroom-org/bot on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/devroom-org/bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/telegram-rs/telegram-bot.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v2.1.1 [INFO] [stderr] Downloaded mio v0.7.10 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8d430d0d9de2c6bf623bec95c2ab134daec41f3c194bf219b7117164845e050 [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" "d8d430d0d9de2c6bf623bec95c2ab134daec41f3c194bf219b7117164845e050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8d430d0d9de2c6bf623bec95c2ab134daec41f3c194bf219b7117164845e050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d430d0d9de2c6bf623bec95c2ab134daec41f3c194bf219b7117164845e050", kill_on_drop: false }` [INFO] [stdout] d8d430d0d9de2c6bf623bec95c2ab134daec41f3c194bf219b7117164845e050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d48887b8eee0e8915160e80544e7f9bab9811269096178f853da0d3d5c5d8b0d [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" "d48887b8eee0e8915160e80544e7f9bab9811269096178f853da0d3d5c5d8b0d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking maybe-uninit v2.0.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking mio v0.7.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking ordered-float v2.1.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking telegram-bot-raw v0.9.0 (https://github.com/telegram-rs/telegram-bot.git#07a9f9a1) [INFO] [stderr] Checking telegram-bot v0.9.0 (https://github.com/telegram-rs/telegram-bot.git#07a9f9a1) [INFO] [stderr] Checking devroom_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `configure` found for struct `Api` in the current scope [INFO] [stdout] --> src/main.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let api = Api::configure(token).build(core.handle()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for opaque type `impl std::future::Future+std::marker::Send`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bot.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | future.map_err(|_| ()).map(|_| ()) [INFO] [stdout] | ^^^^^^^ method cannot be called on `impl std::future::Future+std::marker::Send` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl std::future::Future+std::marker::Send: futures::Future` [INFO] [stdout] which is required by `&mut impl std::future::Future+std::marker::Send: futures::Future` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use futures_util::future::try_future::TryFutureExt;` [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 31 | future.await.map_err(|_| ()).map(|_| ()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/bot.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Stream` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `devroom_bot` [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[E0599]: no function or associated item named `configure` found for struct `Api` in the current scope [INFO] [stdout] --> src/main.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let api = Api::configure(token).build(core.handle()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for opaque type `impl std::future::Future+std::marker::Send`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bot.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | future.map_err(|_| ()).map(|_| ()) [INFO] [stdout] | ^^^^^^^ method cannot be called on `impl std::future::Future+std::marker::Send` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl std::future::Future+std::marker::Send: futures::Future` [INFO] [stdout] which is required by `&mut impl std::future::Future+std::marker::Send: futures::Future` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use futures_util::future::try_future::TryFutureExt;` [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 31 | future.await.map_err(|_| ()).map(|_| ()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/bot.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Stream` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d48887b8eee0e8915160e80544e7f9bab9811269096178f853da0d3d5c5d8b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48887b8eee0e8915160e80544e7f9bab9811269096178f853da0d3d5c5d8b0d", kill_on_drop: false }` [INFO] [stdout] d48887b8eee0e8915160e80544e7f9bab9811269096178f853da0d3d5c5d8b0d