[INFO] cloning repository https://github.com/peturparkur/discord-bot-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peturparkur/discord-bot-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeturparkur%2Fdiscord-bot-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeturparkur%2Fdiscord-bot-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 656d483c454cabcfcc1de6473c84798a8b47cb18
[INFO] checking peturparkur/discord-bot-rust against master#bad50269f8eb0fda214f0478c3afb2c6fbb427fd for pr-149195-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeturparkur%2Fdiscord-bot-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/peturparkur/discord-bot-rust
[INFO] finished tweaking git repo https://github.com/peturparkur/discord-bot-rust
[INFO] tweaked toml for git repo https://github.com/peturparkur/discord-bot-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/peturparkur/discord-bot-rust on toolchain bad50269f8eb0fda214f0478c3afb2c6fbb427fd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/peturparkur/discord-bot-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-util v0.6.10
[INFO] [stderr]   Downloaded rustls-pemfile v0.3.0
[INFO] [stderr]   Downloaded async-trait v0.1.53
[INFO] [stderr]   Downloaded tungstenite v0.17.2
[INFO] [stderr]   Downloaded command_attr v0.4.0
[INFO] [stderr]   Downloaded dashmap v5.3.3
[INFO] [stderr]   Downloaded serenity v0.11.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7caac4436425d5df3fddbab6ab7ea603c6cf5ffe89318225cdda40fa967472c
[INFO] running `Command { std: "docker" "start" "-a" "e7caac4436425d5df3fddbab6ab7ea603c6cf5ffe89318225cdda40fa967472c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7caac4436425d5df3fddbab6ab7ea603c6cf5ffe89318225cdda40fa967472c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7caac4436425d5df3fddbab6ab7ea603c6cf5ffe89318225cdda40fa967472c", kill_on_drop: false }`
[INFO] [stdout] e7caac4436425d5df3fddbab6ab7ea603c6cf5ffe89318225cdda40fa967472c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0601a631c7a93f97f0657ad7ab68ab8366f5c6c82aace0ed88c1d42cea71a477
[INFO] running `Command { std: "docker" "start" "-a" "0601a631c7a93f97f0657ad7ab68ab8366f5c6c82aace0ed88c1d42cea71a477", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.8.3
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking openssl-sys v0.9.73
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking miniz_oxide v0.5.1
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking ordered-float v2.10.0
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking rustls-pemfile v0.3.0
[INFO] [stderr]     Checking hashbrown v0.12.1
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]    Compiling serenity v0.11.2
[INFO] [stderr]     Checking flate2 v1.0.23
[INFO] [stderr]     Checking levenshtein v1.0.5
[INFO] [stderr]     Checking uwl v0.6.0
[INFO] [stderr]     Checking typemap_rev v0.1.5
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking webpki-roots v0.22.3
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling command_attr v0.4.0
[INFO] [stderr]     Checking openssl v0.10.40
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking native-tls v0.2.10
[INFO] [stderr]     Checking tokio-util v0.7.2
[INFO] [stderr]     Checking tokio-rustls v0.23.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking dashmap v5.3.3
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking time v0.3.9
[INFO] [stderr]     Checking tungstenite v0.17.2
[INFO] [stderr]     Checking async-tungstenite v0.17.2
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking hyper-rustls v0.23.0
[INFO] [stderr]     Checking reqwest v0.11.10
[INFO] [stderr]     Checking discord-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `reqwest::Url`
[INFO] [stdout]  --> src/commands/reddit.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use reqwest::Url;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]   --> src/commands/reddit.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::Value;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]   --> src/commands/reddit.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::io::AsyncWriteExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/commands/reddit.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/commands/reddit.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/commands/testing.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/commands/testing.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Url`
[INFO] [stdout]  --> src/commands/reddit.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use reqwest::Url;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]   --> src/commands/reddit.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::Value;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]   --> src/commands/reddit.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::io::AsyncWriteExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/commands/reddit.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/commands/reddit.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/commands/testing.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/commands/testing.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/commands/reddit.rs:50:73
[INFO] [stdout]    |
[INFO] [stdout] 50 | ... { Ok(x) => Some(x - 1), Err(err) => None}; // -1 indicates we take a random from the entire range
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/commands/testing.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn whatup(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
[INFO] [stdout]    |                                                   ----^^^^
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/commands/testing.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn whatup(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/commands/reddit.rs:50:73
[INFO] [stdout]    |
[INFO] [stdout] 50 | ... { Ok(x) => Some(x - 1), Err(err) => None}; // -1 indicates we take a random from the entire range
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     async fn message(&self, ctx: Context, msg: Message) {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/commands/testing.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn whatup(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
[INFO] [stdout]    |                                                   ----^^^^
[INFO] [stdout]    |                                                   |
[INFO] [stdout]    |                                                   help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/commands/testing.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn whatup(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
[INFO] [stdout]    |                                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let args = std::env::args().collect::<Vec<_>>();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     async fn message(&self, ctx: Context, msg: Message) {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let args = std::env::args().collect::<Vec<_>>();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.40
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "0601a631c7a93f97f0657ad7ab68ab8366f5c6c82aace0ed88c1d42cea71a477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0601a631c7a93f97f0657ad7ab68ab8366f5c6c82aace0ed88c1d42cea71a477", kill_on_drop: false }`
[INFO] [stdout] 0601a631c7a93f97f0657ad7ab68ab8366f5c6c82aace0ed88c1d42cea71a477
