[INFO] cloning repository https://github.com/ominit/discidium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ominit/discidium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fominit%2Fdiscidium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fominit%2Fdiscidium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0dd794a16e9a9794112f6dad86d38f16e06ac49a [INFO] building ominit/discidium against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fominit%2Fdiscidium" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ominit/discidium 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] started tweaking git repo https://github.com/ominit/discidium [INFO] finished tweaking git repo https://github.com/ominit/discidium [INFO] tweaked toml for git repo https://github.com/ominit/discidium written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ominit/discidium 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ewebsock v0.8.0 [INFO] [stderr] Downloaded yew-autoprops v0.4.1 [INFO] [stderr] Downloaded zvariant_utils v3.1.0 [INFO] [stderr] Downloaded tauri-plugin v2.0.4 [INFO] [stderr] Downloaded tauri-macros v2.0.4 [INFO] [stderr] Downloaded embed-resource v2.5.1 [INFO] [stderr] Downloaded tauri-build v2.0.5 [INFO] [stderr] Downloaded keyring v3.6.1 [INFO] [stderr] Downloaded tauri-runtime v2.3.0 [INFO] [stderr] Downloaded zbus_macros v5.3.0 [INFO] [stderr] Downloaded tauri-runtime-wry v2.3.0 [INFO] [stderr] Downloaded zbus v5.3.0 [INFO] [stderr] Downloaded zbus_names v4.1.1 [INFO] [stderr] Downloaded tauri-codegen v2.0.4 [INFO] [stderr] Downloaded zvariant v5.2.0 [INFO] [stderr] Downloaded tauri-plugin-opener v2.2.4 [INFO] [stderr] Downloaded dbus-secret-service v4.0.3 [INFO] [stderr] Downloaded zvariant_derive v5.2.0 [INFO] [stderr] Downloaded tauri v2.2.2 [INFO] [stderr] Downloaded tauri-utils v2.1.1 [INFO] [stderr] Downloaded window-vibrancy v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 110867a210d3d30d2f0e405b55b3a2dd9fe815933fbd41a495f050058538054b [INFO] running `Command { std: "docker" "start" "-a" "110867a210d3d30d2f0e405b55b3a2dd9fe815933fbd41a495f050058538054b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "110867a210d3d30d2f0e405b55b3a2dd9fe815933fbd41a495f050058538054b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110867a210d3d30d2f0e405b55b3a2dd9fe815933fbd41a495f050058538054b", kill_on_drop: false }` [INFO] [stdout] 110867a210d3d30d2f0e405b55b3a2dd9fe815933fbd41a495f050058538054b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d6159e4dc7d393a7213edec7692eea7637196a9283052d6a64181bb345fd87b8 [INFO] running `Command { std: "docker" "start" "-a" "d6159e4dc7d393a7213edec7692eea7637196a9283052d6a64181bb345fd87b8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling data-encoding v2.7.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling dbus-secret-service v4.0.3 [INFO] [stderr] Compiling implicit-clone v0.4.9 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling linux-keyutils v0.2.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling keyring v3.6.1 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling ewebsock v0.8.0 [INFO] [stderr] Compiling yew-autoprops v0.4.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-render v0.2.0 [INFO] [stderr] Compiling gloo-dialogs v0.2.0 [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stderr] Compiling gloo-history v0.2.2 [INFO] [stderr] Compiling gloo-worker v0.4.0 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-net v0.4.0 [INFO] [stderr] Compiling gloo v0.10.0 [INFO] [stderr] Compiling yew v0.21.0 [INFO] [stderr] Compiling discidium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `mpsc`, and `net::TcpStream` [INFO] [stdout] --> src/api/connection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | net::TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | rc::Rc, [INFO] [stdout] 5 | sync::{mpsc, Arc, Mutex}, [INFO] [stdout] | ^^^^ ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/api/connection.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WsReceiver` and `WsSender` [INFO] [stdout] --> src/api/connection.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | use ewebsock::{connect, Options, WsEvent, WsMessage, WsReceiver, WsSender}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/api/connection.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | channel::mpsc::{Receiver, Sender, UnboundedReceiver, UnboundedSender}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Time` [INFO] [stdout] --> src/api/connection.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use time::Time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console::time` [INFO] [stdout] --> src/api/connection.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use web_sys::console::time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::*` [INFO] [stdout] --> src/api/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use model::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::State` [INFO] [stdout] --> src/api/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use state::State; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/ui/components/login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::FutureExt` [INFO] [stdout] --> src/ui/components/login.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnwrapThrowExt` [INFO] [stdout] --> src/ui/components/login.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen::{JsCast, UnwrapThrowExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UseStateHandle` and `platform::pinned::mpsc::UnboundedSender` [INFO] [stdout] --> src/ui/components/login.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | function_component, html, platform::pinned::mpsc::UnboundedSender, use_state, Callback, Html, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | InputEvent, UseStateHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENDPOINT_URL` is never used [INFO] [stdout] --> src/api/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ENDPOINT_URL: &str = "https://discord.com/api/v9/"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_AGENT` is never used [INFO] [stdout] --> src/api/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const USER_AGENT: &str = "discidium"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ratelimits` and `client` are never read [INFO] [stdout] --> src/api/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | ratelimits: RateLimits, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `request` is never used [INFO] [stdout] --> src/api/client.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 17 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | async fn request( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/connection.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 25 | ws_sender: UnboundedSender, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | ws_receiver: UnboundedReceiver, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | token: SecretString, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | session_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | last_sequence: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | identify: Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | user_id: UserId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | ws_url: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SendMessage`, `Sequence`, `ChangeInterval`, and `Aborted` are never constructed [INFO] [stdout] --> src/api/connection.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 201 | SendMessage(Value), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 202 | Sequence(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 203 | ChangeInterval(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 204 | Aborted, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global` and `endpoints` are never read [INFO] [stdout] --> src/api/ratelimit.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RateLimits { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | global: Mutex, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | endpoints: Mutex>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimits` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pre_check` and `check_for_ratelimit` are never used [INFO] [stdout] --> src/api/ratelimit.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RateLimits { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 12 | pub fn pre_check(&self, url: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn check_for_ratelimit(&self, url: &str, response: &reqwest::Response) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reset`, `limit`, and `remaining` are never read [INFO] [stdout] --> src/api/ratelimit.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct RateLimit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | reset: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | limit: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | remaining: isize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimit` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pre_check` and `check_for_ratelimit` are never used [INFO] [stdout] --> src/api/ratelimit.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl RateLimit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 49 | fn pre_check(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn check_for_ratelimit(&mut self, response: &reqwest::Response) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `presences`, `private_channels`, and `user` are never read [INFO] [stdout] --> src/api/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | presences: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub private_channels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | user: CurrentUser, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/api/state.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn update(&mut self, event: &Event) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `connection` are never read [INFO] [stdout] --> src/ui/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct DiscidiumData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 77 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | connection: Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_token` is never used [INFO] [stdout] --> src/ui/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl DiscidiumData { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn delete_token() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/model.rs:919:17 [INFO] [stdout] | [INFO] [stdout] 919 | pub fn name(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 919 | pub fn name(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 30s [INFO] running `Command { std: "docker" "inspect" "d6159e4dc7d393a7213edec7692eea7637196a9283052d6a64181bb345fd87b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6159e4dc7d393a7213edec7692eea7637196a9283052d6a64181bb345fd87b8", kill_on_drop: false }` [INFO] [stdout] d6159e4dc7d393a7213edec7692eea7637196a9283052d6a64181bb345fd87b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8ba6fcc64270c9ad3ef0942b1d5f5277795c8e2e37acd5afd77d481bfb92d8be [INFO] running `Command { std: "docker" "start" "-a" "8ba6fcc64270c9ad3ef0942b1d5f5277795c8e2e37acd5afd77d481bfb92d8be", kill_on_drop: false }` [INFO] [stderr] Compiling discidium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `mpsc`, and `net::TcpStream` [INFO] [stdout] --> src/api/connection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | net::TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | rc::Rc, [INFO] [stdout] 5 | sync::{mpsc, Arc, Mutex}, [INFO] [stdout] | ^^^^ ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/api/connection.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WsReceiver` and `WsSender` [INFO] [stdout] --> src/api/connection.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | use ewebsock::{connect, Options, WsEvent, WsMessage, WsReceiver, WsSender}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/api/connection.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | channel::mpsc::{Receiver, Sender, UnboundedReceiver, UnboundedSender}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Time` [INFO] [stdout] --> src/api/connection.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use time::Time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console::time` [INFO] [stdout] --> src/api/connection.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use web_sys::console::time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::*` [INFO] [stdout] --> src/api/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use model::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::State` [INFO] [stdout] --> src/api/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use state::State; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/ui/components/login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::FutureExt` [INFO] [stdout] --> src/ui/components/login.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnwrapThrowExt` [INFO] [stdout] --> src/ui/components/login.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen::{JsCast, UnwrapThrowExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UseStateHandle` and `platform::pinned::mpsc::UnboundedSender` [INFO] [stdout] --> src/ui/components/login.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | function_component, html, platform::pinned::mpsc::UnboundedSender, use_state, Callback, Html, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | InputEvent, UseStateHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENDPOINT_URL` is never used [INFO] [stdout] --> src/api/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ENDPOINT_URL: &str = "https://discord.com/api/v9/"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_AGENT` is never used [INFO] [stdout] --> src/api/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const USER_AGENT: &str = "discidium"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ratelimits` and `client` are never read [INFO] [stdout] --> src/api/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | ratelimits: RateLimits, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `request` is never used [INFO] [stdout] --> src/api/client.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 17 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | async fn request( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/connection.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 25 | ws_sender: UnboundedSender, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | ws_receiver: UnboundedReceiver, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | token: SecretString, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | session_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | last_sequence: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | identify: Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | user_id: UserId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | ws_url: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SendMessage`, `Sequence`, `ChangeInterval`, and `Aborted` are never constructed [INFO] [stdout] --> src/api/connection.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 200 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 201 | SendMessage(Value), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 202 | Sequence(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 203 | ChangeInterval(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 204 | Aborted, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global` and `endpoints` are never read [INFO] [stdout] --> src/api/ratelimit.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RateLimits { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | global: Mutex, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | endpoints: Mutex>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimits` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pre_check` and `check_for_ratelimit` are never used [INFO] [stdout] --> src/api/ratelimit.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RateLimits { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 12 | pub fn pre_check(&self, url: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn check_for_ratelimit(&self, url: &str, response: &reqwest::Response) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reset`, `limit`, and `remaining` are never read [INFO] [stdout] --> src/api/ratelimit.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct RateLimit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | reset: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | limit: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | remaining: isize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimit` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pre_check` and `check_for_ratelimit` are never used [INFO] [stdout] --> src/api/ratelimit.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl RateLimit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 49 | fn pre_check(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn check_for_ratelimit(&mut self, response: &reqwest::Response) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `presences`, `private_channels`, and `user` are never read [INFO] [stdout] --> src/api/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | presences: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub private_channels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | user: CurrentUser, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/api/state.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn update(&mut self, event: &Event) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `connection` are never read [INFO] [stdout] --> src/ui/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct DiscidiumData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 77 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | connection: Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_token` is never used [INFO] [stdout] --> src/ui/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl DiscidiumData { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn delete_token() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/api/model.rs:919:17 [INFO] [stdout] | [INFO] [stdout] 919 | pub fn name(&self) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 919 | pub fn name(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "8ba6fcc64270c9ad3ef0942b1d5f5277795c8e2e37acd5afd77d481bfb92d8be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba6fcc64270c9ad3ef0942b1d5f5277795c8e2e37acd5afd77d481bfb92d8be", kill_on_drop: false }` [INFO] [stdout] 8ba6fcc64270c9ad3ef0942b1d5f5277795c8e2e37acd5afd77d481bfb92d8be