[INFO] cloning repository https://github.com/acdenisSK/kitty-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acdenisSK/kitty-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FacdenisSK%2Fkitty-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FacdenisSK%2Fkitty-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de1ae591ac28347ad478b069d19622c5dfa5ea12 [INFO] testing acdenisSK/kitty-rs against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FacdenisSK%2Fkitty-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acdenisSK/kitty-rs on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/acdenisSK/kitty-rs [INFO] removed path dependency serenity from git repo https://github.com/acdenisSK/kitty-rs [INFO] finished tweaking git repo https://github.com/acdenisSK/kitty-rs [INFO] tweaked toml for git repo https://github.com/acdenisSK/kitty-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/acdenisSK/kitty-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serenity) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serenity) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb0221e48a91bf2118445fde3e950c47955b5989400e5c3ef5170801d228488a [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" "bb0221e48a91bf2118445fde3e950c47955b5989400e5c3ef5170801d228488a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb0221e48a91bf2118445fde3e950c47955b5989400e5c3ef5170801d228488a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0221e48a91bf2118445fde3e950c47955b5989400e5c3ef5170801d228488a", kill_on_drop: false }` [INFO] [stdout] bb0221e48a91bf2118445fde3e950c47955b5989400e5c3ef5170801d228488a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5de9901b3f234c6602a5d4bf693fbf44881af712fe1e94e8d05fbd5184f04487 [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" "5de9901b3f234c6602a5d4bf693fbf44881af712fe1e94e8d05fbd5184f04487", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serenity) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serenity v0.8.6 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling rustls v0.18.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling command_attr v0.2.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.0 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.7 [INFO] [stderr] Compiling kitty-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `fn` [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | async fn my_help( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `fn` [INFO] [stdout] --> src/commands/force.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn force(ctx: &Context, msg: &Message) -> CommandResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `fn` [INFO] [stdout] --> src/commands/today.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn today(ctx: &Context, msg: &Message) -> CommandResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `fn` [INFO] [stdout] --> src/commands/avatar_url.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn avatar_url(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `fn` [INFO] [stdout] --> src/commands/sort.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn sort(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `fn` [INFO] [stdout] --> src/commands/info.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn info(ctx: &Context, msg: &Message) -> CommandResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `fn` [INFO] [stdout] --> src/commands/ping.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn ping(ctx: &Context, msg: &Message) -> CommandResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn ready(&self, ctx: Context, _: Ready) { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 28 | | ctx.set_activity(Activity::playing("charades")).await; [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | info!("Running!"); [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serenity::async_trait` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serenity::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `async_trait` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `hook` in this scope [INFO] [stdout] --> src/main.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | .unrecognised_command(#[hook] async |_ctx, msg, cmd| { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `hook` in this scope [INFO] [stdout] --> src/main.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[hook] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `hook` in this scope [INFO] [stdout] --> src/main.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[hook] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait` [INFO] [stdout] --> src/main.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `fs` in `tokio` [INFO] [stdout] --> src/main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let config = tokio::fs::read_to_string("config.json").await?; [INFO] [stdout] | ^^ could not find `fs` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PING_COMMAND` in this scope [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[group("Modern-Major General")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFO_COMMAND` in this scope [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[group("Modern-Major General")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SORT_COMMAND` in this scope [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[group("Modern-Major General")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TODAY_COMMAND` in this scope [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[group("Modern-Major General")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AVATAR_URL_COMMAND` in this scope [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[group("Modern-Major General")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORCE_COMMAND` in this scope [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[group("Modern-Major General")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MY_HELP` in this scope [INFO] [stdout] --> src/main.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | .help(&MY_HELP) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(stmt_expr_attributes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(proc_macro_hygiene)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0708]: `async` non-`move` closures with parameters are not currently supported [INFO] [stdout] --> src/main.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | .unrecognised_command(#[hook] async |_ctx, msg, cmd| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using `let` statements to manually capture variables by reference before entering an `async move` closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args`, `CommandResult` [INFO] [stdout] --> src/commands/avatar_url.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::framework::standard::{Args, CommandResult}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/commands/today.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::framework::standard::help_commands::with_embeds` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serenity::framework::standard::help_commands::with_embeds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `commands::*` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use commands::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_string` found for struct `serenity::framework::standard::CommandError` in the current scope [INFO] [stdout] --> src/main.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let err = err.to_string(); [INFO] [stdout] | ^^^^^^^^^ method not found in `serenity::framework::standard::CommandError` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serenity-0.8.6/src/framework/standard/structures/mod.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct CommandError(pub String); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: std::fmt::Display` [INFO] [stdout] | doesn't satisfy `_: std::string::ToString` [INFO] [stdout] | [INFO] [stdout] = note: the method `to_string` exists but the following trait bounds were not satisfied: [INFO] [stdout] `serenity::framework::standard::CommandError: std::fmt::Display` [INFO] [stdout] which is required by `serenity::framework::standard::CommandError: std::string::ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/main.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let _ = msg.channel_id.say(&ctx.http, without_user).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::result::Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::result::Result` is not a future [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let _ = msg.channel_id.say(&ctx.http, format!("{:?}", reason)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::result::Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `ready` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn ready(&self, ctx: Context, _: Ready) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the `Output` of this `async fn`'s found opaque type [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&Handler, serenity::prelude::Context, serenity::model::gateway::Ready)` [INFO] [stdout] found fn pointer `fn(&Handler, serenity::prelude::Context, serenity::model::gateway::Ready) -> impl std::future::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ctx.set_activity(Activity::playing("charades")).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `()` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `user` found for struct `serenity::cache::CacheRwLock` in the current scope [INFO] [stdout] --> src/commands/avatar_url.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | match ctx.cache.user(id).await { [INFO] [stdout] | ^^^^ method not found in `serenity::cache::CacheRwLock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `guilds` found for struct `serenity::cache::CacheRwLock` in the current scope [INFO] [stdout] --> src/commands/avatar_url.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let guilds = ctx.cache.guilds().await; [INFO] [stdout] | ^^^^^^ method not found in `serenity::cache::CacheRwLock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `guild` found for struct `serenity::cache::CacheRwLock` in the current scope [INFO] [stdout] --> src/commands/avatar_url.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | let guild = ctx.cache.guild(id).await.unwrap(); [INFO] [stdout] | ^^^^^ method not found in `serenity::cache::CacheRwLock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let config = tokio::fs::read_to_string("config.json").await?; [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | let config = tokio::fs::read_to_string("config.json").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:89:64 [INFO] [stdout] | [INFO] [stdout] 89 | let config = tokio::fs::read_to_string("config.json").await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required by `_::_serde::export::Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 52 | async fn dispatch_error(ctx: &Context, msg: &Message, error: DispatchError) { [INFO] [stdout] | --------------------------------------------------------------------------- found signature of `for<'_, '_> fn(&serenity::prelude::Context, &serenity::model::channel::Message, serenity::framework::standard::DispatchError) -> _` [INFO] [stdout] ... [INFO] [stdout] 94 | .on_dispatch_error(dispatch_error) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected signature of `for<'r, 's> fn(&'r mut serenity::prelude::Context, &'s serenity::model::channel::Message, serenity::framework::standard::DispatchError) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | .unrecognised_command(#[hook] async |_ctx, msg, cmd| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found opaque type `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 62 | async fn after(ctx: &Context, msg: &Message, command: &str, error: CommandResult) { [INFO] [stdout] | --------------------------------------------------------------------------------- found signature of `for<'_, '_, '_> fn(&serenity::prelude::Context, &serenity::model::channel::Message, &str, std::result::Result<(), serenity::framework::standard::CommandError>) -> _` [INFO] [stdout] ... [INFO] [stdout] 105 | .after(after) [INFO] [stdout] | ^^^^^ expected signature of `for<'r, 's, 't0> fn(&'r mut serenity::prelude::Context, &'s serenity::model::channel::Message, &'t0 str, std::result::Result<(), serenity::framework::standard::CommandError>) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client = Client::new(token) [INFO] [stdout] | ^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `event_handler` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | .event_handler(Handler) [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0061, E0277, E0308, E0425, E0432, E0433, E0554, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kitty-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5de9901b3f234c6602a5d4bf693fbf44881af712fe1e94e8d05fbd5184f04487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de9901b3f234c6602a5d4bf693fbf44881af712fe1e94e8d05fbd5184f04487", kill_on_drop: false }` [INFO] [stdout] 5de9901b3f234c6602a5d4bf693fbf44881af712fe1e94e8d05fbd5184f04487