[INFO] cloning repository https://github.com/hiawvp/vueko-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hiawvp/vueko-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiawvp%2Fvueko-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiawvp%2Fvueko-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 266bab2506025a1f2cea5819936ce965bbdc6b2e [INFO] checking hiawvp/vueko-bot against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiawvp%2Fvueko-bot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hiawvp/vueko-bot on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hiawvp/vueko-bot [INFO] finished tweaking git repo https://github.com/hiawvp/vueko-bot [INFO] tweaked toml for git repo https://github.com/hiawvp/vueko-bot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hiawvp/vueko-bot 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded roux v2.2.4 [INFO] [stderr] Downloaded maybe-async v0.2.6 [INFO] [stderr] Downloaded command_attr v0.4.1 [INFO] [stderr] Downloaded dashmap v5.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ee4fa3df74487865f1d4d220ef0d3b0247b4a505f90cd920034ce2c20fb030a [INFO] running `Command { std: "docker" "start" "-a" "4ee4fa3df74487865f1d4d220ef0d3b0247b4a505f90cd920034ce2c20fb030a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ee4fa3df74487865f1d4d220ef0d3b0247b4a505f90cd920034ce2c20fb030a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee4fa3df74487865f1d4d220ef0d3b0247b4a505f90cd920034ce2c20fb030a", kill_on_drop: false }` [INFO] [stdout] 4ee4fa3df74487865f1d4d220ef0d3b0247b4a505f90cd920034ce2c20fb030a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 941ae7802ad5629141e9ba1c808a5c5e8a8b3ca675bdd9b65bdd2ab2605a1a30 [INFO] running `Command { std: "docker" "start" "-a" "941ae7802ad5629141e9ba1c808a5c5e8a8b3ca675bdd9b65bdd2ab2605a1a30", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking cpufeatures v0.2.4 [INFO] [stderr] Checking rustls-pemfile v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling serenity v0.11.5 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling command_attr v0.4.1 [INFO] [stderr] Compiling maybe-async v0.2.6 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking futures-executor v0.3.23 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking time v0.3.13 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking dashmap v5.3.4 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Checking async-tungstenite v0.17.2 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking roux v2.2.4 [INFO] [stderr] Checking vueko-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `RwLock` is imported redundantly [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | use serenity::prelude::*; [INFO] [stdout] | -------------------- the item `RwLock` is already imported here [INFO] [stdout] 37 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandCounter` is imported redundantly [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::commands::meta::CommandCounter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | use crate::commands::meta::*; [INFO] [stdout] | ------------------------ the item `CommandCounter` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RwLock` is imported redundantly [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | use serenity::prelude::*; [INFO] [stdout] | -------------------- the item `RwLock` is already imported here [INFO] [stdout] 37 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandCounter` is imported redundantly [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::commands::meta::CommandCounter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | use crate::commands::meta::*; [INFO] [stdout] | ------------------------ the item `CommandCounter` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_emoji_by_name` is never used [INFO] [stdout] --> src/commands/meme.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | async fn get_emoji_by_name(ctx: &Context, msg: &Message, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/reddit/post.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | options.choose(&mut rand::thread_rng()).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_emoji_by_name` is never used [INFO] [stdout] --> src/commands/meme.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | async fn get_emoji_by_name(ctx: &Context, msg: &Message, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/reddit/post.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | options.choose(&mut rand::thread_rng()).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.95s [INFO] running `Command { std: "docker" "inspect" "941ae7802ad5629141e9ba1c808a5c5e8a8b3ca675bdd9b65bdd2ab2605a1a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941ae7802ad5629141e9ba1c808a5c5e8a8b3ca675bdd9b65bdd2ab2605a1a30", kill_on_drop: false }` [INFO] [stdout] 941ae7802ad5629141e9ba1c808a5c5e8a8b3ca675bdd9b65bdd2ab2605a1a30