[INFO] cloning repository https://github.com/Muirrum/serenity-bot-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Muirrum/serenity-bot-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuirrum%2Fserenity-bot-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuirrum%2Fserenity-bot-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b69d86e5de519fdfca80bd3d7ae291b9e8cf8e3f [INFO] testing Muirrum/serenity-bot-template against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuirrum%2Fserenity-bot-template" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Muirrum/serenity-bot-template on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Muirrum/serenity-bot-template [INFO] finished tweaking git repo https://github.com/Muirrum/serenity-bot-template [INFO] tweaked toml for git repo https://github.com/Muirrum/serenity-bot-template written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Muirrum/serenity-bot-template already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a17e7add997f3d32e6905b6b7c481e0945bb44bda8d7277c72a134a9b716026 [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" "7a17e7add997f3d32e6905b6b7c481e0945bb44bda8d7277c72a134a9b716026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a17e7add997f3d32e6905b6b7c481e0945bb44bda8d7277c72a134a9b716026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a17e7add997f3d32e6905b6b7c481e0945bb44bda8d7277c72a134a9b716026", kill_on_drop: false }` [INFO] [stdout] 7a17e7add997f3d32e6905b6b7c481e0945bb44bda8d7277c72a134a9b716026 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9e1e18edb7d49e55d01156f3964226c0d6494e299daea27e4cbb3b2bbec2528c [INFO] running `Command { std: "docker" "start" "-a" "9e1e18edb7d49e55d01156f3964226c0d6494e299daea27e4cbb3b2bbec2528c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling serenity v0.9.0-rc.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling typemap_rev v0.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling kankyo v0.3.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.15 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.17.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling command_attr v0.3.0-rc.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 futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling async-tls v0.6.0 [INFO] [stderr] Compiling async-tungstenite v0.4.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling serenity-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Activity`, `ChannelId`, `GuildId`, `Guild`, `Member`, `OnlineStatus`, `Reaction`, `User` [INFO] [stdout] --> src/main.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | channel::{Message, Reaction}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | gateway::{Activity, Ready}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | guild::{Guild, Member}, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] 21 | id::{ChannelId, GuildId, UserId}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 22 | user::{OnlineStatus, User}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuildId`, `RoleId` [INFO] [stdout] --> src/checks/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | id::{GuildId, RoleId}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelId`, `GuildId`, `InviteGuild`, `Invite`, `guild::Guild`, `guild::PartialGuild`, `http::GuildPagination` [INFO] [stdout] --> src/commands/general.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | http::GuildPagination, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | model::{ [INFO] [stdout] 10 | guild::Guild, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | guild::PartialGuild, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | id::{ChannelId, GuildId}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 13 | invite::{Invite, InviteGuild}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | Err(err) => error!("Error sending invalid context msg to {}", &msg.author.name), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stri` [INFO] [stdout] --> src/main.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | CommandDisabled(stri) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | if let Err(err) = msg [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disabled_commands` [INFO] [stdout] --> src/main.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let mut disabled_commands: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disabled_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let mut disabled_commands: HashSet = HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 06s [INFO] running `Command { std: "docker" "inspect" "9e1e18edb7d49e55d01156f3964226c0d6494e299daea27e4cbb3b2bbec2528c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e1e18edb7d49e55d01156f3964226c0d6494e299daea27e4cbb3b2bbec2528c", kill_on_drop: false }` [INFO] [stdout] 9e1e18edb7d49e55d01156f3964226c0d6494e299daea27e4cbb3b2bbec2528c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c9b5a5b671094d92b03ebb81b126bf7c8311a306835f8f9bf0171845ee56e41 [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" "2c9b5a5b671094d92b03ebb81b126bf7c8311a306835f8f9bf0171845ee56e41", kill_on_drop: false }` [INFO] [stderr] Compiling serenity-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Activity`, `ChannelId`, `GuildId`, `Guild`, `Member`, `OnlineStatus`, `Reaction`, `User` [INFO] [stdout] --> src/main.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | channel::{Message, Reaction}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | gateway::{Activity, Ready}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | guild::{Guild, Member}, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] 21 | id::{ChannelId, GuildId, UserId}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 22 | user::{OnlineStatus, User}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuildId`, `RoleId` [INFO] [stdout] --> src/checks/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | id::{GuildId, RoleId}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelId`, `GuildId`, `InviteGuild`, `Invite`, `guild::Guild`, `guild::PartialGuild`, `http::GuildPagination` [INFO] [stdout] --> src/commands/general.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | http::GuildPagination, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | model::{ [INFO] [stdout] 10 | guild::Guild, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | guild::PartialGuild, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | id::{ChannelId, GuildId}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 13 | invite::{Invite, InviteGuild}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | Err(err) => error!("Error sending invalid context msg to {}", &msg.author.name), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stri` [INFO] [stdout] --> src/main.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | CommandDisabled(stri) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | if let Err(err) = msg [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disabled_commands` [INFO] [stdout] --> src/main.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let mut disabled_commands: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disabled_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let mut disabled_commands: HashSet = HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.62s [INFO] running `Command { std: "docker" "inspect" "2c9b5a5b671094d92b03ebb81b126bf7c8311a306835f8f9bf0171845ee56e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c9b5a5b671094d92b03ebb81b126bf7c8311a306835f8f9bf0171845ee56e41", kill_on_drop: false }` [INFO] [stdout] 2c9b5a5b671094d92b03ebb81b126bf7c8311a306835f8f9bf0171845ee56e41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 214986a53b58abe82c73af0910d9599fa6d6b142aac5611142bc08b8b8905501 [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" "214986a53b58abe82c73af0910d9599fa6d6b142aac5611142bc08b8b8905501", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Activity`, `ChannelId`, `GuildId`, `Guild`, `Member`, `OnlineStatus`, `Reaction`, `User` [INFO] [stderr] --> src/main.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | channel::{Message, Reaction}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | gateway::{Activity, Ready}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 20 | guild::{Guild, Member}, [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] 21 | id::{ChannelId, GuildId, UserId}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] 22 | user::{OnlineStatus, User}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GuildId`, `RoleId` [INFO] [stderr] --> src/checks/mod.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | id::{GuildId, RoleId}, [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused imports: `ChannelId`, `GuildId`, `InviteGuild`, `Invite`, `guild::Guild`, `guild::PartialGuild`, `http::GuildPagination` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/commands/general.rs:8:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 8 | http::GuildPagination, [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | model::{ [INFO] [stderr] 10 | guild::Guild, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 11 | guild::PartialGuild, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | id::{ChannelId, GuildId}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] 13 | invite::{Invite, InviteGuild}, [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/main.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | Err(err) => error!("Error sending invalid context msg to {}", &msg.author.name), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stri` [INFO] [stderr] --> src/main.rs:110:25 [INFO] [stderr] | [INFO] [stderr] 110 | CommandDisabled(stri) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stri` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/main.rs:111:24 [INFO] [stderr] | [INFO] [stderr] 111 | if let Err(err) = msg [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `disabled_commands` [INFO] [stderr] --> src/main.rs:216:13 [INFO] [stderr] | [INFO] [stderr] 216 | let mut disabled_commands: HashSet = HashSet::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disabled_commands` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:216:9 [INFO] [stderr] | [INFO] [stderr] 216 | let mut disabled_commands: HashSet = HashSet::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/serenity_template-dbdacf47629fc75c) [INFO] running `Command { std: "docker" "inspect" "214986a53b58abe82c73af0910d9599fa6d6b142aac5611142bc08b8b8905501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214986a53b58abe82c73af0910d9599fa6d6b142aac5611142bc08b8b8905501", kill_on_drop: false }` [INFO] [stdout] 214986a53b58abe82c73af0910d9599fa6d6b142aac5611142bc08b8b8905501