[INFO] cloning repository https://github.com/GoldenEpsilon/LunaBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GoldenEpsilon/LunaBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoldenEpsilon%2FLunaBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoldenEpsilon%2FLunaBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5c576c12d70c118621047e0cd52679250ef7acd [INFO] building GoldenEpsilon/LunaBot against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoldenEpsilon%2FLunaBot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GoldenEpsilon/LunaBot [INFO] finished tweaking git repo https://github.com/GoldenEpsilon/LunaBot [INFO] tweaked toml for git repo https://github.com/GoldenEpsilon/LunaBot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GoldenEpsilon/LunaBot on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GoldenEpsilon/LunaBot 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 566b102d24577f1d40eda26c621823a7befeb5b5a0c8d8c4c9b4738a2ef45da6 [INFO] running `Command { std: "docker" "start" "-a" "566b102d24577f1d40eda26c621823a7befeb5b5a0c8d8c4c9b4738a2ef45da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "566b102d24577f1d40eda26c621823a7befeb5b5a0c8d8c4c9b4738a2ef45da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "566b102d24577f1d40eda26c621823a7befeb5b5a0c8d8c4c9b4738a2ef45da6", kill_on_drop: false }` [INFO] [stdout] 566b102d24577f1d40eda26c621823a7befeb5b5a0c8d8c4c9b4738a2ef45da6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92de692030a05851965dd22667e2c461ac857439e5dca17e2af03747f0b1f5f0 [INFO] running `Command { std: "docker" "start" "-a" "92de692030a05851965dd22667e2c461ac857439e5dca17e2af03747f0b1f5f0", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling discordbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UserId` [INFO] [stdout] --> src/handler.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use serenity::all::{Channel, Timestamp, UserId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateEmbed` and `CreateMessage` [INFO] [stdout] --> src/handler.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::builder::{CreateEmbed, CreateMessage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commandlib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | async fn help(ctx: Context, msg: Message, args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | async fn xpcooldown(ctx: Context, msg: Message, args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | async fn xp(ctx: Context, msg: Message, args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_data` [INFO] [stdout] --> src/handler.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | for (command_name, command_data) in all_commands() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_data_from_name` is never used [INFO] [stdout] --> src/commandlib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn get_user_data_from_name(ctx: Context, name: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_user_storage` is never used [INFO] [stdout] --> src/commandlib.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn set_user_storage(ctx: Context, user_id: u64, key: String, value: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_storage` is never used [INFO] [stdout] --> src/commandlib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_user_storage(ctx: Context, user_id: u64, key: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_guild` is never used [INFO] [stdout] --> src/commandlib.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_guild(ctx: Context, msg: Message) -> Option{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nickname` is never used [INFO] [stdout] --> src/commandlib.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn get_nickname(ctx: Context, user: UserId, guild_id: GuildId) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ping` is never used [INFO] [stdout] --> src/commandlib.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | pub async fn ping(user_id: UserId) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "92de692030a05851965dd22667e2c461ac857439e5dca17e2af03747f0b1f5f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92de692030a05851965dd22667e2c461ac857439e5dca17e2af03747f0b1f5f0", kill_on_drop: false }` [INFO] [stdout] 92de692030a05851965dd22667e2c461ac857439e5dca17e2af03747f0b1f5f0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33e8c54d4cf9dc64837e17440f2e4cec18c8f6a9bfac0ee499641aff5fc5a1a7 [INFO] running `Command { std: "docker" "start" "-a" "33e8c54d4cf9dc64837e17440f2e4cec18c8f6a9bfac0ee499641aff5fc5a1a7", kill_on_drop: false }` [INFO] [stderr] Compiling discordbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UserId` [INFO] [stdout] --> src/handler.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use serenity::all::{Channel, Timestamp, UserId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateEmbed` and `CreateMessage` [INFO] [stdout] --> src/handler.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::builder::{CreateEmbed, CreateMessage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commandlib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | async fn help(ctx: Context, msg: Message, args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | async fn xpcooldown(ctx: Context, msg: Message, args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | async fn xp(ctx: Context, msg: Message, args: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_data` [INFO] [stdout] --> src/handler.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | for (command_name, command_data) in all_commands() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_data_from_name` is never used [INFO] [stdout] --> src/commandlib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn get_user_data_from_name(ctx: Context, name: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_user_storage` is never used [INFO] [stdout] --> src/commandlib.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn set_user_storage(ctx: Context, user_id: u64, key: String, value: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_storage` is never used [INFO] [stdout] --> src/commandlib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_user_storage(ctx: Context, user_id: u64, key: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_guild` is never used [INFO] [stdout] --> src/commandlib.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn get_guild(ctx: Context, msg: Message) -> Option{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nickname` is never used [INFO] [stdout] --> src/commandlib.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn get_nickname(ctx: Context, user: UserId, guild_id: GuildId) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ping` is never used [INFO] [stdout] --> src/commandlib.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | pub async fn ping(user_id: UserId) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.47s [INFO] running `Command { std: "docker" "inspect" "33e8c54d4cf9dc64837e17440f2e4cec18c8f6a9bfac0ee499641aff5fc5a1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e8c54d4cf9dc64837e17440f2e4cec18c8f6a9bfac0ee499641aff5fc5a1a7", kill_on_drop: false }` [INFO] [stdout] 33e8c54d4cf9dc64837e17440f2e4cec18c8f6a9bfac0ee499641aff5fc5a1a7