[INFO] cloning repository https://github.com/ashen-dawn/seance-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashen-dawn/seance-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashen-dawn%2Fseance-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashen-dawn%2Fseance-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e6a11a19d0fec86c9c08d5ce9c5fcc176efde4b [INFO] building ashen-dawn/seance-rs against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashen-dawn%2Fseance-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashen-dawn/seance-rs on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ashen-dawn/seance-rs [INFO] finished tweaking git repo https://github.com/ashen-dawn/seance-rs [INFO] tweaked toml for git repo https://github.com/ashen-dawn/seance-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ashen-dawn/seance-rs 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26063161bf1158897b0fa2b1441ad449e42528a3c9e3e3e6792dc525a2e4f5cd [INFO] running `Command { std: "docker" "start" "-a" "26063161bf1158897b0fa2b1441ad449e42528a3c9e3e3e6792dc525a2e4f5cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26063161bf1158897b0fa2b1441ad449e42528a3c9e3e3e6792dc525a2e4f5cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26063161bf1158897b0fa2b1441ad449e42528a3c9e3e3e6792dc525a2e4f5cd", kill_on_drop: false }` [INFO] [stdout] 26063161bf1158897b0fa2b1441ad449e42528a3c9e3e3e6792dc525a2e4f5cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fd9b08c3ed23df9356e177dce601fabf17d8ff7b34efbff473d33c7933c44ab [INFO] running `Command { std: "docker" "start" "-a" "4fd9b08c3ed23df9356e177dce601fabf17d8ff7b34efbff473d33c7933c44ab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.103 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling base64 v0.21.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling winnow v0.5.35 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling twilight-gateway-queue v0.15.4 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tungstenite v0.18.0 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling twilight-http-ratelimiting v0.15.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-tungstenite v0.18.0 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling twilight-model v0.15.4 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling twilight-validate v0.15.3 [INFO] [stderr] Compiling twilight-mention v0.15.3 [INFO] [stderr] Compiling twilight-http v0.15.4 [INFO] [stderr] Compiling twilight-gateway v0.15.4 [INFO] [stderr] Compiling seance-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MessageReference`, `ReactionType`, and `marker::UserMarker` [INFO] [stdout] --> src/system/mod.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use twilight_model::{channel::message::{MessageReference, MessageType, ReactionType}, id::{marker::UserMarker, Id}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedMessage` [INFO] [stdout] --> src/system/mod.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | use self::message_parser::{Command, ParsedMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crossterm::{cursor::{self, MoveTo}, terminal::{Clear, ClearType, DisableLineWrap, EnableLineWrap, EnterAlternateScreen, LeaveAlternat... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::{HashMap, VecDeque}, fs, io::{self, Write}, sync::mpsc, thread::{self, sleep, JoinHandle}, time::Duration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `latch_state` [INFO] [stdout] --> src/system/message_parser.rs:84:110 [INFO] [stdout] | [INFO] [stdout] 84 | ...system_config: &System, latch_state: Option<(MemberId, Timestamp)>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latch_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/system/message_parser.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | fn check_correction(message: &FullMessage, secondary_message: Option<&FullMessage>) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secondary_message` [INFO] [stdout] --> src/system/message_parser.rs:167:48 [INFO] [stdout] | [INFO] [stdout] 167 | fn check_correction(message: &FullMessage, secondary_message: Option<&FullMessage>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secondary_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/system/mod.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | scope, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `scope: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:211:34 [INFO] [stdout] | [INFO] [stdout] 211 | fn update_ui(ui_state: &UiState, config: &config::Config) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_pattern` and `api_token` are never read [INFO] [stdout] --> src/config.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct PluralkitConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 45 | #[serde(deserialize_with = "parse_regex")] [INFO] [stdout] 46 | pub message_pattern: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub api_token: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluralkitConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `forward_pings`, `pluralkit`, and `ui_color` are never read [INFO] [stdout] --> src/config.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct System { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | pub forward_pings: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub autoproxy: Option, [INFO] [stdout] 57 | pub pluralkit: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | pub ui_color: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `System` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `presence` and `status` are never read [INFO] [stdout] --> src/config.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Member { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub presence: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_member_by_name` is never used [INFO] [stdout] --> src/system/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Manager { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn find_member_by_name<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `discord_token` is never read [INFO] [stdout] --> src/system/bot/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BotConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub discord_token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_message` is never used [INFO] [stdout] --> src/system/bot/mod.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl Bot { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn fetch_message(&self, message_id: MessageId, channel_id: ChannelId) -> TwiMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/system/bot/client.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | MessageValidation(twilight_validate::message::MessageValidationError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessageDuplicateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 201 - MessageValidation(twilight_validate::message::MessageValidationError), [INFO] [stdout] 201 + MessageValidation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/system/bot/client.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | AttachmentRequest(reqwest::Error), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessageDuplicateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 202 - AttachmentRequest(reqwest::Error), [INFO] [stdout] 202 + AttachmentRequest(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/system/bot/client.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | MessageCreate(twilight_http::error::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessageDuplicateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 203 - MessageCreate(twilight_http::error::Error), [INFO] [stdout] 203 + MessageCreate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/system/bot/client.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | ResponseDeserialization(twilight_http::response::DeserializeBodyError), [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessageDuplicateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 204 - ResponseDeserialization(twilight_http::response::DeserializeBodyError), [INFO] [stdout] 204 + ResponseDeserialization(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EditedMessage`, `NewReaction`, and `NewCommand` are never constructed [INFO] [stdout] --> src/system/types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum SystemEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | EditedMessage(MessageEvent), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | NewReaction(ReactionEvent), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | NewCommand(CommandEvent), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ReloadConfig`, `ShutdownSystem`, and `ShutdownAll` are never constructed [INFO] [stdout] --> src/system/types.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum SystemThreadCommand { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 47 | Restart, [INFO] [stdout] 48 | ReloadConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | ShutdownSystem, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | ShutdownAll, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EmoteAdd` and `EmoteRemove` are never constructed [INFO] [stdout] --> src/system/message_parser.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ParsedMessage { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | EmoteAdd(MemberId, MessageId, ()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | EmoteRemove(MemberId, MessageId, ()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ReloadSystemConfig`, `ExitSéance`, `UnknownCommand`, and `InvalidCommand` are never constructed [INFO] [stdout] --> src/system/message_parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | ReloadSystemConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | ExitSéance, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | UnknownCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | InvalidCommand [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/aggregator.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | ... self_emitter.send((timestamp, GatewayMessage::Complete(updated_message, member_id))).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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = self_emitter.send((timestamp, GatewayMessage::Complete(updated_message, member_id))).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/aggregator.rs:81:41 [INFO] [stdout] | [INFO] [stdout] 81 | / ... system_emitter.send( [INFO] [stdout] 82 | | ... SystemEvent::RefetchMessage(member_id, current_partial.id, current_partial.channel_id) [INFO] [stdout] 83 | | ... ).await; [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = system_emitter.send( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/aggregator.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | / ... system_emitter [INFO] [stdout] 105 | | ... .send(SystemEvent::NewMessage(timestamp, message, member_id)) [INFO] [stdout] 106 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = system_emitter [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/client.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / message_channel [INFO] [stdout] 73 | | .send((timestamp, Message::Complete(message, bot_conf.member_id))) [INFO] [stdout] 74 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = message_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | / system_channel [INFO] [stdout] 74 | | .send(SystemEvent::GatewayError(bot_conf.member_id, source.to_string())) [INFO] [stdout] 75 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = system_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | ... system_channel.send(SystemEvent::GatewayClosed(bot_conf.member_id)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = system_channel.send(SystemEvent::GatewayClosed(bot_conf.member_id)).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | / ... system_channel [INFO] [stdout] 85 | | ... .send(SystemEvent::GatewayConnected(bot_conf.member_id, ready.user.id)) [INFO] [stdout] 86 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = system_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | / ... message_channel [INFO] [stdout] 97 | | ... .send((message.timestamp, Message::Complete(message, bot_conf.member_id))) [INFO] [stdout] 98 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = message_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / ... message_channel [INFO] [stdout] 113 | | ... .send((message_update.edited_timestamp.unwrap(), Message::Partial(*message_update, bot_conf.member_id))) [INFO] [stdout] 114 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = message_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.81s [INFO] running `Command { std: "docker" "inspect" "4fd9b08c3ed23df9356e177dce601fabf17d8ff7b34efbff473d33c7933c44ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd9b08c3ed23df9356e177dce601fabf17d8ff7b34efbff473d33c7933c44ab", kill_on_drop: false }` [INFO] [stdout] 4fd9b08c3ed23df9356e177dce601fabf17d8ff7b34efbff473d33c7933c44ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1f8cb4ab54c19af5496054851035e82c327b0f24e06ff3ce4608914d7a382b0 [INFO] running `Command { std: "docker" "start" "-a" "b1f8cb4ab54c19af5496054851035e82c327b0f24e06ff3ce4608914d7a382b0", kill_on_drop: false }` [INFO] [stderr] Compiling seance-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MessageReference`, `ReactionType`, and `marker::UserMarker` [INFO] [stdout] --> src/system/mod.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use twilight_model::{channel::message::{MessageReference, MessageType, ReactionType}, id::{marker::UserMarker, Id}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedMessage` [INFO] [stdout] --> src/system/mod.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | use self::message_parser::{Command, ParsedMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crossterm::{cursor::{self, MoveTo}, terminal::{Clear, ClearType, DisableLineWrap, EnableLineWrap, EnterAlternateScreen, LeaveAlternat... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::{HashMap, VecDeque}, fs, io::{self, Write}, sync::mpsc, thread::{self, sleep, JoinHandle}, time::Duration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `latch_state` [INFO] [stdout] --> src/system/message_parser.rs:84:110 [INFO] [stdout] | [INFO] [stdout] 84 | ...system_config: &System, latch_state: Option<(MemberId, Timestamp)>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latch_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/system/message_parser.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | fn check_correction(message: &FullMessage, secondary_message: Option<&FullMessage>) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secondary_message` [INFO] [stdout] --> src/system/message_parser.rs:167:48 [INFO] [stdout] | [INFO] [stdout] 167 | fn check_correction(message: &FullMessage, secondary_message: Option<&FullMessage>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secondary_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/system/mod.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | scope, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `scope: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:211:34 [INFO] [stdout] | [INFO] [stdout] 211 | fn update_ui(ui_state: &UiState, config: &config::Config) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_pattern` and `api_token` are never read [INFO] [stdout] --> src/config.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct PluralkitConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 45 | #[serde(deserialize_with = "parse_regex")] [INFO] [stdout] 46 | pub message_pattern: Regex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub api_token: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluralkitConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `forward_pings`, `pluralkit`, and `ui_color` are never read [INFO] [stdout] --> src/config.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct System { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | pub forward_pings: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub autoproxy: Option, [INFO] [stdout] 57 | pub pluralkit: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | pub ui_color: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `System` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `presence` and `status` are never read [INFO] [stdout] --> src/config.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Member { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub presence: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_member_by_name` is never used [INFO] [stdout] --> src/system/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Manager { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn find_member_by_name<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `discord_token` is never read [INFO] [stdout] --> src/system/bot/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BotConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub discord_token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_message` is never used [INFO] [stdout] --> src/system/bot/mod.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl Bot { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn fetch_message(&self, message_id: MessageId, channel_id: ChannelId) -> TwiMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/system/bot/client.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | MessageValidation(twilight_validate::message::MessageValidationError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessageDuplicateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 201 - MessageValidation(twilight_validate::message::MessageValidationError), [INFO] [stdout] 201 + MessageValidation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/system/bot/client.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | AttachmentRequest(reqwest::Error), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessageDuplicateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 202 - AttachmentRequest(reqwest::Error), [INFO] [stdout] 202 + AttachmentRequest(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/system/bot/client.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | MessageCreate(twilight_http::error::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessageDuplicateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 203 - MessageCreate(twilight_http::error::Error), [INFO] [stdout] 203 + MessageCreate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/system/bot/client.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | ResponseDeserialization(twilight_http::response::DeserializeBodyError), [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessageDuplicateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 204 - ResponseDeserialization(twilight_http::response::DeserializeBodyError), [INFO] [stdout] 204 + ResponseDeserialization(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EditedMessage`, `NewReaction`, and `NewCommand` are never constructed [INFO] [stdout] --> src/system/types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum SystemEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | EditedMessage(MessageEvent), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | NewReaction(ReactionEvent), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | NewCommand(CommandEvent), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ReloadConfig`, `ShutdownSystem`, and `ShutdownAll` are never constructed [INFO] [stdout] --> src/system/types.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum SystemThreadCommand { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 47 | Restart, [INFO] [stdout] 48 | ReloadConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | ShutdownSystem, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | ShutdownAll, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EmoteAdd` and `EmoteRemove` are never constructed [INFO] [stdout] --> src/system/message_parser.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ParsedMessage { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | EmoteAdd(MemberId, MessageId, ()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | EmoteRemove(MemberId, MessageId, ()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ReloadSystemConfig`, `ExitSéance`, `UnknownCommand`, and `InvalidCommand` are never constructed [INFO] [stdout] --> src/system/message_parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | ReloadSystemConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | ExitSéance, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | UnknownCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | InvalidCommand [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/aggregator.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | ... self_emitter.send((timestamp, GatewayMessage::Complete(updated_message, member_id))).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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = self_emitter.send((timestamp, GatewayMessage::Complete(updated_message, member_id))).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/aggregator.rs:81:41 [INFO] [stdout] | [INFO] [stdout] 81 | / ... system_emitter.send( [INFO] [stdout] 82 | | ... SystemEvent::RefetchMessage(member_id, current_partial.id, current_partial.channel_id) [INFO] [stdout] 83 | | ... ).await; [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = system_emitter.send( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/aggregator.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | / ... system_emitter [INFO] [stdout] 105 | | ... .send(SystemEvent::NewMessage(timestamp, message, member_id)) [INFO] [stdout] 106 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = system_emitter [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/client.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / message_channel [INFO] [stdout] 73 | | .send((timestamp, Message::Complete(message, bot_conf.member_id))) [INFO] [stdout] 74 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = message_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | / system_channel [INFO] [stdout] 74 | | .send(SystemEvent::GatewayError(bot_conf.member_id, source.to_string())) [INFO] [stdout] 75 | | .await; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = system_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | ... system_channel.send(SystemEvent::GatewayClosed(bot_conf.member_id)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = system_channel.send(SystemEvent::GatewayClosed(bot_conf.member_id)).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | / ... system_channel [INFO] [stdout] 85 | | ... .send(SystemEvent::GatewayConnected(bot_conf.member_id, ready.user.id)) [INFO] [stdout] 86 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = system_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | / ... message_channel [INFO] [stdout] 97 | | ... .send((message.timestamp, Message::Complete(message, bot_conf.member_id))) [INFO] [stdout] 98 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = message_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/bot/gateway.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | / ... message_channel [INFO] [stdout] 113 | | ... .send((message_update.edited_timestamp.unwrap(), Message::Partial(*message_update, bot_conf.member_id))) [INFO] [stdout] 114 | | ... .await; [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = message_channel [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "b1f8cb4ab54c19af5496054851035e82c327b0f24e06ff3ce4608914d7a382b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1f8cb4ab54c19af5496054851035e82c327b0f24e06ff3ce4608914d7a382b0", kill_on_drop: false }` [INFO] [stdout] b1f8cb4ab54c19af5496054851035e82c327b0f24e06ff3ce4608914d7a382b0