[INFO] cloning repository https://github.com/psychonautwiki/artemis [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psychonautwiki/artemis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsychonautwiki%2Fartemis"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsychonautwiki%2Fartemis'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a932403f04dd01d87d05f56b10da5fa094c6b838 [INFO] testing psychonautwiki/artemis against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsychonautwiki%2Fartemis" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psychonautwiki/artemis on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/psychonautwiki/artemis [INFO] removed path dependency telegram-bot from git repo https://github.com/psychonautwiki/artemis [INFO] removed path dependency telegram-bot-raw from git repo https://github.com/psychonautwiki/artemis [INFO] finished tweaking git repo https://github.com/psychonautwiki/artemis [INFO] tweaked toml for git repo https://github.com/psychonautwiki/artemis written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/psychonautwiki/artemis already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (telegram-bot) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (telegram-bot-raw) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: profile.release.codegen-utis [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (telegram-bot) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (telegram-bot-raw) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: profile.release.codegen-utis [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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 192473aa2d94f6819f08dc241f3b1e6c10b5b482d7d1c56dad211a3e472b674d [INFO] running `"docker" "start" "-a" "192473aa2d94f6819f08dc241f3b1e6c10b5b482d7d1c56dad211a3e472b674d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (telegram-bot) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (telegram-bot-raw) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: profile.release.codegen-utis [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicase v1.4.2 [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] Compiling http v0.2.1 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling tracing v0.1.15 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling telegram-bot-raw v0.7.0 [INFO] [stderr] Compiling telegram-bot v0.7.0 [INFO] [stderr] Compiling p1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `tokio::timer` [INFO] [stderr] --> src/main.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio::timer::delay; [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stderr] --> src/main.rs:332:10 [INFO] [stderr] | [INFO] [stderr] 332 | #[tokio::main] [INFO] [stderr] | ^^^^ could not find `main` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stderr] --> src/main.rs:311:16 [INFO] [stderr] | [INFO] [stderr] 311 | tokio::timer::delay_for( [INFO] [stderr] | ^^^^^ could not find `timer` in `tokio` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Instant` [INFO] [stderr] --> src/main.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use std::time::{Duration, Instant, SystemTime}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:259:32 [INFO] [stderr] | [INFO] [stderr] 259 | user.messages.push(msg.clone()); [INFO] [stderr] | ^^^^^^^^^^^ expected struct `telegram_bot_raw::types::message::Message`, found enum `telegram_bot_raw::types::message::MessageOrChannelPost` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:292:32 [INFO] [stderr] | [INFO] [stderr] 292 | user.messages.push(msg.clone()); [INFO] [stderr] | ^^^^^^^^^^^ expected struct `telegram_bot_raw::types::message::Message`, found enum `telegram_bot_raw::types::message::MessageOrChannelPost` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:325:32 [INFO] [stderr] | [INFO] [stderr] 325 | user.messages.push(msg.clone()); [INFO] [stderr] | ^^^^^^^^^^^ expected struct `telegram_bot_raw::types::message::Message`, found enum `telegram_bot_raw::types::message::MessageOrChannelPost` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for struct `telegram_bot::stream::UpdatesStream` in the current scope [INFO] [stderr] --> src/main.rs:350:37 [INFO] [stderr] | [INFO] [stderr] 350 | while let Some(update) = stream.next().await { [INFO] [stderr] | ^^^^ method not found in `telegram_bot::stream::UpdatesStream` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/telegram-bot-0.7.0/src/stream.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct UpdatesStream { [INFO] [stderr] | ------------------------ [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `_: futures_core::stream::Stream` [INFO] [stderr] | doesn't satisfy `_: futures_util::stream::StreamExt` [INFO] [stderr] | [INFO] [stderr] = note: the method `next` exists but the following trait bounds were not satisfied: [INFO] [stderr] `telegram_bot::stream::UpdatesStream: futures_core::stream::Stream` [INFO] [stderr] which is required by `telegram_bot::stream::UpdatesStream: futures_util::stream::StreamExt` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stderr] | [INFO] [stderr] 1 | use std::iter::Iterator; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::pattern::Searcher; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_util::stream::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] [INFO] [stderr] error[E0277]: `main` has invalid return type `impl core::future::future::Future` [INFO] [stderr] --> src/main.rs:333:20 [INFO] [stderr] | [INFO] [stderr] 333 | async fn main() -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination` [INFO] [stderr] | [INFO] [stderr] = help: consider using `()`, or a `Result` [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::StreamExt` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0752]: `main` function is not allowed to be `async` [INFO] [stderr] --> src/main.rs:333:1 [INFO] [stderr] | [INFO] [stderr] 333 | async fn main() -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `p1`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "192473aa2d94f6819f08dc241f3b1e6c10b5b482d7d1c56dad211a3e472b674d"` [INFO] running `"docker" "rm" "-f" "192473aa2d94f6819f08dc241f3b1e6c10b5b482d7d1c56dad211a3e472b674d"` [INFO] [stdout] 192473aa2d94f6819f08dc241f3b1e6c10b5b482d7d1c56dad211a3e472b674d