[INFO] cloning repository https://github.com/lolgeny/challengerbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lolgeny/challengerbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolgeny%2Fchallengerbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolgeny%2Fchallengerbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00c1404f8d4d70a50f0147054b9feea0727c7f5d [INFO] testing lolgeny/challengerbot against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolgeny%2Fchallengerbot" "/workspace/builds/worker-86/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-86/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lolgeny/challengerbot on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-86/source/rust-toolchain [INFO] started tweaking git repo https://github.com/lolgeny/challengerbot [INFO] finished tweaking git repo https://github.com/lolgeny/challengerbot [INFO] tweaked toml for git repo https://github.com/lolgeny/challengerbot written to /workspace/builds/worker-86/source/Cargo.toml [INFO] crate git repo https://github.com/lolgeny/challengerbot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdae3b0e1e7934a3ce6f1e83ecc150719a8d4e23f350f7967708b44658b218f3 [INFO] running `Command { std: "docker" "start" "-a" "cdae3b0e1e7934a3ce6f1e83ecc150719a8d4e23f350f7967708b44658b218f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdae3b0e1e7934a3ce6f1e83ecc150719a8d4e23f350f7967708b44658b218f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdae3b0e1e7934a3ce6f1e83ecc150719a8d4e23f350f7967708b44658b218f3", kill_on_drop: false }` [INFO] [stdout] cdae3b0e1e7934a3ce6f1e83ecc150719a8d4e23f350f7967708b44658b218f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 105dd7a3dde630d1dfd5097844d89dac45705dec9fad34f7d265e61b29fae372 [INFO] running `Command { std: "docker" "start" "-a" "105dd7a3dde630d1dfd5097844d89dac45705dec9fad34f7d265e61b29fae372", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serenity v0.10.5 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling typemap_rev v0.1.4 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling command_attr v0.3.5 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling challengerbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `join` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{join, lock::Mutex, try_join}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `guild::GuildStatus` [INFO] [stdout] --> src/main.rs:13:73 [INFO] [stdout] | [INFO] [stdout] 13 | }, model::{channel::{Message, Reaction}, event::MessageUpdateEvent, guild::GuildStatus, id::{ChannelId, GuildId, MessageId}, prelude:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `guild::Guild` [INFO] [stdout] --> src/challenges.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | }, guild::Guild, id::{ChannelId, RoleId}, misc::Mentionable, permissions::Permissions}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel::Message`, `prelude::User` [INFO] [stdout] --> src/database.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | channel::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | id::{ChannelId, MessageId, UserId}, [INFO] [stdout] 8 | prelude::User, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/submissions.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | database::{Database, Submission}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context as _` [INFO] [stdout] --> src/submissions.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{anyhow, bail, Context as _, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `join`, `lock::MutexGuard` [INFO] [stdout] --> src/submissions.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{join, lock::MutexGuard}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Channel` [INFO] [stdout] --> src/submissions.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::{client::Context, model::{channel::{Channel, Message, Reaction}, id::{MessageId, RoleId}, misc::Mentionable}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/submissions.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn message_update(ctx: &Context, message: &Message) -> Result<()> { [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: `ctx` [INFO] [stdout] --> src/submissions.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | pub async fn message_delete(ctx: &Context, message_id: &MessageId) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_submission` [INFO] [stdout] --> src/database.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_submission(&mut self, message: MessageId) -> Option<&mut Submission> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [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" "105dd7a3dde630d1dfd5097844d89dac45705dec9fad34f7d265e61b29fae372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105dd7a3dde630d1dfd5097844d89dac45705dec9fad34f7d265e61b29fae372", kill_on_drop: false }` [INFO] [stdout] 105dd7a3dde630d1dfd5097844d89dac45705dec9fad34f7d265e61b29fae372 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 419104bfe0d4b3d84e9b68f085a3610a045ccaaf18fdd04fe2971b4b3157f376 [INFO] running `Command { std: "docker" "start" "-a" "419104bfe0d4b3d84e9b68f085a3610a045ccaaf18fdd04fe2971b4b3157f376", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling challengerbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `join` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{join, lock::Mutex, try_join}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `guild::GuildStatus` [INFO] [stdout] --> src/main.rs:13:73 [INFO] [stdout] | [INFO] [stdout] 13 | }, model::{channel::{Message, Reaction}, event::MessageUpdateEvent, guild::GuildStatus, id::{ChannelId, GuildId, MessageId}, prelude:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `guild::Guild` [INFO] [stdout] --> src/challenges.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | }, guild::Guild, id::{ChannelId, RoleId}, misc::Mentionable, permissions::Permissions}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel::Message`, `prelude::User` [INFO] [stdout] --> src/database.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | channel::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | id::{ChannelId, MessageId, UserId}, [INFO] [stdout] 8 | prelude::User, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/submissions.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | database::{Database, Submission}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context as _` [INFO] [stdout] --> src/submissions.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{anyhow, bail, Context as _, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `join`, `lock::MutexGuard` [INFO] [stdout] --> src/submissions.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{join, lock::MutexGuard}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Channel` [INFO] [stdout] --> src/submissions.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::{client::Context, model::{channel::{Channel, Message, Reaction}, id::{MessageId, RoleId}, misc::Mentionable}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/submissions.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn message_update(ctx: &Context, message: &Message) -> Result<()> { [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: `ctx` [INFO] [stdout] --> src/submissions.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | pub async fn message_delete(ctx: &Context, message_id: &MessageId) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_submission` [INFO] [stdout] --> src/database.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_submission(&mut self, message: MessageId) -> Option<&mut Submission> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [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" "419104bfe0d4b3d84e9b68f085a3610a045ccaaf18fdd04fe2971b4b3157f376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "419104bfe0d4b3d84e9b68f085a3610a045ccaaf18fdd04fe2971b4b3157f376", kill_on_drop: false }` [INFO] [stdout] 419104bfe0d4b3d84e9b68f085a3610a045ccaaf18fdd04fe2971b4b3157f376 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 900edd90d3ebe76a38002d391883924096c36be131204c8530174327c718da94 [INFO] running `Command { std: "docker" "start" "-a" "900edd90d3ebe76a38002d391883924096c36be131204c8530174327c718da94", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `join` [INFO] [stderr] --> src/main.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::{join, lock::Mutex, try_join}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `guild::GuildStatus` [INFO] [stderr] --> src/main.rs:13:73 [INFO] [stderr] | [INFO] [stderr] 13 | }, model::{channel::{Message, Reaction}, event::MessageUpdateEvent, guild::GuildStatus, id::{ChannelId, GuildId, MessageId}, prelude:... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `guild::Guild` [INFO] [stderr] --> src/challenges.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | }, guild::Guild, id::{ChannelId, RoleId}, misc::Mentionable, permissions::Permissions}}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `channel::Message`, `prelude::User` [INFO] [stderr] --> src/database.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | channel::Message, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | id::{ChannelId, MessageId, UserId}, [INFO] [stderr] 8 | prelude::User, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Database` [INFO] [stderr] --> src/submissions.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | database::{Database, Submission}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context as _` [INFO] [stderr] --> src/submissions.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | use anyhow::{anyhow, bail, Context as _, Result}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `join`, `lock::MutexGuard` [INFO] [stderr] --> src/submissions.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::{join, lock::MutexGuard}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Channel` [INFO] [stderr] --> src/submissions.rs:7:51 [INFO] [stderr] | [INFO] [stderr] 7 | use serenity::{client::Context, model::{channel::{Channel, Message, Reaction}, id::{MessageId, RoleId}, misc::Mentionable}}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/submissions.rs:99:29 [INFO] [stderr] | [INFO] [stderr] 99 | pub async fn message_update(ctx: &Context, message: &Message) -> Result<()> { [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: `ctx` [INFO] [stderr] --> src/submissions.rs:113:29 [INFO] [stderr] | [INFO] [stderr] 113 | pub async fn message_delete(ctx: &Context, message_id: &MessageId) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_submission` [INFO] [stderr] --> src/database.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn get_submission(&mut self, message: MessageId) -> Option<&mut Submission> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `challengerbot` (bin "challengerbot" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/challengerbot-5542e9267a65a3f6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "900edd90d3ebe76a38002d391883924096c36be131204c8530174327c718da94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "900edd90d3ebe76a38002d391883924096c36be131204c8530174327c718da94", kill_on_drop: false }` [INFO] [stdout] 900edd90d3ebe76a38002d391883924096c36be131204c8530174327c718da94