[INFO] cloning repository https://github.com/Allen-B1/giovanni [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Allen-B1/giovanni" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fgiovanni", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fgiovanni'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10917d0470e42dd42d18fb7b5d15ec26720bd956 [INFO] testing Allen-B1/giovanni against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fgiovanni" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Allen-B1/giovanni on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Allen-B1/giovanni [INFO] finished tweaking git repo https://github.com/Allen-B1/giovanni [INFO] tweaked toml for git repo https://github.com/Allen-B1/giovanni written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Allen-B1/giovanni 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bbf95502236a963370293c95e5b0232936ffec0d1b5b07fa85eaec835635111 [INFO] running `Command { std: "docker" "start" "-a" "4bbf95502236a963370293c95e5b0232936ffec0d1b5b07fa85eaec835635111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bbf95502236a963370293c95e5b0232936ffec0d1b5b07fa85eaec835635111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bbf95502236a963370293c95e5b0232936ffec0d1b5b07fa85eaec835635111", kill_on_drop: false }` [INFO] [stdout] 4bbf95502236a963370293c95e5b0232936ffec0d1b5b07fa85eaec835635111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0055fc3386f77e8ac4ec97d7d14d2334031b321e58d65dd6bbad2b86d4f01b6e [INFO] running `Command { std: "docker" "start" "-a" "0055fc3386f77e8ac4ec97d7d14d2334031b321e58d65dd6bbad2b86d4f01b6e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling serenity v0.10.9 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling async_once v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [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 tokio-macros v1.5.1 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling sqlx v0.5.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling rust-gio-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Any`, `Arc`, `Mutex`, `ops::Deref` [INFO] [stdout] --> src/commands.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{any::{self, Any, TypeId}, sync::{Mutex, Arc, RwLock}, collections::HashMap, ops::Deref, borrow::Cow, pin::Pin}; [INFO] [stdout] | ^^^ ^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::consts::E`, `ops::Deref`, `sync::Mutex` [INFO] [stdout] --> src/main.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{env, any::TypeId, sync::Mutex, ops::Deref, pin::Pin, f32::consts::E}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::RwLock` [INFO] [stdout] --> src/main.rs:14:157 [INFO] [stdout] | [INFO] [stdout] 14 | ...ction, id::UserId}, client::Context, builder::CreateEmbed, prelude::RwLock}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/database.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ready` [INFO] [stdout] --> src/commands.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ready` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let mut handler; [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | embeds::respond(&ctx, &i, embeds::error(Some("Internal Error"), str)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8m 16s [INFO] running `Command { std: "docker" "inspect" "0055fc3386f77e8ac4ec97d7d14d2334031b321e58d65dd6bbad2b86d4f01b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0055fc3386f77e8ac4ec97d7d14d2334031b321e58d65dd6bbad2b86d4f01b6e", kill_on_drop: false }` [INFO] [stdout] 0055fc3386f77e8ac4ec97d7d14d2334031b321e58d65dd6bbad2b86d4f01b6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 794ca828250a29a842011a4c16d9ff33fd03b2f40b8db1f53f669846ed42ed5b [INFO] running `Command { std: "docker" "start" "-a" "794ca828250a29a842011a4c16d9ff33fd03b2f40b8db1f53f669846ed42ed5b", kill_on_drop: false }` [INFO] [stderr] Compiling rust-gio-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Any`, `Arc`, `Mutex`, `ops::Deref` [INFO] [stdout] --> src/commands.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{any::{self, Any, TypeId}, sync::{Mutex, Arc, RwLock}, collections::HashMap, ops::Deref, borrow::Cow, pin::Pin}; [INFO] [stdout] | ^^^ ^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::consts::E`, `ops::Deref`, `sync::Mutex` [INFO] [stdout] --> src/main.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{env, any::TypeId, sync::Mutex, ops::Deref, pin::Pin, f32::consts::E}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::RwLock` [INFO] [stdout] --> src/main.rs:14:157 [INFO] [stdout] | [INFO] [stdout] 14 | ...ction, id::UserId}, client::Context, builder::CreateEmbed, prelude::RwLock}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/database.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Row, Executor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ready` [INFO] [stdout] --> src/commands.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ready` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let mut handler; [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | embeds::respond(&ctx, &i, embeds::error(Some("Internal Error"), str)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.80s [INFO] running `Command { std: "docker" "inspect" "794ca828250a29a842011a4c16d9ff33fd03b2f40b8db1f53f669846ed42ed5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794ca828250a29a842011a4c16d9ff33fd03b2f40b8db1f53f669846ed42ed5b", kill_on_drop: false }` [INFO] [stdout] 794ca828250a29a842011a4c16d9ff33fd03b2f40b8db1f53f669846ed42ed5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 93d28bd7f63eafdc5e6c5ed38946f36a1843de7aab72251c486d9b72ce99818d [INFO] running `Command { std: "docker" "start" "-a" "93d28bd7f63eafdc5e6c5ed38946f36a1843de7aab72251c486d9b72ce99818d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Any`, `Arc`, `Mutex`, `ops::Deref` [INFO] [stderr] --> src/commands.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{any::{self, Any, TypeId}, sync::{Mutex, Arc, RwLock}, collections::HashMap, ops::Deref, borrow::Cow, pin::Pin}; [INFO] [stderr] | ^^^ ^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `f32::consts::E`, `ops::Deref`, `sync::Mutex` [INFO] [stderr] --> src/main.rs:10:29 [INFO] [stderr] | [INFO] [stderr] 10 | use std::{env, any::TypeId, sync::Mutex, ops::Deref, pin::Pin, f32::consts::E}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude::RwLock` [INFO] [stderr] --> src/main.rs:14:157 [INFO] [stderr] | [INFO] [stderr] 14 | ...ction, id::UserId}, client::Context, builder::CreateEmbed, prelude::RwLock}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Executor` [INFO] [stderr] --> src/database.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use sqlx::{Row, Executor}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ready` [INFO] [stderr] --> src/commands.rs:80:41 [INFO] [stderr] | [INFO] [stderr] 80 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ready` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/commands.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 112 | let mut handler; [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: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:305:9 [INFO] [stderr] | [INFO] [stderr] 305 | embeds::respond(&ctx, &i, embeds::error(Some("Internal Error"), str)).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-gio-bot` (bin "rust-gio-bot" test) generated 7 warnings (run `cargo fix --bin "rust-gio-bot" --tests` to apply 5 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_gio_bot-86a2f42d5f01438e) [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" "93d28bd7f63eafdc5e6c5ed38946f36a1843de7aab72251c486d9b72ce99818d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d28bd7f63eafdc5e6c5ed38946f36a1843de7aab72251c486d9b72ce99818d", kill_on_drop: false }` [INFO] [stdout] 93d28bd7f63eafdc5e6c5ed38946f36a1843de7aab72251c486d9b72ce99818d