[INFO] cloning repository https://github.com/daladal/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/daladal/discord-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaladal%2Fdiscord-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaladal%2Fdiscord-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecfe7871936962443d853520b7cdccdc31e20c2e [INFO] testing daladal/discord-bot against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaladal%2Fdiscord-bot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/daladal/discord-bot [INFO] finished tweaking git repo https://github.com/daladal/discord-bot [INFO] tweaked toml for git repo https://github.com/daladal/discord-bot written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/daladal/discord-bot on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/daladal/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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typesize-derive v0.1.11 [INFO] [stderr] Downloaded serde_cow v0.1.2 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded typesize v0.1.14 [INFO] [stderr] Downloaded command_attr v0.5.3 [INFO] [stderr] Downloaded rsa v0.9.9 [INFO] [stderr] Downloaded triomphe v0.1.15 [INFO] [stderr] Downloaded rustls-pki-types v1.13.0 [INFO] [stderr] Downloaded icu_properties v2.1.1 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded hyper-util v0.1.18 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded icu_properties_data v2.1.1 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] [stderr] Downloaded rustls v0.22.4 [INFO] [stderr] Downloaded serenity v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3237cfa0a1752b73658c601469946911914cada5ba1758c64977970453e4213 [INFO] running `Command { std: "docker" "start" "-a" "c3237cfa0a1752b73658c601469946911914cada5ba1758c64977970453e4213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3237cfa0a1752b73658c601469946911914cada5ba1758c64977970453e4213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3237cfa0a1752b73658c601469946911914cada5ba1758c64977970453e4213", kill_on_drop: false }` [INFO] [stdout] c3237cfa0a1752b73658c601469946911914cada5ba1758c64977970453e4213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a49dd79749b281fecb1b3af5d6fbad961cb4be75a33c519da378924558557e18 [INFO] running `Command { std: "docker" "start" "-a" "a49dd79749b281fecb1b3af5d6fbad961cb4be75a33c519da378924558557e18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling discord_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Region` and `RiotAccount` [INFO] [stdout] --> src/riot/mod.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use types::{RiotAccount, Region}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sea` is never constructed [INFO] [stdout] --> src/riot/types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Region { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Sea, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Region` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `age` and `update` are never used [INFO] [stdout] --> src/cache/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CachedData { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn age(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn update(&mut self, data: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUMMONER_PROFILE` is never used [INFO] [stdout] --> src/cache/mod.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub const SUMMONER_PROFILE: Duration = Duration::from_secs(3600); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MATCH_HISTORY` is never used [INFO] [stdout] --> src/cache/mod.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub const MATCH_HISTORY: Duration = Duration::from_secs(3600); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 01s [INFO] running `Command { std: "docker" "inspect" "a49dd79749b281fecb1b3af5d6fbad961cb4be75a33c519da378924558557e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a49dd79749b281fecb1b3af5d6fbad961cb4be75a33c519da378924558557e18", kill_on_drop: false }` [INFO] [stdout] a49dd79749b281fecb1b3af5d6fbad961cb4be75a33c519da378924558557e18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc84958adf9bfa9832b9e4d8087cd9e8e821f80955f34d8da13bf0a56a461370 [INFO] running `Command { std: "docker" "start" "-a" "dc84958adf9bfa9832b9e4d8087cd9e8e821f80955f34d8da13bf0a56a461370", kill_on_drop: false }` [INFO] [stderr] Compiling discord_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Region` and `RiotAccount` [INFO] [stdout] --> src/riot/mod.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use types::{RiotAccount, Region}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sea` is never constructed [INFO] [stdout] --> src/riot/types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Region { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Sea, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Region` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `age` and `update` are never used [INFO] [stdout] --> src/cache/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CachedData { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn age(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn update(&mut self, data: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUMMONER_PROFILE` is never used [INFO] [stdout] --> src/cache/mod.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub const SUMMONER_PROFILE: Duration = Duration::from_secs(3600); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MATCH_HISTORY` is never used [INFO] [stdout] --> src/cache/mod.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub const MATCH_HISTORY: Duration = Duration::from_secs(3600); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.84s [INFO] running `Command { std: "docker" "inspect" "dc84958adf9bfa9832b9e4d8087cd9e8e821f80955f34d8da13bf0a56a461370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc84958adf9bfa9832b9e4d8087cd9e8e821f80955f34d8da13bf0a56a461370", kill_on_drop: false }` [INFO] [stdout] dc84958adf9bfa9832b9e4d8087cd9e8e821f80955f34d8da13bf0a56a461370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68fb100a3ae54f4add436405dec92ec83274a2e3518f2f61c1d8c3745e24394d [INFO] running `Command { std: "docker" "start" "-a" "68fb100a3ae54f4add436405dec92ec83274a2e3518f2f61c1d8c3745e24394d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Region` and `RiotAccount` [INFO] [stderr] --> src/riot/mod.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | pub use types::{RiotAccount, Region}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Sea` is never constructed [INFO] [stderr] --> src/riot/types.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum Region { [INFO] [stderr] | ------ variant in this enum [INFO] [stderr] ... [INFO] [stderr] 17 | Sea, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Region` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `age` and `update` are never used [INFO] [stderr] --> src/cache/mod.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl CachedData { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn age(&self) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn update(&mut self, data: T) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SUMMONER_PROFILE` is never used [INFO] [stderr] --> src/cache/mod.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | pub const SUMMONER_PROFILE: Duration = Duration::from_secs(3600); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MATCH_HISTORY` is never used [INFO] [stderr] --> src/cache/mod.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | pub const MATCH_HISTORY: Duration = Duration::from_secs(3600); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `discord_bot` (bin "discord_bot" test) generated 5 warnings (run `cargo fix --bin "discord_bot" -p discord_bot --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/discord_bot-fb905b222bb201d4) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test utils::parser::tests::test_empty ... ok [INFO] [stdout] test utils::parser::tests::test_simple_args ... ok [INFO] [stdout] test utils::parser::tests::test_multiple_quotes ... ok [INFO] [stdout] test utils::parser::tests::test_quoted_args ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68fb100a3ae54f4add436405dec92ec83274a2e3518f2f61c1d8c3745e24394d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68fb100a3ae54f4add436405dec92ec83274a2e3518f2f61c1d8c3745e24394d", kill_on_drop: false }` [INFO] [stdout] 68fb100a3ae54f4add436405dec92ec83274a2e3518f2f61c1d8c3745e24394d