[INFO] cloning repository https://github.com/semilin/corpusbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/semilin/corpusbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemilin%2Fcorpusbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemilin%2Fcorpusbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ae197234d7bede844218536b01301af4ee4fa4a [INFO] testing semilin/corpusbot against 1.73.0 for beta-1.74-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemilin%2Fcorpusbot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/semilin/corpusbot on toolchain 1.73.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/semilin/corpusbot [INFO] finished tweaking git repo https://github.com/semilin/corpusbot [INFO] tweaked toml for git repo https://github.com/semilin/corpusbot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/semilin/corpusbot 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" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1148d7d8631be7708a058f42a67e215792d2df7d5b50f070a82b71420305e68b [INFO] running `Command { std: "docker" "start" "-a" "1148d7d8631be7708a058f42a67e215792d2df7d5b50f070a82b71420305e68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1148d7d8631be7708a058f42a67e215792d2df7d5b50f070a82b71420305e68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1148d7d8631be7708a058f42a67e215792d2df7d5b50f070a82b71420305e68b", kill_on_drop: false }` [INFO] [stdout] 1148d7d8631be7708a058f42a67e215792d2df7d5b50f070a82b71420305e68b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b66d9d7ec674575cda3641251a023b988f15c9b01d5055f21cb7f894cb291c7f [INFO] running `Command { std: "docker" "start" "-a" "b66d9d7ec674575cda3641251a023b988f15c9b01d5055f21cb7f894cb291c7f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde_derive v1.0.151 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling async-trait v0.1.60 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling serenity v0.11.5 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling ipnet v2.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling dashmap v5.4.0 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling corpusbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ChannelId`, `Channel` [INFO] [stdout] --> src/bot.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | id::{ChannelId, GuildId, UserId}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | prelude::{Channel, ChannelType, GuildChannel, MessageId}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::Command` [INFO] [stdout] --> src/bot.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{collections::HashMap, fs, path::Path, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `http::Http`, `model::prelude::MessageId` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::{http::Http, model::prelude::MessageId, prelude::GatewayIntents, Client}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `latest_corpus` [INFO] [stdout] --> src/bot.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let latest_corpus = self.latest_corpus.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latest_corpus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bot.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | 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: `msg` [INFO] [stdout] --> src/bot.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | async fn message(&self, ctx: Context, msg: Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/bot.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Bot { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 76 | latest_corpus: Option, [INFO] [stdout] 77 | cache: Cache, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.06s [INFO] running `Command { std: "docker" "inspect" "b66d9d7ec674575cda3641251a023b988f15c9b01d5055f21cb7f894cb291c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b66d9d7ec674575cda3641251a023b988f15c9b01d5055f21cb7f894cb291c7f", kill_on_drop: false }` [INFO] [stdout] b66d9d7ec674575cda3641251a023b988f15c9b01d5055f21cb7f894cb291c7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de80365e0da52ec78d7bf2941e6a6b2749633649db53feb6b17e1ac68365682f [INFO] running `Command { std: "docker" "start" "-a" "de80365e0da52ec78d7bf2941e6a6b2749633649db53feb6b17e1ac68365682f", kill_on_drop: false }` [INFO] [stderr] Compiling corpusbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ChannelId`, `Channel` [INFO] [stdout] --> src/bot.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | id::{ChannelId, GuildId, UserId}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | prelude::{Channel, ChannelType, GuildChannel, MessageId}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::Command` [INFO] [stdout] --> src/bot.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{collections::HashMap, fs, path::Path, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `http::Http`, `model::prelude::MessageId` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::{http::Http, model::prelude::MessageId, prelude::GatewayIntents, Client}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `latest_corpus` [INFO] [stdout] --> src/bot.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let latest_corpus = self.latest_corpus.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latest_corpus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bot.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | 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: `msg` [INFO] [stdout] --> src/bot.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | async fn message(&self, ctx: Context, msg: Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/bot.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Bot { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 76 | latest_corpus: Option, [INFO] [stdout] 77 | cache: Cache, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "de80365e0da52ec78d7bf2941e6a6b2749633649db53feb6b17e1ac68365682f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de80365e0da52ec78d7bf2941e6a6b2749633649db53feb6b17e1ac68365682f", kill_on_drop: false }` [INFO] [stdout] de80365e0da52ec78d7bf2941e6a6b2749633649db53feb6b17e1ac68365682f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 479fd0c00864f204bea09903ce971b37cb3b606efa26117ebabbcb69368537b4 [INFO] running `Command { std: "docker" "start" "-a" "479fd0c00864f204bea09903ce971b37cb3b606efa26117ebabbcb69368537b4", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ChannelId`, `Channel` [INFO] [stderr] --> src/bot.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | id::{ChannelId, GuildId, UserId}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 10 | prelude::{Channel, ChannelType, GuildChannel, MessageId}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `process::Command` [INFO] [stderr] --> src/bot.rs:15:49 [INFO] [stderr] | [INFO] [stderr] 15 | use std::{collections::HashMap, fs, path::Path, process::Command}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `http::Http`, `model::prelude::MessageId` [INFO] [stderr] --> src/main.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | use serenity::{http::Http, model::prelude::MessageId, prelude::GatewayIntents, Client}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `path::Path` [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::{fs, path::Path}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `latest_corpus` [INFO] [stderr] --> src/bot.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | let latest_corpus = self.latest_corpus.as_ref().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latest_corpus` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/bot.rs:177:29 [INFO] [stderr] | [INFO] [stderr] 177 | async fn message(&self, ctx: Context, msg: Message) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/bot.rs:177:43 [INFO] [stderr] | [INFO] [stderr] 177 | async fn message(&self, ctx: Context, msg: Message) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: field `cache` is never read [INFO] [stderr] --> src/bot.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct Bot { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 76 | latest_corpus: Option, [INFO] [stderr] 77 | cache: Cache, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `corpusbot` (bin "corpusbot" test) generated 8 warnings (run `cargo fix --bin "corpusbot" --tests` to apply 7 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/corpusbot-5c482ec10fa04c67) [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" "479fd0c00864f204bea09903ce971b37cb3b606efa26117ebabbcb69368537b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "479fd0c00864f204bea09903ce971b37cb3b606efa26117ebabbcb69368537b4", kill_on_drop: false }` [INFO] [stdout] 479fd0c00864f204bea09903ce971b37cb3b606efa26117ebabbcb69368537b4