[INFO] cloning repository https://github.com/TriedAngle/ferris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TriedAngle/ferris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTriedAngle%2Fferris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTriedAngle%2Fferris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be4291afff7e6e2cb7c006feccc18bad3e3fde97 [INFO] building TriedAngle/ferris against master#c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 for pr-97334-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTriedAngle%2Fferris" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TriedAngle/ferris on toolchain c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TriedAngle/ferris [INFO] finished tweaking git repo https://github.com/TriedAngle/ferris [INFO] tweaked toml for git repo https://github.com/TriedAngle/ferris written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TriedAngle/ferris 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" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arc-swap v1.4.0 [INFO] [stderr] Downloaded serde_with_macros v1.5.0 [INFO] [stderr] Downloaded reqwest v0.11.5 [INFO] [stderr] Downloaded serde_with v1.10.0 [INFO] [stderr] Downloaded redis v0.21.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae8109390e60b54c94c48ea8f7f7bbbb710600e383a35d5d79c14a3be874a7b4 [INFO] running `Command { std: "docker" "start" "-a" "ae8109390e60b54c94c48ea8f7f7bbbb710600e383a35d5d79c14a3be874a7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae8109390e60b54c94c48ea8f7f7bbbb710600e383a35d5d79c14a3be874a7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8109390e60b54c94c48ea8f7f7bbbb710600e383a35d5d79c14a3be874a7b4", kill_on_drop: false }` [INFO] [stdout] ae8109390e60b54c94c48ea8f7f7bbbb710600e383a35d5d79c14a3be874a7b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9d0e3d1a0331d0017c58f0b04538ebccdb8af6004a2d348e793301acce4245e [INFO] running `Command { std: "docker" "start" "-a" "c9d0e3d1a0331d0017c58f0b04538ebccdb8af6004a2d348e793301acce4245e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling serenity v0.10.9 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling flate2 v1.0.21 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling os_info v3.0.7 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling arc-swap v1.4.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.9.1 [INFO] [stderr] Compiling command_attr v0.3.7 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling trust-dns-proto v0.20.3 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling combine v4.6.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_with v1.10.0 [INFO] [stderr] Compiling meval v0.2.0 [INFO] [stderr] Compiling trust-dns-resolver v0.20.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling bson v2.0.1 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling mongodb v2.0.1 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling redis v0.21.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.5 [INFO] [stderr] Compiling ferris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShessManager` [INFO] [stdout] --> src/main.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::converter::{Database, ReqwestClient, ShardManagerContainer, ShessManager}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Channel`, `Edition` [INFO] [stdout] --> src/code_execution/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Channel, CommandFlags, CrateType, Edition, PlayResult, PlaygroundRequest, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::code_execution::api::Channel` [INFO] [stdout] --> src/code_execution/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::code_execution::api::Channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/code_execution/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/commands/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/main.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | .intents({ GatewayIntents::all() }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 157 - .intents({ GatewayIntents::all() }) [INFO] [stdout] 157 + .intents(GatewayIntents::all()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_execution/eval.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut result = client [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: variable does not need to be mutable [INFO] [stdout] --> src/commands/math.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn math(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `run_loop` is never read [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Handler { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 48 | run_loop: AtomicBool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShessManager` is never constructed [INFO] [stdout] --> src/converter.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ShessManager; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiscordService` is never constructed [INFO] [stdout] --> src/service/discord/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DiscordService { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/service/discord/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(db: mongodb::Database) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_custom_emoji` is never used [INFO] [stdout] --> src/service/discord/helpers.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_custom_emoji(emoji: String, name: String, animated: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_message_url` is never used [INFO] [stdout] --> src/service/discord/helpers.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_message_url(guild_id: GuildId, channel_id: ChannelId, message_id: MessageId) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_administrator` is never used [INFO] [stdout] --> src/service/discord/permission.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn check_administrator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FerrisGuildReactionRoleBoards` is never constructed [INFO] [stdout] --> src/service/discord/reaction_roles.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FerrisGuildReactionRoleBoards { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4, nom v5.1.2, redis v0.21.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c9d0e3d1a0331d0017c58f0b04538ebccdb8af6004a2d348e793301acce4245e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9d0e3d1a0331d0017c58f0b04538ebccdb8af6004a2d348e793301acce4245e", kill_on_drop: false }` [INFO] [stdout] c9d0e3d1a0331d0017c58f0b04538ebccdb8af6004a2d348e793301acce4245e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f6459c180eacca62de61c7e56e0c560d7aae9bc8405ee272bd06e09cdc044a4 [INFO] running `Command { std: "docker" "start" "-a" "2f6459c180eacca62de61c7e56e0c560d7aae9bc8405ee272bd06e09cdc044a4", kill_on_drop: false }` [INFO] [stderr] Compiling ferris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShessManager` [INFO] [stdout] --> src/main.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::converter::{Database, ReqwestClient, ShardManagerContainer, ShessManager}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Channel`, `Edition` [INFO] [stdout] --> src/code_execution/eval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Channel, CommandFlags, CrateType, Edition, PlayResult, PlaygroundRequest, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::code_execution::api::Channel` [INFO] [stdout] --> src/code_execution/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::code_execution::api::Channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/code_execution/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/commands/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/main.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | .intents({ GatewayIntents::all() }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 157 - .intents({ GatewayIntents::all() }) [INFO] [stdout] 157 + .intents(GatewayIntents::all()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/code_execution/eval.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut result = client [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: variable does not need to be mutable [INFO] [stdout] --> src/commands/math.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn math(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `run_loop` is never read [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Handler { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 48 | run_loop: AtomicBool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShessManager` is never constructed [INFO] [stdout] --> src/converter.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ShessManager; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiscordService` is never constructed [INFO] [stdout] --> src/service/discord/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DiscordService { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/service/discord/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(db: mongodb::Database) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_custom_emoji` is never used [INFO] [stdout] --> src/service/discord/helpers.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_custom_emoji(emoji: String, name: String, animated: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_message_url` is never used [INFO] [stdout] --> src/service/discord/helpers.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_message_url(guild_id: GuildId, channel_id: ChannelId, message_id: MessageId) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_administrator` is never used [INFO] [stdout] --> src/service/discord/permission.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn check_administrator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FerrisGuildReactionRoleBoards` is never constructed [INFO] [stdout] --> src/service/discord/reaction_roles.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FerrisGuildReactionRoleBoards { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4, nom v5.1.2, redis v0.21.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "2f6459c180eacca62de61c7e56e0c560d7aae9bc8405ee272bd06e09cdc044a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f6459c180eacca62de61c7e56e0c560d7aae9bc8405ee272bd06e09cdc044a4", kill_on_drop: false }` [INFO] [stdout] 2f6459c180eacca62de61c7e56e0c560d7aae9bc8405ee272bd06e09cdc044a4