[INFO] cloning repository https://github.com/cathiecode/superneko-telescope-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cathiecode/superneko-telescope-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcathiecode%2Fsuperneko-telescope-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcathiecode%2Fsuperneko-telescope-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0d104041003d16cb8bf610c8c53102b08c2f5bc [INFO] checking cathiecode/superneko-telescope-backend against try#ec8d137b933d39ddf0a2878617a0335f0f9d7116 for pr-116607 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcathiecode%2Fsuperneko-telescope-backend" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cathiecode/superneko-telescope-backend on toolchain ec8d137b933d39ddf0a2878617a0335f0f9d7116 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/cathiecode/superneko-telescope-backend [INFO] finished tweaking git repo https://github.com/cathiecode/superneko-telescope-backend [INFO] tweaked toml for git repo https://github.com/cathiecode/superneko-telescope-backend written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cathiecode/superneko-telescope-backend 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" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 046e8d54348fc245d696c9a8c42792ac56c4b0cb457cf0222982d04245556500 [INFO] running `Command { std: "docker" "start" "-a" "046e8d54348fc245d696c9a8c42792ac56c4b0cb457cf0222982d04245556500", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "046e8d54348fc245d696c9a8c42792ac56c4b0cb457cf0222982d04245556500", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "046e8d54348fc245d696c9a8c42792ac56c4b0cb457cf0222982d04245556500", kill_on_drop: false }` [INFO] [stdout] 046e8d54348fc245d696c9a8c42792ac56c4b0cb457cf0222982d04245556500 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edc9851f6a0a3c2758d49f3ca1b2afbc3e5e8c3ed6046c61e7c12ab8b85c7997 [INFO] running `Command { std: "docker" "start" "-a" "edc9851f6a0a3c2758d49f3ca1b2afbc3e5e8c3ed6046c61e7c12ab8b85c7997", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking local-waker v0.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Checking brotli-decompressor v2.5.0 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking regex-automata v0.3.9 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking local-channel v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking linux-raw-sys v0.4.8 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking time v0.3.29 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking regex v1.9.6 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking actix-codec v0.5.1 [INFO] [stderr] Checking actix v0.13.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-http v3.4.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking actix-web v4.4.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking actix-web-actors v4.2.0 [INFO] [stderr] Checking sneko-telescope-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashMap`, `str::FromStr`, `sync::Arc` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, str::FromStr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `str::FromStr`, `sync::Arc` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, str::FromStr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpServer`, `cookie::time::Time`, `dev::Service` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{dev::Service, get, web, HttpRequest, HttpResponse, HttpServer, Responder, cookie::time::Time}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_actors::ws` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web_actors::ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `TryFutureExt` [INFO] [stdout] --> src/main.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | use futures_util::{stream::StreamExt, SinkExt, Stream, TryFutureExt, Future}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::HeaderValue` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::header::HeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpServer`, `cookie::time::Time`, `dev::Service` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{dev::Service, get, web, HttpRequest, HttpResponse, HttpServer, Responder, cookie::time::Time}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_actors::ws` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web_actors::ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `TryFutureExt` [INFO] [stdout] --> src/main.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | use futures_util::{stream::StreamExt, SinkExt, Stream, TryFutureExt, Future}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::HeaderValue` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::header::HeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | if let Err(e) = write.send("h".into()).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | ... Err(e) => debug!("Received non-json {:?}", &text), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | if let Err(e) = write.send("h".into()).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | ... Err(e) => debug!("Received non-json {:?}", &text), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authorized` [INFO] [stdout] --> src/main.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | let authorized = req [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authorized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authorized` [INFO] [stdout] --> src/main.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | let authorized = req [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authorized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | fn handle(&mut self, msg: TimelineStreamerStopMessage, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:26:60 [INFO] [stdout] | [INFO] [stdout] 26 | fn handle(&mut self, msg: TimelineStreamerStopMessage, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | fn handle(&mut self, item: Vec, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | fn handle(&mut self, item: Vec, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_supervisor` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming_websocket.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(stream_supervisor: Addr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_supervisor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming_websocket.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | fn handle(&mut self, item: Vec, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | fn handle(&mut self, item: Vec, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_supervisor` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming_websocket.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(stream_supervisor: Addr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_supervisor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming_websocket.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:395:27 [INFO] [stdout] | [INFO] [stdout] 395 | fn stopped(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/main.rs:401:26 [INFO] [stdout] | [INFO] [stdout] 401 | fn handle(&mut self, item: Timeline, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:401:42 [INFO] [stdout] | [INFO] [stdout] 401 | fn handle(&mut self, item: Timeline, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:409:26 [INFO] [stdout] | [INFO] [stdout] 409 | fn handle(&mut self, msg: StreamingError, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:409:47 [INFO] [stdout] | [INFO] [stdout] 409 | fn handle(&mut self, msg: StreamingError, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetTimelineOption` is never constructed [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct GetTimelineOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:395:27 [INFO] [stdout] | [INFO] [stdout] 395 | fn stopped(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MultiChannelReceiver` is never used [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type MultiChannelReceiver = tokio::sync::broadcast::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/main.rs:401:26 [INFO] [stdout] | [INFO] [stdout] 401 | fn handle(&mut self, item: Timeline, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:401:42 [INFO] [stdout] | [INFO] [stdout] 401 | fn handle(&mut self, item: Timeline, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SingleChannelSender` is never used [INFO] [stdout] --> src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type SingleChannelSender = tokio::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:409:26 [INFO] [stdout] | [INFO] [stdout] 409 | fn handle(&mut self, msg: StreamingError, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `softwareName`, `iconUrl`, `faviconUrl`, and `themeColor` are never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Instance { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 34 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | softwareName: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | iconUrl: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | faviconUrl: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | themeColor: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` 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: fields `name`, `username`, `host`, and `instance` are never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 43 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | instance: Instance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:409:47 [INFO] [stdout] | [INFO] [stdout] 409 | fn handle(&mut self, msg: StreamingError, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `createdAt` and `user` are never read [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct TimelineItem { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 51 | createdAt: Date, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimelineItem` 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: struct `TimelineStreamReceiver` is never constructed [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct TimelineStreamReceiver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct NodeInfoSoftware { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 71 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeInfoSoftware` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `software` is never read [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct NodeInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 77 | software: NodeInfoSoftware, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 80 | impl MisskeyDirectStreaming { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 81 | async fn new(mut host: Url) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Strategy` is never used [INFO] [stdout] --> src/main.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 242 | enum Strategy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_remote_software` is never used [INFO] [stdout] --> src/main.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 246 | async fn get_remote_software(host: &Url) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_stream` is never used [INFO] [stdout] --> src/main.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | async fn get_stream(host: Url) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `misskey_direct_streaming` is never used [INFO] [stdout] --> src/main.rs:273:10 [INFO] [stdout] | [INFO] [stdout] 273 | async fn misskey_direct_streaming(mut host: Url) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddClientRequest` is never constructed [INFO] [stdout] --> src/main.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | struct AddClientRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dest` is never read [INFO] [stdout] --> src/main.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 377 | struct TimelineStreamingActor { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 378 | dest: Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start` is never used [INFO] [stdout] --> src/main.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 381 | impl TimelineStreamingActor { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 382 | pub fn start(timeline_stream: std::pin::Pin>>) -> Addr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `base_url` are never used [INFO] [stdout] --> src/types.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Host { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 9 | fn new(url: Url) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn base_url(&self) -> &Url { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 48 | impl TimelineStreamerActor { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(timeline_stream: impl Stream> + 'static, supervisor: Addr) -> Addr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeline` is never read [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | struct TimelineMessage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 128 | timeline: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming_websocket.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl TimelineStreamWebsocket { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 13 | fn new(stream_supervisor: Addr) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitBreaker` is never constructed [INFO] [stdout] --> src/main.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | struct CircuitBreaker { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `global` and `readed` are never used [INFO] [stdout] --> src/main.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl CircuitBreaker { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 177 | fn global() -> &'static Mutex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn readed() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/main.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | pub async fn get(url: Url) -> reqwest::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ws_connect_async` is never used [INFO] [stdout] --> src/main.rs:235:18 [INFO] [stdout] | [INFO] [stdout] 235 | pub async fn ws_connect_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `softwareName` should have a snake case name [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | softwareName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `software_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `iconUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | iconUrl: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `icon_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `faviconUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | faviconUrl: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `favicon_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `themeColor` should have a snake case name [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | themeColor: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `theme_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createdAt` should have a snake case name [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | createdAt: Date, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetTimelineOption` is never constructed [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct GetTimelineOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MultiChannelReceiver` is never used [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type MultiChannelReceiver = tokio::sync::broadcast::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SingleChannelSender` is never used [INFO] [stdout] --> src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type SingleChannelSender = tokio::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `softwareName`, `iconUrl`, `faviconUrl`, and `themeColor` are never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Instance { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 34 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | softwareName: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | iconUrl: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | faviconUrl: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | themeColor: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` 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: fields `name`, `username`, `host`, and `instance` are never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 43 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | instance: Instance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: fields `createdAt` and `user` are never read [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct TimelineItem { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 51 | createdAt: Date, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimelineItem` 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: struct `TimelineStreamReceiver` is never constructed [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct TimelineStreamReceiver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct NodeInfoSoftware { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 71 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeInfoSoftware` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `software` is never read [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct NodeInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 77 | software: NodeInfoSoftware, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 80 | impl MisskeyDirectStreaming { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 81 | async fn new(mut host: Url) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Strategy` is never used [INFO] [stdout] --> src/main.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 242 | enum Strategy { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_remote_software` is never used [INFO] [stdout] --> src/main.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 246 | async fn get_remote_software(host: &Url) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_stream` is never used [INFO] [stdout] --> src/main.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | async fn get_stream(host: Url) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `misskey_direct_streaming` is never used [INFO] [stdout] --> src/main.rs:273:10 [INFO] [stdout] | [INFO] [stdout] 273 | async fn misskey_direct_streaming(mut host: Url) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddClientRequest` is never constructed [INFO] [stdout] --> src/main.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | struct AddClientRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dest` is never read [INFO] [stdout] --> src/main.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 377 | struct TimelineStreamingActor { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 378 | dest: Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start` is never used [INFO] [stdout] --> src/main.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 381 | impl TimelineStreamingActor { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 382 | pub fn start(timeline_stream: std::pin::Pin>>) -> Addr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `base_url` are never used [INFO] [stdout] --> src/types.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Host { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 9 | fn new(url: Url) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn base_url(&self) -> &Url { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 48 | impl TimelineStreamerActor { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(timeline_stream: impl Stream> + 'static, supervisor: Addr) -> Addr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeline` is never read [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | struct TimelineMessage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 128 | timeline: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/timeline_stream/actors/timeline_streaming_websocket.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl TimelineStreamWebsocket { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 13 | fn new(stream_supervisor: Addr) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircuitBreaker` is never constructed [INFO] [stdout] --> src/main.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | struct CircuitBreaker { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `global` and `readed` are never used [INFO] [stdout] --> src/main.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl CircuitBreaker { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 177 | fn global() -> &'static Mutex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | fn readed() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/main.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | pub async fn get(url: Url) -> reqwest::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ws_connect_async` is never used [INFO] [stdout] --> src/main.rs:235:18 [INFO] [stdout] | [INFO] [stdout] 235 | pub async fn ws_connect_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `softwareName` should have a snake case name [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | softwareName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `software_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `iconUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | iconUrl: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `icon_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `faviconUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | faviconUrl: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `favicon_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `themeColor` should have a snake case name [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | themeColor: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `theme_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createdAt` should have a snake case name [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | createdAt: Date, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.47s [INFO] running `Command { std: "docker" "inspect" "edc9851f6a0a3c2758d49f3ca1b2afbc3e5e8c3ed6046c61e7c12ab8b85c7997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc9851f6a0a3c2758d49f3ca1b2afbc3e5e8c3ed6046c61e7c12ab8b85c7997", kill_on_drop: false }` [INFO] [stdout] edc9851f6a0a3c2758d49f3ca1b2afbc3e5e8c3ed6046c61e7c12ab8b85c7997