[INFO] cloning repository https://github.com/Googleton/tw-discord-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Googleton/tw-discord-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoogleton%2Ftw-discord-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoogleton%2Ftw-discord-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] defd5c2ba3d65fafa36e6263218625dedaa657c2 [INFO] building Googleton/tw-discord-bot against try#0179c3cb935eb588d407cb784f436ae84d99db5c for pr-107620-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoogleton%2Ftw-discord-bot" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Googleton/tw-discord-bot on toolchain 0179c3cb935eb588d407cb784f436ae84d99db5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Googleton/tw-discord-bot [INFO] finished tweaking git repo https://github.com/Googleton/tw-discord-bot [INFO] tweaked toml for git repo https://github.com/Googleton/tw-discord-bot written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Googleton/tw-discord-bot 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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe6a6bff5de06672cab4adfd6d2ee4a08293143aecacf158697d02e73e6d8368 [INFO] running `Command { std: "docker" "start" "-a" "fe6a6bff5de06672cab4adfd6d2ee4a08293143aecacf158697d02e73e6d8368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe6a6bff5de06672cab4adfd6d2ee4a08293143aecacf158697d02e73e6d8368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe6a6bff5de06672cab4adfd6d2ee4a08293143aecacf158697d02e73e6d8368", kill_on_drop: false }` [INFO] [stdout] fe6a6bff5de06672cab4adfd6d2ee4a08293143aecacf158697d02e73e6d8368 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f686908168790decdeb8826bfb2668a3c19778057af92a1734f0c9b4b0352ee1 [INFO] running `Command { std: "docker" "start" "-a" "f686908168790decdeb8826bfb2668a3c19778057af92a1734f0c9b4b0352ee1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling serenity v0.10.10 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling websocket v0.23.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling command_attr v0.3.8 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.23.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling headless_chrome v0.9.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling hugger_two v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ActivityType` [INFO] [stdout] --> src/api/tribalapi.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use serenity::model::gateway::{Activity, ActivityType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TribalWars` [INFO] [stdout] --> src/commands/tribal.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::api::models::{TribalWars, Tribe}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/commands/tribal.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/commands/tribal.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Args` [INFO] [stdout] --> src/commands/misc.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use serenity::framework::standard::{Args, CommandResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeMap` [INFO] [stdout] --> src/main.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 31 | use serenity::prelude::{Context, EventHandler, TypeMap, TypeMapKey}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockWriteGuard` [INFO] [stdout] --> src/main.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | use tokio::sync::{Mutex, RwLock, RwLockWriteGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/misc.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | async fn time_to(ctx: &Context, msg: &Message) -> CommandResult { [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: `msg` [INFO] [stdout] --> src/commands/misc.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | async fn time_to(ctx: &Context, msg: &Message) -> CommandResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | / msg.channel_id [INFO] [stdout] 174 | | .send_message(&_ctx.http, |m| m.add_file("report.png")) [INFO] [stdout] 175 | | .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: unused `Result` that must be used [INFO] [stdout] --> src/api/tribalapi.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | download_file("https://en125.tribalwars.net/map/village.txt").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/tribalapi.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | download_file("https://en125.tribalwars.net/map/ally.txt").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/tribalapi.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | download_file("https://en125.tribalwars.net/map/player.txt").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/tribalapi.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / match dest { [INFO] [stdout] 86 | | Ok(mut file) => file.write(content.as_bytes()), [INFO] [stdout] 87 | | Err(e) => panic!("Uh oh, stinky. {:?}", e), [INFO] [stdout] 88 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/tribal.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | / msg.channel_id [INFO] [stdout] 249 | | .send_message(&_ctx.http, |m| { [INFO] [stdout] 250 | | m.content("").embed(|e| { [INFO] [stdout] 251 | | e.title(format!("{} ({}|{})", village.name, village.x, village.y)) [INFO] [stdout] ... | [INFO] [stdout] 277 | | }) [INFO] [stdout] 278 | | .await; [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [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" "f686908168790decdeb8826bfb2668a3c19778057af92a1734f0c9b4b0352ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f686908168790decdeb8826bfb2668a3c19778057af92a1734f0c9b4b0352ee1", kill_on_drop: false }` [INFO] [stdout] f686908168790decdeb8826bfb2668a3c19778057af92a1734f0c9b4b0352ee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7237def65d28b822d9e79ec2439680b4883ff9aa7b0081fce5250d7a91fc5c35 [INFO] running `Command { std: "docker" "start" "-a" "7237def65d28b822d9e79ec2439680b4883ff9aa7b0081fce5250d7a91fc5c35", kill_on_drop: false }` [INFO] [stderr] Compiling hugger_two v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ActivityType` [INFO] [stdout] --> src/api/tribalapi.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use serenity::model::gateway::{Activity, ActivityType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TribalWars` [INFO] [stdout] --> src/commands/tribal.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::api::models::{TribalWars, Tribe}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/commands/tribal.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/commands/tribal.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Args` [INFO] [stdout] --> src/commands/misc.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use serenity::framework::standard::{Args, CommandResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeMap` [INFO] [stdout] --> src/main.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 31 | use serenity::prelude::{Context, EventHandler, TypeMap, TypeMapKey}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockWriteGuard` [INFO] [stdout] --> src/main.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | use tokio::sync::{Mutex, RwLock, RwLockWriteGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/misc.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | async fn time_to(ctx: &Context, msg: &Message) -> CommandResult { [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: `msg` [INFO] [stdout] --> src/commands/misc.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | async fn time_to(ctx: &Context, msg: &Message) -> CommandResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | / msg.channel_id [INFO] [stdout] 174 | | .send_message(&_ctx.http, |m| m.add_file("report.png")) [INFO] [stdout] 175 | | .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: unused `Result` that must be used [INFO] [stdout] --> src/api/tribalapi.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | download_file("https://en125.tribalwars.net/map/village.txt").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/tribalapi.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | download_file("https://en125.tribalwars.net/map/ally.txt").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/tribalapi.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | download_file("https://en125.tribalwars.net/map/player.txt").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/tribalapi.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / match dest { [INFO] [stdout] 86 | | Ok(mut file) => file.write(content.as_bytes()), [INFO] [stdout] 87 | | Err(e) => panic!("Uh oh, stinky. {:?}", e), [INFO] [stdout] 88 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/tribal.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | / msg.channel_id [INFO] [stdout] 249 | | .send_message(&_ctx.http, |m| { [INFO] [stdout] 250 | | m.content("").embed(|e| { [INFO] [stdout] 251 | | e.title(format!("{} ({}|{})", village.name, village.x, village.y)) [INFO] [stdout] ... | [INFO] [stdout] 277 | | }) [INFO] [stdout] 278 | | .await; [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [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" "7237def65d28b822d9e79ec2439680b4883ff9aa7b0081fce5250d7a91fc5c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7237def65d28b822d9e79ec2439680b4883ff9aa7b0081fce5250d7a91fc5c35", kill_on_drop: false }` [INFO] [stdout] 7237def65d28b822d9e79ec2439680b4883ff9aa7b0081fce5250d7a91fc5c35